use absolute execname when we can in pbc_to_exe

Before this patch it used ARGV[0], which only contains a name like 'perl6'
but not the path to the binary, when this binary is executed as 'perl6'
and found in PATH.
Now it will try to resolv the absolute path to the binary for certain
platforms and will fall back to ARGV[0] if that fails or if the platform
is not supported.
memcpy the correct string length
Merge pull request #1088 from FROGGS/master

use absolute execname when we can in pbc_to_exe
pbc_to_exe: add unistd.h and ChangeLog

GH #1088
[test] Update Pod::Simple to 3.28

fixes missing whiteline_handler method.
add =encoding handling.

GH #1089
[codingstd] fix various pod syntax errors

These errors arose with the updated Pod::Simple/Checker, added with GH #1089
[codingstd] fix GH #1090 5.8 crashes with DEBUGGING

3 =~ ///gsx substs cause perl5.8 with to crash at
t/codingstd/c_enum.t,
t/codingstd/c_macro_args.t and
t/codingstd/c_cppcomments.t when DEBUGGING is enabled.

Skip those tests then.
[codingstd] podchecker on new Pod/Simple/Search

fixes 2 podchecker errors
ChangeLog cleanup 6.8.0
[tools] declare _NSGetExecutablePath on APPLE for pbc_to_exe
Prepare for the 6.8.0 release.
[native_pbc] update fingerprints

to avoid TODO tests.
$ perl tools/dev/pbc_header.pl --update-fingerprint t/native_pbc/*.pbc
should be part of the release process.
[tools] include <sys/sysctl.h> for pbc_to_exe on FreeBSD

While compiling pbc_to_exe I got errors like
pbc_to_exe.c:1301:22: error: use of undeclared identifier 'CTL_KERN'
(probably after commit 3c00e7e19969971383e50fb58d31ace46a702828

Including sys/sysctl.h on FreeBSD solves that problem.

Signed-off-by: Reini Urban <rurban@cpanel.net>
Add specific platform encoding functions for FreeBSD, OpenBSD and NetBSD

Supports ASCII, UTF-8 and Latin-1 locales;
Uses slightly adjusted version of the linux-specific encoding functions

Signed-off-by: Reini Urban <rurban@cpanel.net>
[cage] Fixup BSD encodings with UTF8, build-system integration

ChangeLog, MANIFEST, Makefile, Copyright dates.
Closes pull request #1092
Merge branch 'smoke-me/bsd-encodings-gh1092'

Smoked fine
[test] no gc-debug runcore when testing the fast runcore

With make fulltest and variants (t/fullharness) we omit -D040 and --gc-debug
when testing -f -O1 -O2 and the various set_usual_target() tests.
This caught some -O1/-O2 errors and speeds up the fulltest suite.
We only need to run a full GC after each op and randomize the N/I regs with the
normal internal testsuite, but not the extensions and various other tests.

See [GH #1086]

Current errors:
  testO1__t/op/calling.t, testO2__t/op/calling.t,
  testO2__t/compilers/imcc/syn/regressions.t
[test] adjust bad -O1/-O2 test regex

with the new fullharness settings there is no space before -O1 anymore.
Fixes GH #1086