This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Karl Williamson [Fri, 20 Oct 2017 18:20:02 +0000 (12:20 -0600)]
U/perl/i_wchar.U: Fix typo
Karl Williamson [Fri, 20 Oct 2017 18:15:39 +0000 (12:15 -0600)]
Add probe for presence of <wchar.h>
H.Merijn Brand [Fri, 20 Oct 2017 07:10:42 +0000 (09:10 +0200)]
Merge pull request #36 from perl5-metaconfig/docs
U/README: Grammatical correction
Karl Williamson [Thu, 19 Oct 2017 22:43:52 +0000 (16:43 -0600)]
U/README: Grammatical correction
H.Merijn Brand - Tux [Thu, 19 Oct 2017 08:04:37 +0000 (10:04 +0200)]
Add probe for localeconv_l()
H.Merijn Brand - Tux [Thu, 19 Oct 2017 07:51:55 +0000 (09:51 +0200)]
Add Configure probe for strtod_l()
H.Merijn Brand [Thu, 19 Oct 2017 07:45:52 +0000 (09:45 +0200)]
Merge pull request #31 from perl5-metaconfig/issue15
Fix ups for README
H.Merijn Brand [Thu, 19 Oct 2017 07:40:41 +0000 (09:40 +0200)]
Merge pull request #26 from perl5-metaconfig/ntyni/filexp-rename
dist/: Rename filexp.U to filexp_path.U to match dist upstream
Karl Williamson [Thu, 19 Oct 2017 01:53:25 +0000 (19:53 -0600)]
Add probe for localeconv_l()
Karl Williamson [Wed, 18 Oct 2017 20:28:14 +0000 (14:28 -0600)]
Add Configure probe for strtod_l()
Karl Williamson [Wed, 18 Oct 2017 19:58:58 +0000 (13:58 -0600)]
Fix ups for README
This is based on khw's attempting to follow the instructions to the
letter.
Karl Williamson [Tue, 17 Oct 2017 17:49:00 +0000 (11:49 -0600)]
Add Configure probe for strtold_l
H.Merijn Brand - Tux [Tue, 17 Oct 2017 13:57:40 +0000 (15:57 +0200)]
add probe for __builtin_{add,sub,mul}_overflow
Merge remote-tracking branch 'origin/mauke/builtin-overflow'
James E Keenan [Sat, 14 Oct 2017 08:22:13 +0000 (10:22 +0200)]
As in bin/mlint, use Getopt::Std::getopts() instead of Perl 4 getopts.pl.
For: https://github.com/perl5-metaconfig/metaconfig/issues/14
James E Keenan [Fri, 13 Oct 2017 14:02:31 +0000 (16:02 +0200)]
Use Getopt::Std::getopts() as it comes with all Perl 5 versions.
Instead of Perl 4 getopts.pl.
For: https://github.com/perl5-metaconfig/metaconfig/issues/14
Niko Tyni [Mon, 16 Oct 2017 19:34:01 +0000 (22:34 +0300)]
dist/: Rename filexp.U to filexp_path.U to match dist upstream
This mirrors upstream
cabf341923238fe7dfb102274e91cb8ece376319 (SVN r75),
avoiding case collision with Filexp.U.
Lukas Mai [Sun, 15 Oct 2017 15:48:31 +0000 (17:48 +0200)]
add probe for __builtin_{add,sub,mul}_overflow
Lukas Mai [Sun, 15 Oct 2017 15:46:39 +0000 (17:46 +0200)]
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
Niko Tyni [Fri, 13 Oct 2017 14:28:41 +0000 (17:28 +0300)]
Remove metaconfig units in sync with upstream
These files are identical to the ones in dist/ and
in upstream dist.git, so they seem to be obsolete.
The only resulting change in Configure is moving the
HAS_MSG and HAS_SEM blocks earlier in the file.
Niko Tyni [Sun, 15 Oct 2017 07:52:55 +0000 (10:52 +0300)]
Fix a copy-paste error in d_double_has_nan description
Niko Tyni [Sat, 14 Oct 2017 09:33:44 +0000 (12:33 +0300)]
Cleanup find_config_h_deps.pl
This seems to be an older and unused version of Porting/config_h.pl
in the perl source tree.
James E Keenan [Sat, 14 Oct 2017 09:25:37 +0000 (11:25 +0200)]
Cleanup program in 'perl' directory is actually Porting/config_h.pl.
As per this comment in that program:
This script reorders config_h.SH after metaconfig
Dominic Hargreaves [Sat, 14 Oct 2017 08:36:40 +0000 (10:36 +0200)]
Check that the necessary symlinks exist for mconfig and mlint
H.Merijn Brand - Tux [Sat, 14 Oct 2017 07:53:57 +0000 (09:53 +0200)]
Merge remote-tracking branch 'remotes/origin/jkeenan/clarify-readme-1'
H.Merijn Brand - Tux [Sat, 14 Oct 2017 07:53:01 +0000 (09:53 +0200)]
Merge remote-tracking branch 'origin/ntyni/ls-diff-flags'
Lukas Mai [Fri, 13 Oct 2017 20:30:42 +0000 (22:30 +0200)]
parenthesize NV_OVERFLOWS_INTEGERS_AT value
It's a macro that expands to an expression. Parenthesize it for safety.
James E Keenan [Fri, 13 Oct 2017 14:41:25 +0000 (16:41 +0200)]
Provide links to 'dist' documentation.
Dominic Hargreaves [Fri, 13 Oct 2017 14:30:10 +0000 (16:30 +0200)]
Fix typo in comment about Configure modification
Niko Tyni [Fri, 13 Oct 2017 14:18:08 +0000 (17:18 +0300)]
Make diff flags configurable in ls-diff.pl
My own itch for this is getting unified diffs (now achieved with -D-u).
The default is still just '-w'.
Dominic Hargreaves [Fri, 13 Oct 2017 13:57:21 +0000 (15:57 +0200)]
Clarify policy on updates to Configure
James E Keenan [Fri, 13 Oct 2017 13:57:59 +0000 (15:57 +0200)]
Correct one typo and one incorrect command.
Dominic Hargreaves [Fri, 13 Oct 2017 13:25:40 +0000 (15:25 +0200)]
Remove U/mksample
The glossary part of this has been removed, and the script has been
moved to Porting/
James E Keenan [Fri, 13 Oct 2017 10:47:28 +0000 (12:47 +0200)]
Additional clarification.
James E Keenan [Fri, 13 Oct 2017 10:25:56 +0000 (12:25 +0200)]
Clarify side-by-side checkouts.
H.Merijn Brand - Tux [Fri, 13 Oct 2017 09:51:29 +0000 (11:51 +0200)]
Merge branch 'generalize_paths'
H.Merijn Brand - Tux [Fri, 13 Oct 2017 09:26:12 +0000 (11:26 +0200)]
Fix upstream source comment
H.Merijn Brand - Tux [Fri, 13 Oct 2017 09:09:05 +0000 (11:09 +0200)]
Update header info for Configure
H.Merijn Brand - Tux [Fri, 13 Oct 2017 08:51:55 +0000 (10:51 +0200)]
Update documentation
And thank you Dom for making the tools more usable for all of us
H.Merijn Brand - Tux [Fri, 13 Oct 2017 08:01:55 +0000 (10:01 +0200)]
ignore perl symlink
H.Merijn Brand - Tux [Fri, 13 Oct 2017 07:58:35 +0000 (09:58 +0200)]
use low-precedence or to sep expressions and actions
Dominic Hargreaves [Fri, 13 Oct 2017 07:47:34 +0000 (09:47 +0200)]
Compatibility fixes following review
Lukas Mai [Fri, 13 Oct 2017 07:35:09 +0000 (09:35 +0200)]
fix memrchr description
Dominic Hargreaves [Fri, 13 Oct 2017 05:53:18 +0000 (07:53 +0200)]
Fix missing 'my' in previous change where use strict was in use
Dominic Hargreaves [Thu, 12 Oct 2017 17:03:08 +0000 (19:03 +0200)]
Remove hard-coded paths to /pro/3gl/CPAN
Dominic Hargreaves [Thu, 12 Oct 2017 15:46:04 +0000 (17:46 +0200)]
Replace /pro/bin/perl with /usr/bin/perl
Dominic Hargreaves [Thu, 12 Oct 2017 15:45:26 +0000 (17:45 +0200)]
Remove obsolete scripts
H.Merijn Brand - Tux [Thu, 12 Oct 2017 16:01:35 +0000 (18:01 +0200)]
Add probe for memrchr
Dagfinn Ilmari Mannsåker [Thu, 12 Oct 2017 15:17:37 +0000 (17:17 +0200)]
Ignore emacs lock files
James E Keenan [Thu, 12 Oct 2017 14:56:16 +0000 (16:56 +0200)]
Correct one spelling error.
Lukas Mai [Thu, 12 Oct 2017 10:02:52 +0000 (12:02 +0200)]
don't track vim .swp files
H.Merijn Brand - Tux [Tue, 19 Sep 2017 10:34:31 +0000 (12:34 +0200)]
add probes for openat, unlinkat, renameat, linkat and fchmodat
backport of
d226c0a2bfaa78c245a5573af5c0f2681f925c8c
H.Merijn Brand - Tux [Tue, 19 Sep 2017 10:12:59 +0000 (12:12 +0200)]
H.Merijn Brand - Tux [Wed, 17 May 2017 13:41:35 +0000 (15:41 +0200)]
fixed couple of compilation failures with g++ (JHI)
H.Merijn Brand - Tux [Sat, 13 May 2017 13:47:32 +0000 (15:47 +0200)]
take Rafael's fixes for mlint
H.Merijn Brand - Tux [Fri, 12 May 2017 14:44:27 +0000 (16:44 +0200)]
Make mconfig more verbose on fail
If a unit erroneously has
?MAKE: -pick $@ $@
instead of
?MAKE: -pick $@ %<
it passes with just one make target, but with two make targets, mconfig
fails with
Can't open .
which isn't very helpful
H.Merijn Brand - Tux [Fri, 12 May 2017 14:40:48 +0000 (16:40 +0200)]
(perl #130108) check if dtrace accepts -xnolibs and use it if available
Backport of
f2a60c1f79f4336895ffcbe81f18e49b0228ea44
dtrace without -xnolibs fails in a FreeBSD jail, so we need to supply
it on FreeBSD.
Unfortunately systemtap's dtrace emulation doesn't support -xnolibs so
we need to test if it's available.
And fixed a serious typo in the make-rules
H.Merijn Brand - Tux [Fri, 12 May 2017 14:38:46 +0000 (16:38 +0200)]
Turn on removal of dot in @INC by default
Backport of
4634f4819b15eb189f3502773a and
12e837793e279bd6e705e920b9
That's it. Dot no longer in @INC.
H.Merijn Brand - Tux [Wed, 23 Nov 2016 15:32:39 +0000 (16:32 +0100)]
Zero out high bytes of 80-bit ldnan
1. Backport of
dd6885360b15e763e0706dc28555eea328de432d
fix garbage filtering with 80-bit long doubles
The test had several problems that resulted in the excess
bytes not getting zeroed out. This caused random contents in
$Config{longdblinfbytes}, observed on Debian with GCC 6.2.0 (but not
5.4.1).
Bug-Debian: https://bugs.debian.org/844752
2. Backport of
6b2c7479d6d33249c2385d8a36d8ee9e61e1a519
also zero out high bytes of 80-bit ldnan
These are currently zero anyway, but things are probably not guaranteed
to stay so.
H.Merijn Brand - Tux [Mon, 14 Nov 2016 12:22:29 +0000 (13:22 +0100)]
Extra note that there is NO need to install dist/meta from github
H.Merijn Brand - Tux [Sun, 13 Nov 2016 14:55:09 +0000 (15:55 +0100)]
Assume dist-git will merge our PR's
H.Merijn Brand - Tux [Sun, 13 Nov 2016 14:52:05 +0000 (15:52 +0100)]
Cleanups on files being worked on to be PR'd by dist-git
H.Merijn Brand - Tux [Sun, 13 Nov 2016 14:42:52 +0000 (15:42 +0100)]
Exclude diffs the will never be resolved
H.Merijn Brand - Tux [Sun, 13 Nov 2016 13:06:00 +0000 (14:06 +0100)]
Indicate clean state
In this case we'd just have to wait for upstream to accept the PR
H.Merijn Brand - Tux [Sun, 13 Nov 2016 12:50:07 +0000 (13:50 +0100)]
promote dist-git rm_try changes to dist/
H.Merijn Brand - Tux [Sun, 13 Nov 2016 12:49:28 +0000 (13:49 +0100)]
No changes left to keep
H.Merijn Brand - Tux [Sun, 13 Nov 2016 11:26:41 +0000 (12:26 +0100)]
Allow a pattern for diff matching
ls-diff.pl => 161 files
ls-diff.pl -p rm_try => 40 files
H.Merijn Brand - Tux [Fri, 11 Nov 2016 15:52:40 +0000 (16:52 +0100)]
Missing from previous backport
H.Merijn Brand - Tux [Fri, 11 Nov 2016 15:52:15 +0000 (16:52 +0100)]
Exclude DOT from @INC - as agreed on for now
H.Merijn Brand - Tux [Fri, 11 Nov 2016 13:40:53 +0000 (14:40 +0100)]
Configure: add defs summarizing doublekind/longdblkind
Backport of
4cb05021f1602b1c29295f791d76ba4b38426f2a
For windows/netware It seems that many of the recent fp definitions
have not been yet copied over there [1] [2], so went mostly by dead
reckoning [3].
[1] Note that many of them are not absolutely necessary for building.
[2] The proper updating involves doing stuff in win32, which I do not have.
[3] As far as I can tell, Windows CE does not really not have long double.
H.Merijn Brand - Tux [Sat, 22 Oct 2016 12:05:33 +0000 (14:05 +0200)]
Add option to exclude '.' from @INC
H.Merijn Brand - Tux [Sat, 22 Oct 2016 12:00:06 +0000 (14:00 +0200)]
Add scan for IBM and Cray mainframe fp formats.
Backport of
6e6b38aecfbcb229c8568366e3566d7fe7c8bbc5
For completeness: it's quite unlikely Perl would build in those environments.
Though with Cray it's less impossible: Perl used to build in C90
UNICOS, in 5.8-ish timeframe.
With IBM, highly unlikely, because there probably never was a UNIXy
enough environment where the IBM Floating Point Architecture was used.
H.Merijn Brand - Tux [Sat, 22 Oct 2016 10:07:00 +0000 (12:07 +0200)]
signbit scan assuming too much
Backport of
b76dad153351f50f46ba283bb0da075b93e89838
It was assuming a negative zero, which is an IEEE-754 only concept.
There is no need to assume the negative zero for the correct
functioning of the signbit, however.
H.Merijn Brand - Tux [Thu, 11 Aug 2016 16:26:42 +0000 (18:26 +0200)]
Add probe for gai_strerror
H.Merijn Brand - Tux [Thu, 28 Jul 2016 15:37:13 +0000 (17:37 +0200)]
Configure: clarify "version-specific"
Backport of commit
6baaafe34b15a5bbc05abd45b1b00f684654bb25
Author: Dan Collins <dcollinsn@gmail.com>
Date: Mon Jul 4 15:21:05 2016 -0400
Configure: clarify "version-specific"
This has long been a confusing configure question. It sounds like
it saves time by installing /less/, but really it just installs
binaries with a version number suffix.
H.Merijn Brand - Tux [Thu, 28 Jul 2016 14:59:08 +0000 (16:59 +0200)]
VAX Float format H
Backport of commits
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Wed Jul 27 07:04:02 2016 -0400
Configure: note that the infnan tests may crash.
(And in VAX, that is exactly what happens with the infinities.)
commit
86ea01eb2de6e15e79ff54031d7fabfb5f628d4e
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Tue Jul 26 22:10:42 2016 -0400
Configure: VAX format H
commit
a0cc6aaf62d581814737e0f0869cd9ee9d8f88ef
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon Jul 25 21:50:32 2016 -0400
VAX: catch vax floats beyond VMS or Ultrix
commit
e90f85309441678b2b41bb1acd37873f9443bb67
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon Jul 25 18:57:41 2016 -0400
VAX: document also formats S/T/X, and hidden bits
Though S, T, and X are not really pure VAX formats per se.
H.Merijn Brand - Tux [Tue, 5 Jul 2016 20:46:05 +0000 (22:46 +0200)]
VAX: Configure changes for VAX floats
Backport of
c183cd86045c09fcbba056a606ae50f11c9c5b5a
Detect the VAX floating point formats D and G.
And the F float, but that is float (duh), never likely to be
the double, but do it for consistency (we detect IEEE single
precision floats, too).
The T float and X float are the IEEE 64-bit and 128-bit,
but those were available only on the Alpha.
Tested on vax-netbsd.
H.Merijn Brand - Tux [Tue, 5 Jul 2016 16:47:13 +0000 (18:47 +0200)]
[perl #128538] [PATCH] Fix copy/paste error in Configure
Aaron Crane [Tue, 31 May 2016 18:42:50 +0000 (19:42 +0100)]
New probe for strerror_l()
Requested by Karl Williamson for Perl.
This function is specified by POSIX.1-2008 (and therefore by Single Unix):
http://pubs.opengroup.org/onlinepubs/
9699919799/functions/strerror_l.html
Aaron Crane [Fri, 22 Apr 2016 17:01:19 +0000 (18:01 +0100)]
New probe for querylocale()
Requested by Karl Williamson for Perl.
This function is known to exist on FreeBSD and Mac OS, for example:
https://www.freebsd.org/cgi/man.cgi?query=querylocale
https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man3/querylocale.3.html
H.Merijn Brand - Tux [Sun, 29 May 2016 16:52:25 +0000 (18:52 +0200)]
dist/meta merge after acceptance upstream
Three down, 161 to go
H.Merijn Brand - Tux [Sun, 29 May 2016 13:30:33 +0000 (15:30 +0200)]
Finish.U isn't modified anymore
All changes accepted by upstream. One down, 164 to go
H.Merijn Brand - Tux [Sat, 14 May 2016 16:57:35 +0000 (18:57 +0200)]
Spelling in dist installation
this change has been put as a PR to dist
H.Merijn Brand - Tux [Sat, 14 May 2016 16:48:26 +0000 (18:48 +0200)]
Remove trailing whitespace on meta-lines in unit files
This change has also been proposed as PR to dist upstream
H.Merijn Brand - Tux [Sat, 14 May 2016 16:32:23 +0000 (18:32 +0200)]
Confused? You won't be after the next version of pigs in space
I had to think about what the letters meant on every command, so they
were not logical enough. Now with comments in --help
H.Merijn Brand - Tux [Sat, 14 May 2016 16:30:03 +0000 (18:30 +0200)]
Merged changes to Finish.U
Aaron Crane [Sat, 14 May 2016 15:26:22 +0000 (16:26 +0100)]
Tweak Csym.U probe to handle GCC 6 -flto
In GCC 6, link-time optimization is smarter at removing references to
functions that never actually get used, so all symbols were being detected
as available. This change constitutes our latest move in this arms race.
Backport of this perl5 commit:
commit
adec5bbf0b66ee5ebc2ba80eda2389bb68e23d86
Author: Lukas Mai <l.mai@web.de>
AuthorDate: Wed May 11 22:15:34 2016 +0200
Commit: Aaron Crane <arc@cpan.org>
CommitDate: Sat May 14 16:21:36 2016 +0100
fix symbol detection with gcc 6 link-time optimization (RT #128131)
Aaron Crane [Sat, 14 May 2016 13:15:56 +0000 (14:15 +0100)]
Don't croak when usecrosscompile but no targethost
Backport of this perl5 commit, for Perl RT#127234:
commit
23695c073f41fdac9d20d873827ba8b2a3dda710
Author: Niko Tyni <ntyni@debian.org>
AuthorDate: Sun Jan 10 22:35:53 2016 +0200
Commit: Tony Cook <tony@develop-help.com>
CommitDate: Tue May 10 10:46:13 2016 +1000
Fix the Configure escape with usecrosscompile but no targethost
Commit 97076f2 added a graceful exit to Configure when targethost is
not defined but usecrosscompile is. However, this is not reached because
there is a similar check a bit earlier that makes Configure bail out.
Make the earlier check warn instead of croaking.
The use case for this combination is supplying an external config.sh
suitable for the target platform, avoiding the need for configuration
probes.
H.Merijn Brand - Tux [Sat, 23 Apr 2016 17:08:19 +0000 (19:08 +0200)]
Bring more dist in line with dist-git
All of these still have been overruled units, so it'll change nothing
in functionality but should ease finding diffs that do matter
Aaron Crane [Sat, 23 Apr 2016 10:30:54 +0000 (11:30 +0100)]
[UTIL] Perl system does not default to $_
This doesn't actually affect anything, because no units have a ?MAKE rule
with any actions other than the "pick" pseudo-command. But it seems worth
fixing nonetheless.
Aaron Crane [Sat, 23 Apr 2016 10:30:06 +0000 (11:30 +0100)]
[UTIL] mconfig: don't rely on directory order
H.Merijn Brand - Tux [Sat, 23 Apr 2016 10:50:46 +0000 (12:50 +0200)]
Update README for FS type and mconfig
H.Merijn Brand - Tux [Sat, 23 Apr 2016 10:32:05 +0000 (12:32 +0200)]
removed but saved old dist folder
H.Merijn Brand - Tux [Fri, 22 Apr 2016 17:05:49 +0000 (19:05 +0200)]
One down, too many to go
H.Merijn Brand - Tux [Fri, 22 Apr 2016 16:51:31 +0000 (18:51 +0200)]
Mass update of *headers* in dist/U from git
This is to simplify identifying upcoming changes
H.Merijn Brand - Tux [Fri, 22 Apr 2016 16:13:39 +0000 (18:13 +0200)]
unused leftover
H.Merijn Brand - Tux [Fri, 22 Apr 2016 16:09:38 +0000 (18:09 +0200)]
git => dist
These are the simple copies with no changes but the RCS headers
H.Merijn Brand - Tux [Fri, 22 Apr 2016 15:13:31 +0000 (17:13 +0200)]
Update dist/U from dist-git/mcon/U
First step.
perl ls-diff.pl will show
# Git Dist Perl Diff Unit
=== ========= ====== ========= ====== ========= ====== ======================
1 3974/135 1113 4014/135 4732 3804/138 4687 Checkcc.U
2 2327/ 63 696 2372/ 63 2221 2182/ 61 2176 Compile.U
3 4076/114 2496 4161/114 2463 4153/111 3289 Config_h.U
:
:
size of the unit/number of lines in the unit size of the diff
compared to the next column. Last diff is the size of the diff
between dist-git and modified.
Next steps will include updating dist/U from dist-git/mcon/U
followed by the same updates from dist/U into U (our modified
versions). That last step should either remove our modified
version or result in feedback to Rafael in order to explain
what we changed and why, hoping it'll find its way upstream so
we can remove yet another modified unit not to maintain :)
Expect a flurry of commits to dist/U where only comments and
typoes are fixed.
H.Merijn Brand - Tux [Fri, 22 Apr 2016 14:41:16 +0000 (16:41 +0200)]
Remove a module that has no changes to the original from dist
The changes are merely in the RCS headers and these do not conflict
Replace the dist unit with the one from dist-git
Aaron Crane [Fri, 22 Apr 2016 12:44:46 +0000 (13:44 +0100)]
[UTIL] New metagrep -F option
Does fixed-string matching, like grep -F.
Aaron Crane [Fri, 22 Apr 2016 09:33:33 +0000 (10:33 +0100)]
Probe for and expose the 'fd' field for SA_SIGINFO
Backport of this commit, which is currently on the ilmari/siginfo-fd branch
in perl5.git:
commit
95288b852f4f3a4e7b82ecd37ae330943af64340
Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Date: Wed Feb 3 16:35:15 2016 +0000
Probe for and expose the 'fd' field for SA_SIGINFO
This Linux-specific field indicates which FD a SIGIO/SIGPOLL signal
pertains to.