Jess Robinson [Thu, 31 Jan 2013 14:12:31 +0000 (14:12 +0000)]
Makefile.SH: 'make test' for cross-compilation builds.
Along with the previous commit, this enables us to run 'make test'
on the host and have the tests run on the target. We do this by
calling ./Cross/run ./TEST with -cwd $targetdir/t, and setting its
LD_LIBRARY_PATH to $targetdir, so that libperl.so is found.
Jess Robinson [Thu, 31 Jan 2013 14:12:31 +0000 (14:12 +0000)]
Makefile.SH: When cross-compiling, copy the files needed by make test.
This is groundwork to enable us to do this:
$ make
$ make test
on the host, and have the test suite be run on the target.
Currently this list of files is hand-maintained.
Brian Fraser [Fri, 11 Oct 2013 16:22:17 +0000 (13:22 -0300)]
Configure: Teach run-ssh to handle -env
Brian Fraser [Fri, 9 Aug 2013 05:56:18 +0000 (02:56 -0300)]
Configure: Pass the -r flag to scp when cross-compiling
Jess Robinson [Fri, 18 Jan 2013 15:54:51 +0000 (15:54 +0000)]
Use HOST_PERL instead of built perl for perl installation
HOST_PERL is often set while cross compiling, so we can run the
install from the host machine.
Jess Robinson [Fri, 18 Jan 2013 15:46:10 +0000 (15:46 +0000)]
Use the system perl for RUN_PERL, if we are cross compiling, and we found one.
Note we can only substitute the system perl for scripts that do not require Config
as it complains about non-matching Perl versions.
Brian Fraser [Wed, 13 Nov 2013 05:48:59 +0000 (02:48 -0300)]
Makefile.SH: Updated the lib/buildcustomize.pl rule for cross-compilation builds
Jess Robinson [Sat, 29 Dec 2012 21:32:30 +0000 (21:32 +0000)]
write_buildcustomize.pl: Setup $^O to be the target os when building Core.
This allows the correct hints files to be loaded when building modules
We do this by giving write_buildcustomize.pl a 'osname' parameter.
This means that write_buildcustomize.pl no longer depends on
Config to get osname, which eliminates a circular dependency
in the Makefiles.
Jess Robinson [Tue, 15 Jan 2013 10:40:08 +0000 (10:40 +0000)]
configpm should use "osname" from config.sh, instead of miniperl's $^O.
This is necessary when cross-compiliing, as we use a host (mini)perl to
run configpm for the target arch; so for example, miniperl's $^O
might be 'linux', but config.sh's osname can be 'qnx'.
Jess Robinson [Wed, 9 Jan 2013 10:43:42 +0000 (10:43 +0000)]
Run all the miniperl calls locally, not via RUN
Jess Robinson [Fri, 4 Jan 2013 10:47:48 +0000 (10:47 +0000)]
Build host miniperl and generate_uudmap binaries when cross compiling, for local use
Jess Robinson [Wed, 2 Jan 2013 14:55:59 +0000 (14:55 +0000)]
Stop using Config{run} to check the version of (mini)perl we are running
Jess Robinson [Sat, 29 Dec 2012 21:29:50 +0000 (21:29 +0000)]
Stop using $run for anything other than testing compiled tests in Configure.
When cross-compiling we want to run miniperl etc on the compile host, not the test target
Jess Robinson [Thu, 17 Jan 2013 11:45:13 +0000 (11:45 +0000)]
Update AUTHORS and MANIFEST to appease test_porting
Neil Williams [Sat, 12 Jan 2013 13:23:00 +0000 (13:23 +0000)]
fix the ability to use targethost when defined.
Neil Williams [Fri, 11 Jan 2013 17:01:22 +0000 (17:01 +0000)]
add an escape for when targethost is not defined but usecrosscompile is.
See http://www.nntp.perl.org/group/perl.perl5.porters/2012/12/msg196443.html
"Cross-building and Makefile.SH", which explains the reasoning for this.
Jess Robinson [Sat, 29 Dec 2012 21:23:01 +0000 (21:23 +0000)]
Configure: Set to/from/run scripts if targethost is passed
Do this regardless of whether we are cross compiling
Jess Robinson [Sat, 29 Dec 2012 21:23:01 +0000 (21:23 +0000)]
Configure: Split the usecrosscompile section from the to/from/run section
Beyond organization, this also makes sure that usecrosscompile is
always set to undef if we're not cross-compiling, which enables
code to realibly use $Config{usecrosscompile} to check for a
cross-compiling perl.
H.Merijn Brand [Wed, 22 Jan 2014 13:29:06 +0000 (14:29 +0100)]
restore missed commit in regeneration (spotted by hugmeir)
H.Merijn Brand [Wed, 22 Jan 2014 11:28:57 +0000 (12:28 +0100)]
Regenerate from meta after backporting crosscompile changes
I am sure there are items that could have been processed even cleaner,
but with the current state, the content is functional equal.
Tony Cook [Wed, 22 Jan 2014 05:41:22 +0000 (16:41 +1100)]
perldelta for
c91312d5e, none needed for
e214621be
Tony Cook [Wed, 22 Jan 2014 05:33:17 +0000 (16:33 +1100)]
[perl #120977] use warnings "FATAL" implies "all"
Tony Cook [Wed, 22 Jan 2014 05:31:49 +0000 (16:31 +1100)]
[perl #120977] bump $warnings::VERSION
Hauke D [Sun, 12 Jan 2014 23:50:51 +0000 (00:50 +0100)]
assume "all" in "use warnings 'FATAL';" and related
Until now, the behavior of the statements
use warnings "FATAL";
use warnings "NONFATAL";
no warnings "FATAL";
was unspecified and inconsistent. This change causes them to be handled
with an implied "all" at the end of the import list.
Tony Cook: fix AUTHORS formatting
Hauke D [Sun, 12 Jan 2014 23:46:03 +0000 (00:46 +0100)]
add a missing word in perllexwarn
Brian Fraser [Wed, 22 Jan 2014 01:46:10 +0000 (22:46 -0300)]
PerlIO_tmpfile: Don't leak an SV
This was spotted by Daniel Dragan on the thread for #120591
Brian Fraser [Wed, 22 Jan 2014 01:45:17 +0000 (22:45 -0300)]
perlio.c, PerlIO_tmpfile: Fall back to cwd if we have no /tmp or $TMPDIR
With this, open($fh, undef) will now work on systems without
a /tmp (or equivalent) where TMPDIR is not set.
Brian Fraser [Sat, 18 May 2013 02:13:55 +0000 (23:13 -0300)]
sv.c, Perl_dirp_dup: Skip the fchdir sections if telldir and seekdir are not defined
Chris 'BinGOs' Williams [Tue, 21 Jan 2014 14:57:36 +0000 (14:57 +0000)]
Update Scalar-List-Utils to CPAN version 1.37
[DELTA]
1.37 -- 2014/01/21 14:44:34
[BUGFIXES]
* Fix unweaken() for perls < 5.14; need to use sv_setsv() to undef
rather than sv_clear() (RT92226)
Chris 'BinGOs' Williams [Tue, 21 Jan 2014 14:56:42 +0000 (14:56 +0000)]
version and Module-CoreList are up to date with CPAN
Ricardo Signes [Mon, 20 Jan 2014 23:40:16 +0000 (18:40 -0500)]
document $^P's 0x800 and 0x1000
these were introduced in
c30d8139e
Ricardo Signes [Mon, 20 Jan 2014 22:36:17 +0000 (17:36 -0500)]
create new perldelta for 5.19.9
Ricardo Signes [Mon, 20 Jan 2014 22:31:27 +0000 (17:31 -0500)]
add the 5.19.8 epigraph
Ricardo Signes [Mon, 20 Jan 2014 22:16:35 +0000 (17:16 -0500)]
fix an epigraph typo
His name is Milo Minderbinder.
He is twenty-seven years old.
Ricardo Signes [Mon, 20 Jan 2014 22:02:44 +0000 (17:02 -0500)]
bump version to 5.19.9!
Ricardo Signes [Mon, 20 Jan 2014 22:01:18 +0000 (17:01 -0500)]
Merge tag 'v5.19.8' into blead
Ninth release of the v5.19 series!
Ricardo Signes [Mon, 20 Jan 2014 20:54:04 +0000 (15:54 -0500)]
perldelta: add the 5.19.8 acknowledgements
David Mitchell [Mon, 20 Jan 2014 14:24:02 +0000 (14:24 +0000)]
rename sTHX to PERL_MEMORY_DEBUG_HEADER_SIZE
Originally this macro evaluated to the size of the THX pointer;
this was used with the memory pool facility to store the context of the
caller of the malloc() for debugging. Later, the header of the malloc()
stored more than just the context, so sTHX became a mismoner.
Rename it to something less misleading.
John Peacock [Fri, 17 Jan 2014 19:43:34 +0000 (14:43 -0500)]
Prevent V-magic from being stripped by locale fix
version/t/00impl-pp.t was failing with locales
See thread beginning
<
20140113132518.GA11721@iabyn.com>
Ricardo Signes [Mon, 20 Jan 2014 12:52:37 +0000 (07:52 -0500)]
perlhist: note that 5.19.8 should be released today
David Mitchell [Mon, 20 Jan 2014 12:03:15 +0000 (12:03 +0000)]
thrreads::shared: LEAVE in BOOT had wrong context
In Perl_sharedsv_init() - which is called from the threads::shared BOOT
code - it creates a new shared interpreter, then tries to undo the ENTER
done as the last step of the perl_construct(PL_sharedsv_space) step, with
a LEAVE. But the LEAVE was being done in the context of the caller
interpreter rather than the shared one.
See the thread beginning <
52D528FE.20701@havurah-software.org>
Tony Cook [Mon, 20 Jan 2014 01:06:47 +0000 (12:06 +1100)]
[perl #121031] fix all of the other incorrect calls to fresh_perl_is()
The third argument to fresh_perl_is()/fresh_perl_like() is treated as
a hashref, passing a string is kind of strange.
Tony Cook [Mon, 20 Jan 2014 00:46:47 +0000 (11:46 +1100)]
[perl #121031] pass a valid value for $runperl_args to fresh_perl_is()
Alternative patch for the problems noticed by Tobias Leich
Tobias Leich [Sat, 18 Jan 2014 19:53:45 +0000 (20:53 +0100)]
fix splice+isa test that got mangled when making splice.t use test.pl
See
ce6d40e02d52b9152b44a5fc2180efda15a7d069
Ævar Arnfjörð Bjarmason [Sun, 19 Jan 2014 16:45:13 +0000 (16:45 +0000)]
pod/perllexwarn.pod: clarify note about the "deprecated" category
Saying that something used to behave a certain way "In Perl 5.6.1" can
be understood as it changing in 5.6.2, but in fact this change to the
"deprecated" category in perl-5.6.0-8156-g12bcd1a was never released in
any 5.6.* release, it was first released in 5.8.0.
So note that explicitly instead, it's less ambiguous to just say "Before
Perl 5.8.0".
Ricardo Signes [Sun, 19 Jan 2014 15:34:50 +0000 (10:34 -0500)]
perldelta: update module changes
used Porting/corelist-perldelta.pl! thanks Abir Viqar and
Steve Hay!
Ricardo Signes [Sun, 19 Jan 2014 15:28:54 +0000 (10:28 -0500)]
update Module::CoreList
Ricardo Signes [Sun, 19 Jan 2014 15:13:50 +0000 (10:13 -0500)]
update latest copyright year to 2014
Ricardo Signes [Sun, 19 Jan 2014 15:11:50 +0000 (10:11 -0500)]
perldelta: prune unused sections and markers
Ricardo Signes [Sun, 19 Jan 2014 15:07:01 +0000 (10:07 -0500)]
Ricardo Signes [Sun, 19 Jan 2014 14:38:54 +0000 (09:38 -0500)]
perldelta for addition of IO-Socket-IP
Ricardo Signes [Sun, 19 Jan 2014 14:33:13 +0000 (09:33 -0500)]
tentatively import IO-Socket-IP for consideration
Ricardo Signes [Sun, 19 Jan 2014 13:24:20 +0000 (08:24 -0500)]
fix broken perl5197delta
Father Chrysostomos [Sun, 19 Jan 2014 05:50:13 +0000 (21:50 -0800)]
Father Chrysostomos [Sun, 19 Jan 2014 05:49:06 +0000 (21:49 -0800)]
Father Chrysostomos [Sun, 19 Jan 2014 03:16:55 +0000 (19:16 -0800)]
[perl #119949] Stop undef *_, goto &sub from crashing
Commit
049bd5ffd62b fixed problems with the wrong @_ being visible
after *_ modification followed by goto. In so doing, it made it
possible for a null to be placed at the start of the target sub’s
pad, because it was not checking that the array it got from PL_defgv
was actually non-null. Simply adding the check makes everything work.
Father Chrysostomos [Sun, 19 Jan 2014 01:58:52 +0000 (17:58 -0800)]
[perl #119973] Treat initial { in format args as block
Commit
705fe0e5f8a inadvertently caused the hash-vs-block disambigua-
tion to apply at the beginning of a format argument line. This commit
restores the implicit ‘do’, but only when the opening brace is the
first token on that line, not embedded within an expression.
In other words, this now has a block as before:
format =
{ foo => "bar" }
.
but this still produces a hash (in 5.16 it was a block):
format =
+{ foo => "bar }
.
Father Chrysostomos [Sun, 19 Jan 2014 01:07:33 +0000 (17:07 -0800)]
Use ASSUME in op.c:newBINOP
This causes op.o to drop by 56 bytes for me under clang.
Father Chrysostomos [Sun, 19 Jan 2014 01:35:40 +0000 (17:35 -0800)]
diag.t: More exceptions
Father Chrysostomos [Sun, 19 Jan 2014 01:32:29 +0000 (17:32 -0800)]
regen customized.dat
Father Chrysostomos [Sun, 19 Jan 2014 01:31:50 +0000 (17:31 -0800)]
Maintainers.pl: vutil.c is not customized any moer
John Peacock [Sun, 19 Jan 2014 00:25:52 +0000 (19:25 -0500)]
Explicit ENTER/LEAVE block for upg_version
John Peacock [Sun, 12 Jan 2014 16:19:53 +0000 (11:19 -0500)]
Lots of C optimizations for both speed/correctness
Clean up a lot of the less efficient uses of various Perl
macros and functions, mostly from bulk88@hotmail.com. Also
deal with the fact that older Perl's were not handling locale
setting in a consistent manner. This means going back to the
less efficient but always correct method of ALWAYS copying the
old locale and switch to C and then restoring, for all Perl
releases prior to 5.19.0. Discontinue support for Perl's prior
to v5.6.2.
Craig A. Berry [Sat, 18 Jan 2014 19:27:57 +0000 (13:27 -0600)]
Make runperl normalize newlines with multiple output lines.
On VMS only, because rarely but occasionally (such as with
perl5db.t) runperl produces multiple lines of output and they
all need the same treatment.
Craig A. Berry [Sat, 18 Jan 2014 19:22:25 +0000 (13:22 -0600)]
Fix perl5db.t test 41 on VMS.
We're getting newlines in between items, and the easiest way to
deal with it is make them explicit so we expect what we're getting
and it's done the same everywhere.
Brian Fraser [Fri, 26 Apr 2013 07:10:16 +0000 (04:10 -0300)]
ext/POSIX/t/time.t: Conditionalize the use of setlocale/LC_TIME
On Android, all locales are simply disabled, which broke the assumption
that LC_TIME is always available.
Brian Fraser [Sat, 18 May 2013 00:56:00 +0000 (21:56 -0300)]
t/op/threads-dirh.t: Only test telldir and seekdir if they are available
Brian Fraser [Thu, 16 May 2013 09:34:17 +0000 (06:34 -0300)]
t/op/getpid.t: Silence undef warnings if getconf doesn't exist.
If a platform has getppid() but not getconf and we're building a
threaded perl, this file would've shown undef warnings, although
no tests were affected.
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000 (12:08 +0100)]
t/op/magic.t: Comment for an unlink test
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000 (12:08 +0100)]
t/run/switches.t: Skip setlocale tests if !d_setlocale
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000 (12:08 +0100)]
t/op/taint.t: Skip crypt tests if !d_crypt
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000 (12:08 +0100)]
t/lib/warnings/9uninit: Skip crypt tests if !d_crypt
Brian Fraser [Sat, 18 Jan 2014 13:03:00 +0000 (10:03 -0300)]
DynaLoader: Pure-perl mod2fname shouldn't use %Config at runtime
This is somewhat obscure. Previously, mod2fname would've tried
accessing $Config{dlext} each time it was called. The reason this
can be problematic is that mod2fname can be called during global destruction,
after %Config is freed but before its magic is. This was causing
Devel::GlobalDestruction's tests to fail on builds with -Dd_libname_unique.
This commit grabs the data we need when DynaLoader.pm is being built in
DynaLoader_pm.PL, so it no longer need to depend on %Config.
Father Chrysostomos [Sat, 18 Jan 2014 13:52:08 +0000 (05:52 -0800)]
Increase $Hash::Util::FieldHash::VERSION to 1.14
Father Chrysostomos [Sat, 18 Jan 2014 13:47:22 +0000 (05:47 -0800)]
Hash::Util::FieldHash: fix broken pod link
Father Chrysostomos [Sat, 18 Jan 2014 13:44:17 +0000 (05:44 -0800)]
Increase $threads::shared::VERSION to 1.46
Father Chrysostomos [Sat, 18 Jan 2014 13:42:03 +0000 (05:42 -0800)]
perldelta typo
Father Chrysostomos [Sat, 18 Jan 2014 13:36:52 +0000 (05:36 -0800)]
threads::shared: Don’t link to moving targets
The Scalar::Util documentation has changed, so the links are broken.
But we cannot just update the link targets, as threads::shared is
living a double life and may be installed along with an older
Scalar::Util.
Father Chrysostomos [Sat, 18 Jan 2014 01:39:38 +0000 (17:39 -0800)]
perldiag: Rewrap autoderef entries
for better splain output
Father Chrysostomos [Sat, 18 Jan 2014 01:32:17 +0000 (17:32 -0800)]
perldelta for
88c342510b9
Father Chrysostomos [Sat, 18 Jan 2014 01:28:56 +0000 (17:28 -0800)]
Craig A. Berry [Sat, 18 Jan 2014 03:46:08 +0000 (21:46 -0600)]
Mention perlbug -p in perlhack.
Using git's --attach with perlbug -f actually mangled the patches,
making them harder to apply, but now we have a better way to do it.
Craig A. Berry [Sat, 18 Jan 2014 00:04:58 +0000 (18:04 -0600)]
perldelta for perlbug changes.
Craig A. Berry [Wed, 1 Jan 2014 18:31:02 +0000 (12:31 -0600)]
Make perlbug Unicode-aware.
Try to do input in whatever the locale wants and output raw in
hopes that will best survive mail transport.
Except when reading in a patch file, we'll also use raw for input
because there may be multiple encodings in the patch, and we'll
also use raw for input when reading in the report file that we've
written out raw.
We attempt to detect the locale encoding using the private and
undocumented _get_locale_encoding() function of the deprecated
encoding pragma module. But it's what the open pragma does and
we protect ourselves by checking that it's available and falling
back to an empty layer specification ("<:") if we can't load that
function. That should also give us something workable when there
is no dynamic loading, such as under miniperl.
Craig A. Berry [Sat, 16 Nov 2013 02:55:58 +0000 (20:55 -0600)]
Switch perlbug mail sender on VMS.
The VMS mail utility can't do attachments because it always adds
a blank line in front of any headers you add. So use the Send
From File utility, which has been documented and supported for
any release in the last decade and was latently present before
that.
It takes the whole message verbatim just like sendmail, but also
needs the envelope prepended.
Craig A. Berry [Sun, 10 Nov 2013 00:42:57 +0000 (18:42 -0600)]
Add perlbug -p option for attaching patches.
Log files and other text attachments should also be fine as long
as they aren't big enough to be rejected by RT.
Only text attachments are supported, as other kinds would involve
wrestling with myriad MIME types and possibly content transfer
encodings. This should be fine for binary patches, though, as
git format-patch encodes those in Base85, so the patch file itself
is still text.
Father Chrysostomos [Fri, 17 Jan 2014 15:51:23 +0000 (07:51 -0800)]
Father Chrysostomos [Fri, 17 Jan 2014 15:43:08 +0000 (07:43 -0800)]
Brian Fraser [Fri, 17 Jan 2014 16:16:06 +0000 (13:16 -0300)]
Added config.arch to .gitignore
Brian Fraser [Wed, 15 Jan 2014 09:42:35 +0000 (06:42 -0300)]
config.h: Remove the exceptions for cross-compilation builds
This makes it so that the values for MEM_ALIGNBYTES and BYTEORDER
are taken from config.sh, instead of always getting a default.
Brian Fraser [Thu, 16 Jan 2014 11:15:10 +0000 (08:15 -0300)]
INSTALL: Document -Dsysroot
Jess Robinson [Sat, 29 Dec 2012 21:27:13 +0000 (21:27 +0000)]
Add missing $run prefix to some Configure tests
Jess Robinson [Tue, 15 Jan 2013 10:26:22 +0000 (10:26 +0000)]
Introduce $targetport to allow running on a non-standard ssh port
Such as when using user networking on qemu and redirecting a local port
to the emulator ssh
Jess Robinson [Thu, 31 Jan 2013 14:12:31 +0000 (14:12 +0000)]
Store the targetdir, targethost from Configure in config.sh for later.
Jess Robinson [Tue, 15 Jan 2013 10:26:22 +0000 (10:26 +0000)]
Configure: Remove "was file copied" check using run-ssh
This doesn't seem to be of much use.
Brian Fraser [Tue, 19 Nov 2013 12:16:11 +0000 (09:16 -0300)]
Configure: If using targetarch, the computed binaries should stick
Brian Fraser [Mon, 13 Jan 2014 07:22:02 +0000 (04:22 -0300)]
Configure: Don't skip the alignbytes test when crosscompiling
Brian Fraser [Mon, 13 Jan 2014 05:03:16 +0000 (02:03 -0300)]
Configure: Add $run to two tests
Brian Fraser [Mon, 13 Jan 2014 05:00:43 +0000 (02:00 -0300)]
Configure: use $sysroot, if available, in checkccflags
If the user specified -Dsysroot but we don't use it, then the results can
be entirely off.
This also introduces an internal variable for Configure, _sysroot,
which is just "--sysroot=$sysroot", for use in places like checkccflags that
need --sysroot but don't need the other flags.
Brian Fraser [Sat, 11 Jan 2014 05:54:03 +0000 (02:54 -0300)]
Configure: No need to skip the byteorder test when cross-compiling.
This skip was added in 2001, but under the current model there's no
real reason to skip it.