This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig.git
8 years agoprobe in Configure whether dtrace builds an object
Aaron Crane [Thu, 21 Apr 2016 11:55:30 +0000 (12:55 +0100)]
probe in Configure whether dtrace builds an object

backport of:

commit c2538af7458bf317cdc7bc684f65831744010d80
Author: Tony Cook <tony@develop-help.com>
Date:   Wed Mar 9 11:54:13 2016 +1100

    [perl #122287] probe in Configure whether dtrace builds an object

    When building the object file, newer versions of dtrace (on Illumos
    based systems at least) require an input object file that uses
    at least one of the probes defined in the .d file.

    The test in Makefile.SH didn't provide that definition so the test
    would fail, and not build an object file, and fail to link later on,
    on systems that *do* need the object file.

    Moved the probe to Configure (where it probably belongs) and supplied
    an object file that uses a probe.

    Tested successfully on OmniOS (with the new dtrace), Solaris 11,
    and darwin.

commit 5fa8e144165a5c086facccf35630b9c4a781c4ad
Author: David Mitchell <davem@iabyn.com>
Date:   Fri Mar 18 23:29:44 2016 +0000

    Configure: silence 'dtrace -G' probe

    When built with -Dusedtrace, Configure checks to see whether 'dtrace -G'
    is supported, by running it. If it fails, it may spew error messages
    to stderr, so use >/dev/null 2>&1.

8 years ago[UTIL] Scan each file max once
H.Merijn Brand - Tux [Thu, 21 Apr 2016 11:44:41 +0000 (13:44 +0200)]
[UTIL] Scan each file max once

8 years agoIt does not work in SysV (solaris) or old BSD greps.
H.Merijn Brand - Tux [Thu, 21 Apr 2016 11:35:36 +0000 (13:35 +0200)]
It does not work in SysV (solaris) or old BSD greps.

Even though -q is POSIX, that does not guarantee succes

Backport of e244340e4067bb332773529bbff797bd14f103de
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date:   Wed Dec 16 20:19:03 2015 -0500

    Configure: grep -q is not portable

    It does not work in SysV (solaris) or old BSD greps.

8 years agosiginfo_si part
H.Merijn Brand - Tux [Thu, 21 Apr 2016 11:30:09 +0000 (13:30 +0200)]
siginfo_si part

Backport of commit 6e72ca7018e96d54b93ca8c41f8033a1f9c2e874
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date:   Tue Mar 1 19:56:04 2016 -0500

    amigaos4: no sigaction, no si fields

8 years agosilence some try.c warnings
H.Merijn Brand - Tux [Thu, 21 Apr 2016 11:18:45 +0000 (13:18 +0200)]
silence some try.c warnings

Backport from cc0bf92f2c5d6a67a850efa7d21a5a83e016d446
Author: David Mitchell <davem@iabyn.com>
Date:   Mon Mar 14 16:49:05 2016 +0000

    Configure: silence some try.c warnings

    On one of the try.c compilations, redirect stderr to /dev/null, since
    the code can legitimately warn without there being a problem.

    The try.c in question is probing for what symbols the compiler supports.
    The clang extensions __has_include and __has_include_next are designed
    only to be used in .h files, so they warn if used from try.c

8 years agoConfigure: gcc 5 exists.
H.Merijn Brand - Tux [Thu, 21 Apr 2016 11:12:14 +0000 (13:12 +0200)]
Configure: gcc 5 exists.

Backport of 11c0dec80e86a2efeef002853ab7f0e12199f729
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date:   Sun Nov 15 19:45:06 2015 -0500

    Configure: gcc 5 exists.

    (cherry picked from commit 0632167b5a653661f48c9e38df6aa76b544d4079)

8 years agoProbe for and expose more fields for SA_SIGINFO
H.Merijn Brand - Tux [Thu, 21 Apr 2016 10:58:11 +0000 (12:58 +0200)]
Probe for and expose more fields for SA_SIGINFO

Backport of cdfe2e65ec1960d301d083bee421388e064cd234
Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Date:   Tue Jan 12 14:47:07 2016 +0000

    Probe for and expose more fields for SA_SIGINFO

    These are all specified by POSIX/SUSv3, but not all platforms have them,
    as mentioned in POSIX.pm.

    We can only test the pid, uid and code fields, since they are the only
    ones that are defined for a user-sent signal.

8 years agoPorting/Glossary: fix a set of typos
Aaron Crane [Thu, 21 Apr 2016 09:57:21 +0000 (10:57 +0100)]
Porting/Glossary: fix a set of typos

A few descriptions of floating-point formats included the word "big" before
the actual endianness.

backport of aaca660c731cd2a7c43471241fd380e082a05f57

8 years agoensure alignbytes is correct for -Dusequadmath
Aaron Crane [Thu, 21 Apr 2016 09:12:46 +0000 (10:12 +0100)]
ensure alignbytes is correct for -Dusequadmath

backport of ab462c7d2da3570ffe26e717642be96cccef8b23

8 years agoRemove nm from libswanted
H.Merijn Brand - Tux [Wed, 20 Apr 2016 19:26:10 +0000 (21:26 +0200)]
Remove nm from libswanted

Backport of 9a427118a27dce49b50e2c7d619b9f5aa048101d

8 years agodist/meta moved to github \o/ \o/
H.Merijn Brand - Tux [Fri, 1 Apr 2016 10:07:04 +0000 (12:07 +0200)]
dist/meta moved to github \o/ \o/

8 years agoAdd probe for memmem
H.Merijn Brand - Tux [Sat, 26 Mar 2016 08:31:23 +0000 (09:31 +0100)]
Add probe for memmem

8 years agoAdd Configure probes for newlocale, freelocale, and uselocale
H.Merijn Brand - Tux [Sat, 19 Mar 2016 14:37:43 +0000 (15:37 +0100)]
Add Configure probes for newlocale, freelocale, and uselocale

8 years agoAdd unit to detect fdclose(), introduced in FreeBSD.
Andy Dougherty [Sun, 3 Jan 2016 22:49:34 +0000 (17:49 -0500)]
Add unit to detect fdclose(), introduced in FreeBSD.

8 years agoBackporting work on AmigaOS
H.Merijn Brand - Tux [Sat, 10 Oct 2015 13:24:49 +0000 (15:24 +0200)]
Backporting work on AmigaOS

With an additional fix for bad commit 683e3b31e8b72ccea0ba577bdee2bc58caa738ad

Serious problem with the change to Configure itself is that a case/esac
was added that span TWO metaunits, so both had to get it. I don't know
if adding the LINT:extern in Signal.U is safe enough

8 years agoConsistently use -o a.out (spotted by Ivan Pozdeev)
H.Merijn Brand - Tux [Thu, 30 Jul 2015 08:46:03 +0000 (10:46 +0200)]
Consistently use -o a.out (spotted by Ivan Pozdeev)

8 years agoThere is no default dflt for usedtrace (spotted by Ivan Pozdeev)
H.Merijn Brand - Tux [Thu, 30 Jul 2015 08:30:30 +0000 (10:30 +0200)]
There is no default dflt for usedtrace (spotted by Ivan Pozdeev)

8 years agodescription swap
H.Merijn Brand - Tux [Mon, 6 Jul 2015 13:55:17 +0000 (15:55 +0200)]
description swap

8 years agoTwo nits not show by mlint
H.Merijn Brand - Tux [Mon, 6 Jul 2015 07:38:40 +0000 (09:38 +0200)]
Two nits not show by mlint

8 years agoinfnan: move the mantbits definitions from perl.h to Configure
H.Merijn Brand - Tux [Mon, 6 Jul 2015 07:28:27 +0000 (09:28 +0200)]
infnan: move the mantbits definitions from perl.h to Configure

Backport of 5a14060af165c24c63cfc5d5f4d2aeb52cc41a03

8 years agoinfnan: Configure scan for fp mantissa bytes
H.Merijn Brand - Tux [Mon, 6 Jul 2015 07:22:23 +0000 (09:22 +0200)]
infnan: Configure scan for fp mantissa bytes

backport of ed3917fd69b234bb5614cb9aed93d62238e3dcb8

8 years agoinfnan: Configure scan for infnan bytes
H.Merijn Brand - Tux [Mon, 6 Jul 2015 07:08:55 +0000 (09:08 +0200)]
infnan: Configure scan for infnan bytes

backport 44521f3a1782026b7d25cc55af459c3e28cc9bdd with fixes

8 years agoCreate try.c afresh for pointersize test
H.Merijn Brand - Tux [Mon, 6 Jul 2015 06:30:56 +0000 (08:30 +0200)]
Create try.c afresh for pointersize test

9 years agoInhibit the use of \ in -D arguments
H.Merijn Brand - Tux [Sun, 19 Apr 2015 08:56:12 +0000 (10:56 +0200)]
Inhibit the use of \ in -D arguments

9 years agoConfigure: add note about nvsize sometimes lying
H.Merijn Brand - Tux [Fri, 6 Mar 2015 12:40:14 +0000 (13:40 +0100)]
Configure: add note about nvsize sometimes lying

Lying in case you expect that many bytes being used for NV.

Backport of 0cd93aca4e274765289e9e01d34c4a5dcf06df1c
Author: Jarkko Hietaniemi <jhi@iki.fi>  2015-03-02 13:00:33

9 years agoMissing Configure messages.
H.Merijn Brand - Tux [Fri, 6 Mar 2015 12:33:17 +0000 (13:33 +0100)]
Missing Configure messages.

(The scans have been happening, the echo case branches were missing.)

Backport of e11fa374c86b187ae1e8382680d49e2e44abf1bb
Author: Jarkko Hietaniemi <jhi@iki.fi>  2015-02-25 13:51:53

9 years agouname -r works on MINIX as well
H.Merijn Brand - Tux [Mon, 16 Feb 2015 09:07:12 +0000 (10:07 +0100)]
uname -r works on MINIX as well

Backport of 0cf583b0808e2fb2ac90751d506f2b8ff75aed86

9 years agoAdd lrintl, llrintl, lroundl, and llroundl probes
H.Merijn Brand - Tux [Mon, 16 Feb 2015 08:59:43 +0000 (09:59 +0100)]
Add lrintl, llrintl, lroundl, and llroundl probes

Backport of bc580dd327b37b38d4f66d5c335b3e9fc12eaac8 with some small
document changes

9 years agoPut pthread in front of libswanted and add cl
H.Merijn Brand - Tux [Mon, 5 Jan 2015 11:31:45 +0000 (12:31 +0100)]
Put pthread in front of libswanted and add cl

If pthread is found on HP-UX, it is required to be in front and
libcl is required too

9 years agosilence ASan warnings
H.Merijn Brand - Tux [Wed, 31 Dec 2014 12:07:08 +0000 (13:07 +0100)]
silence ASan warnings

Backport of
commit a5ba819fc61657341addc515e13a09c715b9597d
Author: David Mitchell <davem@iabyn.com>
Date:   Mon Dec 22 21:36:14 2014 +0000

    Configure: silence ASan warnings

    When run under -fsanitize=undefined, some of the try.c's that are compiled
    and executed give runtime warnings. Since the intent of these particular
    executables is to probe beyond certain limits in order to determine those
    limits, these warnings can be safely ignored.  So file them in /dev/null.

9 years agoPerl 5 on Haiku - libperl.so not found installing out of standard location
H.Merijn Brand - Tux [Wed, 24 Dec 2014 20:07:47 +0000 (21:07 +0100)]
Perl 5 on Haiku - libperl.so not found installing out of standard location

Patch by Leon, checked by Dan Collins

9 years agoadd pthread to libswanted
H.Merijn Brand - Tux [Thu, 11 Dec 2014 17:25:55 +0000 (18:25 +0100)]
add pthread to libswanted

9 years agosilence debug output (from v5.21.6-239-g31b42f2)
H.Merijn Brand - Tux [Wed, 3 Dec 2014 13:56:48 +0000 (14:56 +0100)]
silence debug output (from v5.21.6-239-g31b42f2)

9 years agoGlossary updates
H.Merijn Brand - Tux [Sun, 23 Nov 2014 17:27:40 +0000 (18:27 +0100)]
Glossary updates

d_cbrt also changed upstream

9 years agoGet in the last bunch of Configure changes
H.Merijn Brand - Tux [Thu, 20 Nov 2014 15:21:57 +0000 (16:21 +0100)]
Get in the last bunch of Configure changes

Also bring config_h.SH in sync

9 years agoBackport all of Jarkko's new (math) function probes
H.Merijn Brand - Tux [Tue, 18 Nov 2014 21:14:15 +0000 (22:14 +0100)]
Backport all of Jarkko's new (math) function probes

next are the other changes and checks on Glossary and config_h.SH

9 years agoHeader change
H.Merijn Brand - Tux [Tue, 18 Nov 2014 14:16:06 +0000 (15:16 +0100)]
Header change

Asked for more specific description by Debian
Agreed by Rafael (note the text above):
--8<---
Of course, that is just fine since a pointer to the original distribution
is kept, whilst mentioning the specific derived version Perl uses!

Thanks for double-checking though!

Raphael
-->8---

9 years agoAlso add all utilities for building from units to repo
H.Merijn Brand - Tux [Wed, 1 Oct 2014 06:08:08 +0000 (08:08 +0200)]
Also add all utilities for building from units to repo

PLEASE do NOT modify these in the repo, as that will break MY builds.
I only moved them here to have all readily available

Note that some still need manual change if used locally
• mconfig
• metaconfig
• metagrep
• metalint
• metaxref
• mlint
• packinit
• patcil
• patpost
• patsend

9 years agoAdd the files from dist/meta to perl's repo
H.Merijn Brand - Tux [Wed, 1 Oct 2014 06:00:30 +0000 (08:00 +0200)]
Add the files from dist/meta to perl's repo

In order to make the "shared" files from meta/dist readily available
in the perl distribution sources, include them in git

9 years agoConfigure: scan for truncl.
H.Merijn Brand - Tux [Wed, 10 Sep 2014 06:29:44 +0000 (08:29 +0200)]
Configure: scan for truncl.

(C99 version of aintl)

backport of 4842dad7c256d1564348893cff3bfed08dadcbe4
Author: Jarkko Hietaniemi <jhi@iki.fi>  2014-09-07 03:55:03

Plus a missed copy/paste error

9 years agoWe do *not* want to use mconfig from mono-web :(
H.Merijn Brand - Tux [Sat, 6 Sep 2014 19:51:36 +0000 (21:51 +0200)]
We do *not* want to use mconfig from mono-web :(

9 years agoremove trailing whitespace
H.Merijn Brand - Tux [Sat, 6 Sep 2014 19:50:58 +0000 (21:50 +0200)]
remove trailing whitespace

9 years agoprctl needs unistd on Android
H.Merijn Brand - Tux [Sat, 6 Sep 2014 19:42:40 +0000 (21:42 +0200)]
prctl needs unistd on Android

9 years agoBackport all of Jarkko's hard work
H.Merijn Brand - Tux [Sat, 6 Sep 2014 19:42:12 +0000 (21:42 +0200)]
Backport all of Jarkko's hard work

9 years agoIf this format ever happens, it is probably left-aligned.
H.Merijn Brand - Tux [Wed, 3 Sep 2014 16:15:47 +0000 (18:15 +0200)]
If this format ever happens, it is probably left-aligned.

Backport of fc0f129beb8db78ea29e976328efbe5df2f7aaf8
Author: Jarkko Hietaniemi <jhi@iki.fi>  2014-08-22 16:56:10

9 years agoDarwin can have libfoo.0.dylib instead of libfoo.dylib.0
H.Merijn Brand - Tux [Wed, 3 Sep 2014 16:04:13 +0000 (18:04 +0200)]
Darwin can have libfoo.0.dylib instead of libfoo.dylib.0

Backport of d98292cc88b8c823e911dca3e59a28b3e3fd6fec
Author: Jarkko Hietaniemi <jhi@iki.fi>  2014-08-22 18:28:00

9 years agoFirst stab at backporting Jarkko's longdoundle work
H.Merijn Brand - Tux [Sun, 17 Aug 2014 20:05:22 +0000 (22:05 +0200)]
First stab at backporting Jarkko's longdoundle work

Also does some cleanups

9 years agoHandle hyphens when searching cpp symbols
H.Merijn Brand - Tux [Sat, 26 Jul 2014 19:39:53 +0000 (21:39 +0200)]
Handle hyphens when searching cpp symbols

Simplified solution to a problem signaled and patched by Brian

This is really just for Android, which in Configure is
known as linux-android; the hyphen is passes as-is to
the preprocessor, which handles it as a minus.

So don't do that.

Original patch was ecd78e215c9b4ab3f3ab71b30e76bbead372a84e
Author: Brian Fraser <fraserbn@gmail.com>  2014-07-25 19:46:41

9 years agoDiscard errors when testing for less -R
H.Merijn Brand - Tux [Sat, 26 Jul 2014 15:12:28 +0000 (17:12 +0200)]
Discard errors when testing for less -R

When we try replacing 'less' with 'less -R', it's possible
that less will output errors if the option is not supported;
this happens, for example, in busybox's less.

Backport of a872f748481d44baa8bc0f6eb29659782c96ba7f
Author: Brian Fraser <fraserbn@gmail.com>  2014-07-25 19:13:26

9 years agocut-n-paste error in comment for dladdr
H.Merijn Brand - Tux [Thu, 17 Jul 2014 12:18:38 +0000 (14:18 +0200)]
cut-n-paste error in comment for dladdr

9 years agoMissed comment removal from NeXT removal
H.Merijn Brand - Tux [Tue, 15 Jul 2014 13:59:25 +0000 (15:59 +0200)]
Missed comment removal from NeXT removal

9 years agoLast missed change from perl
H.Merijn Brand - Tux [Tue, 15 Jul 2014 13:47:55 +0000 (15:47 +0200)]
Last missed change from perl

Should be in sync now

9 years agoSome more cppsymbols to scan.
H.Merijn Brand - Tux [Tue, 15 Jul 2014 13:42:09 +0000 (15:42 +0200)]
Some more cppsymbols to scan.

Weirdly, BYTEORDER/BYTE_ORDER was missing.  Note that  __BYTE_ORDER__
might be '1234' even though longs are 64 bit, since probably the symbol
is used to tell the order in a "word", which still is "int", not "long".
In other words, Perl's BYTEORDER will likely be longer the the cppsymbol.

Gleaned some extra CPUs and OSes from
http://sourceforge.net/p/predef/wiki/Architectures/, though didn't go
all crazy on platforms with many variants like ARM, HPPA, SH.

Backport of c0c84e91ab432db02f9088deea2bbc2389c112cf
Jarkko Hietaniemi <jhi@iki.fi>  2014-06-29 03:38:08

9 years agoANSI prototypes for Berkeley DB API testing.
H.Merijn Brand - Tux [Tue, 15 Jul 2014 13:06:36 +0000 (15:06 +0200)]
ANSI prototypes for Berkeley DB API testing.

So that g++ doesn't go apoplectic.  K&R prototypes in 2014?  Impressive.

Backport of 70849829971b5be9e3df50d5854c923944cae916
Jarkko Hietaniemi <jhi@iki.fi>  2014-06-30 03:10:02

9 years agoIn nonblock test do not ignore the syscall returns.
H.Merijn Brand - Tux [Tue, 15 Jul 2014 13:02:03 +0000 (15:02 +0200)]
In nonblock test do not ignore the syscall returns.

Makes for less whining with warn_unused_result.

Backport of 75e58adc6f06e66e295d5d82bb4e4d14a80f1ae8
Jarkko Hietaniemi <jhi@iki.fi>  2014-06-30 03:02:47

9 years agoAdd -D_FORTIFY_SOURCE=2 when applicable.
H.Merijn Brand - Tux [Tue, 15 Jul 2014 12:53:14 +0000 (14:53 +0200)]
Add -D_FORTIFY_SOURCE=2 when applicable.

Added only if available (gcc 4.*) and not already there.

Not already there might be explicit via ccflags, or less explicitly
via cppsymbols: for example in OS X 10.5+ the -D_FORTIFY_SOURCE=2
is already the default with the system cc (gcc earlier, now clang).

Some Linux distros (e.g. Fedora) also have enabled it for years,
either for all user code, or for their own builds.

Backport of 1284d934d2a3f111f67da43b3004875ce4124284
Jarkko Hietaniemi <jhi@iki.fi>  2014-06-29 00:30:13

plus a bit of more consistent indenting

9 years agosort and fold symbols to 65 chars wide
H.Merijn Brand - Tux [Tue, 15 Jul 2014 12:46:31 +0000 (14:46 +0200)]
sort and fold symbols to 65 chars wide

each new letter starts at a new line

9 years agoRemove MAD.
H.Merijn Brand - Tux [Tue, 15 Jul 2014 12:32:56 +0000 (14:32 +0200)]
Remove MAD.

MAD = Misc Attribute Decoration; unmaintained attempt at preserving
the Perl parse tree more faithfully so that automatic conversion to
Perl 6 would have been easier.

Backport of b5bbe64ad2ec51417ef02ac52304ed45fe37be3f
Jarkko Hietaniemi <jhi@iki.fi>  2014-06-13 21:21:25

9 years agoProtect against ptrdiff_t not being available.
H.Merijn Brand - Tux [Tue, 15 Jul 2014 12:29:23 +0000 (14:29 +0200)]
Protect against ptrdiff_t not being available.

This is primarily for pedantic builds; ptrdiff_t is now standard,
and had already been in use in the core without guards.

Backport of d0b86e2f7c43ab4fc0721d279c46624052695726
Brian Fraser <fraserbn@gmail.com>  2014-05-31 01:10:20

9 years agoRemoved NeXT support
H.Merijn Brand - Tux [Mon, 16 Jun 2014 11:56:37 +0000 (13:56 +0200)]
Removed NeXT support

backport of beab9ebe349dffa8fc22a2912b83f62d2365e594

9 years agoFix USE_CBACKTRACE
H.Merijn Brand - Tux [Wed, 11 Jun 2014 07:34:42 +0000 (09:34 +0200)]
Fix USE_CBACKTRACE

9 years ago[perl #121585] Configure shouldn't write source tree
H.Merijn Brand - Tux [Wed, 11 Jun 2014 07:26:10 +0000 (09:26 +0200)]
[perl #121585] Configure shouldn't write source tree

9 years agoAdd C backtrace API.
H.Merijn Brand - Tux [Wed, 11 Jun 2014 07:18:26 +0000 (09:18 +0200)]
Add C backtrace API.

Backport of 470dd224e4b587137a482c6db3d765860bcba19c
with additional changes

9 years agoRemove date from generated message
H.Merijn Brand - Tux [Wed, 11 Jun 2014 07:11:50 +0000 (09:11 +0200)]
Remove date from generated message

9 years agoevat => eval as found by Tom Hukins
H.Merijn Brand - Tux [Wed, 4 Jun 2014 06:57:59 +0000 (08:57 +0200)]
evat => eval as found by Tom Hukins

9 years agoProbe for working wcscmp and wcsxfrm
H.Merijn Brand - Tux [Mon, 2 Jun 2014 15:12:13 +0000 (17:12 +0200)]
Probe for working wcscmp and wcsxfrm

10 years agoRevert 3ffc8c70ad4af0e7b: remove BOOTSTRAP_CHARSET (khw's request)
H.Merijn Brand - Tux [Sun, 1 Jun 2014 09:39:26 +0000 (11:39 +0200)]
Revert 3ffc8c70ad4af0e7b: remove BOOTSTRAP_CHARSET (khw's request)

10 years agoGet rid of "grep empty(sub)expression" noise.
H.Merijn Brand - Tux [Thu, 29 May 2014 19:52:37 +0000 (21:52 +0200)]
Get rid of "grep empty(sub)expression" noise.

Backport 48a72c671eb9f7f8ec040f42bacfe62436e37ee1

In OS X (and assumedly *BSD) Configure output starts with:

grep empty(sub)expression

apparently because plain 'grep' understands the 'os\(/\|\)2'
somewhat differently (BRE vs ERE, RTFM re_format(7))

Cure: redirect the stderr of grep to stdout (which is then promptly
redirected to /dev/null).  The grep will still fail, and not take
the OS/2 (or DJGPP) branch.

10 years agoSH_PATH should be $targetsh, not $sh
H.Merijn Brand - Tux [Thu, 29 May 2014 16:56:12 +0000 (18:56 +0200)]
SH_PATH should be $targetsh, not $sh

Backport 0b0a0724169ff8771b00d92da1f2d8745c9eceb8

Due to a small oversight, this was reverted in the last metaconfig
update, and was preventing backticks/system/exec/two-arg-pipe-open
from working in some Android devices.

10 years ago-fwrapv is broken prior to 4.3
H.Merijn Brand - Tux [Wed, 9 Apr 2014 10:33:00 +0000 (12:33 +0200)]
-fwrapv is broken prior to 4.3

Googled and patch offered by Zefram

10 years agogcc 4.9 by default does some optimizations that break perl (#121505)
H.Merijn Brand - Tux [Wed, 9 Apr 2014 08:57:21 +0000 (10:57 +0200)]
gcc 4.9 by default does some optimizations that break perl (#121505)

Patch by Tony Cook

10 years agoConfigure misdetects strlcpy et al. with gcc -flto (RT#113022)
H.Merijn Brand - Tux [Sun, 16 Mar 2014 08:53:24 +0000 (09:53 +0100)]
Configure misdetects strlcpy et al. with gcc -flto (RT#113022)

10 years agoFinish backporting hugmeir's work
H.Merijn Brand - Tux [Wed, 12 Mar 2014 09:46:57 +0000 (10:46 +0100)]
Finish backporting hugmeir's work

The tryp<space>" change is to work around a bug in metalint/metaconfig

10 years agoackport Cross changes from hugmeir and castaway
H.Merijn Brand - Tux [Sat, 8 Feb 2014 15:27:05 +0000 (16:27 +0100)]
ackport Cross changes from hugmeir and castaway

There is still two warnings left to fix from metalint
Still commited, as hugmeir can now pull the backport work as explained

10 years agoadded missing semicolon
H.Merijn Brand - Tux [Thu, 23 Jan 2014 17:48:05 +0000 (18:48 +0100)]
added missing semicolon

10 years agorestore missed change
H.Merijn Brand - Tux [Wed, 22 Jan 2014 12:47:26 +0000 (13:47 +0100)]
restore missed change

10 years agobackport incpth
H.Merijn Brand [Wed, 22 Jan 2014 11:04:43 +0000 (12:04 +0100)]
backport incpth

10 years agoDo not expose _sysroot
H.Merijn Brand [Wed, 22 Jan 2014 10:53:38 +0000 (11:53 +0100)]
Do not expose _sysroot

Use the echo line to use $sysroot instead and force the correct dependency

10 years agoStep 2 in backporting crosscompile/sysroot changes
H.Merijn Brand [Mon, 20 Jan 2014 08:16:00 +0000 (09:16 +0100)]
Step 2 in backporting crosscompile/sysroot changes

10 years agoNo mode sfio - backport from Nicholas' work
H.Merijn Brand [Sun, 19 Jan 2014 19:54:30 +0000 (20:54 +0100)]
No mode sfio - backport from Nicholas' work

10 years agoBackport crosscompile changes (sysroot + target*)
H.Merijn Brand [Sun, 19 Jan 2014 19:53:05 +0000 (20:53 +0100)]
Backport crosscompile changes (sysroot + target*)

Also reindented some large chuncks to get consistency withing the unit(s)

10 years agono need to declare setting less twice
H.Merijn Brand [Sun, 19 Jan 2014 19:45:46 +0000 (20:45 +0100)]
no need to declare setting less twice

10 years agoremove old warning. No need to declare what is in ?RCS
H.Merijn Brand [Sun, 19 Jan 2014 19:44:31 +0000 (20:44 +0100)]
remove old warning. No need to declare what is in ?RCS

10 years agosome try cleanup
H.Merijn Brand [Thu, 16 Jan 2014 09:24:06 +0000 (10:24 +0100)]
some try cleanup

10 years agoupdate README_U with info from metalint itself
H.Merijn Brand [Thu, 16 Jan 2014 09:10:38 +0000 (10:10 +0100)]
update README_U with info from metalint itself

10 years agoBackport 4ae6f81b38ab10f8a43c09b6efd34ae18e93ce42
H.Merijn Brand - Tux [Mon, 2 Dec 2013 10:41:03 +0000 (11:41 +0100)]
Backport 4ae6f81b38ab10f8a43c09b6efd34ae18e93ce42

Merge branch 'dirnames' into blead

Fixed whitespace to match surrounding style

10 years agoAtari FreeMiNT: MiNT does not have .exe for _exe
H.Merijn Brand - Tux [Tue, 17 Sep 2013 08:34:19 +0000 (10:34 +0200)]
Atari FreeMiNT: MiNT does not have .exe for _exe

This is the only part remaining from

Subject: Re: [perl #89502] perlbug AutoReply: Add support for Atari FreeMiNT platform
From: Alan Hourihane <alanh@fairlite.co.uk>
Date: Thu, 28 Apr 2011 20:37:05 +0100
Message-ID: <4DB9C1E1.1020003@fairlite.co.uk>

10 years agoMore specific comment based on findings in RT#7586
H.Merijn Brand - Tux [Mon, 16 Sep 2013 12:37:55 +0000 (14:37 +0200)]
More specific comment based on findings in RT#7586

Suggested by Nicholas Clark, somewhat tidied to Glossary standards

[perl #7586] STDOUT is not flushed before exec().

Nicholas comment in the original fix:

It turns out* that $Config{fflushNULL} on HP-UX is *STILL* undef, because
fflush(NULL) wrongly closes STDIN if STDIN is a pipe (which is what the
Configure test probes for).

I wonder if HP are even aware that their platform is still not quite 100%
C89 conformant? Of if they'll fix it in time for the 25th anniversary of
the first ANSI C standard?

(Also, given that that this bug had been present on Solaris, and on early
FreeBSDs, I wonder if it's a bug in common code they inherit from, or just
convergent mistake making)

Nicholas Clark

* At least on the system Merijn provides for us.

10 years agoMerge changes which eliminate VOIDFLAGS and VOIDUSED from active code.
H.Merijn Brand - Tux [Mon, 16 Sep 2013 12:11:26 +0000 (14:11 +0200)]
Merge changes which eliminate VOIDFLAGS and VOIDUSED from active code.

The remaining uses are in Configure and its related generated files, along
with canned config.sh files and configure.com. The next regeneration of
Configure from metaconfg should eliminate nearly all of these, at which point
the remainder can be removed by hand.

?W: had to be removed from voidflags.U in order to not have it included in
Configure, where it is not needed anymore.

Backport of db433f450608e784356bfeb17ba135fbfb2f3af1 by Nicholas Clark

10 years ago[perl #115928] Configure now selects our internal drand48()
H.Merijn Brand - Tux [Mon, 16 Sep 2013 11:28:04 +0000 (13:28 +0200)]
[perl #115928] Configure now selects our internal drand48()

Backport of 890c2948b68476f972f9648473ed11faf48e159f by Tony Cook

10 years agoexclude .git in dist (private tool)
H.Merijn Brand - Tux [Mon, 16 Sep 2013 11:15:27 +0000 (13:15 +0200)]
exclude .git in dist (private tool)

10 years agoRemove references to GNU DLD from Configure and config.sh scripts.
H.Merijn Brand - Tux [Mon, 16 Sep 2013 11:14:47 +0000 (13:14 +0200)]
Remove references to GNU DLD from Configure and config.sh scripts.

Specifically eliminated i_dld, a variable indicating that <dld.h> should be
included, and remove dld from the list of wanted libraries.

Backport of 665ff1e94e3997c05f0fa23160fbd8fe871a8f96 by Nicholas Clark and Brian Fraser

10 years agoAdd support for Bitrig BSD
H.Merijn Brand - Tux [Thu, 29 Aug 2013 07:38:12 +0000 (09:38 +0200)]
Add support for Bitrig BSD

Backport of a0a23c6b5c756a6834d

10 years agoMove the thrice-repeated "64bitint is buggy?" test from hints to Configure.
H.Merijn Brand - Tux [Thu, 29 Aug 2013 07:32:21 +0000 (09:32 +0200)]
Move the thrice-repeated "64bitint is buggy?" test from hints to Configure.

Backport 16e6698bf53cbe5099ca8f3

OpenBSD and its two* forks each have the same "is 64 bit int support buggy?"
test code as a callback unit duplicated in their hints files. As the code is
portable C, there seems to be no harm in moving it to Configure, and running
the test on all platforms. This reduces code duplication, and will reduce it
further if another OpenBSD fork appears.

* This week.

10 years ago[perl #119271] Faulty test for INT16 in Configure
H.Merijn Brand - Tux [Fri, 16 Aug 2013 12:17:31 +0000 (14:17 +0200)]
[perl #119271] Faulty test for INT16 in Configure

Subject: [perl #119271] Faulty test for INT16 in Configure
From: Brian Fraser (via RT) <perlbug-followup@perl.org>
Date: Tue, 13 Aug 2013 12:47:09 -0700
Message-ID: <rt-3.6.HEAD-2552-1376423228-455.119271-75-0@perl.org>

Howdy all. Configure has this:

#ifdef INT16
   int16_t i =  INT16_MAX;
  uint16_t i = UINT16_MAX;
  printf("int16_t\n");
#endif

Declaring i twice is a typo; The second variable should be a 'u'.

10 years agoThreading 5.005 style is no longer supported
H.Merijn Brand - Tux [Mon, 15 Jul 2013 13:54:29 +0000 (15:54 +0200)]
Threading 5.005 style is no longer supported

Modernize the explain message

10 years agoBackport Nicholas' changes to Configure for xs_extensions
H.Merijn Brand - Tux [Tue, 2 Jul 2013 14:20:08 +0000 (16:20 +0200)]
Backport Nicholas' changes to Configure for xs_extensions

2d11a7e9678a8894622d2af2943f9976d913f4c9
08b889303304849ba3ce08a3a08d913862c17156
f7b3892b9e45c6994685c9a625d3ea2b52642167
98962cf902fbf8857644cacbd32ddc075b71d5ab

11 years ago[perl #64126] ./Configure -de -Dusevendorprefix didn't default
H.Merijn Brand - Tux [Mon, 27 May 2013 07:45:32 +0000 (09:45 +0200)]
[perl #64126] ./Configure -de -Dusevendorprefix didn't default

11 years ago[perl #66604] 64bit compilation Problem on Solaris x86_64
H.Merijn Brand - Tux [Fri, 10 May 2013 12:20:36 +0000 (14:20 +0200)]
[perl #66604] 64bit compilation Problem on Solaris x86_64

11 years agoMore spellcheck
H.Merijn Brand - Tux [Wed, 8 May 2013 15:24:50 +0000 (17:24 +0200)]
More spellcheck

I enabled the ?C: sections too