This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig.git
3 years agoFix modern metalint nits 10/head
Niko Tyni [Fri, 13 Oct 2017 09:23:19 +0000 (12:23 +0300)]
Fix modern metalint nits

These are detected by metalint since SVN r132 /
 https://github.com/rmanfredi/dist/commit/8160f5523cbbb37197732ea645d02f884e180f3c

with
 "d_statfs3.U": unknown private file 'try.h'.
 "d_statfs4.U": unknown private file 'try.h'.
 "d_union_semun.U": unknown private file 'tryh.h'.
 "dtraceobject.U": unknown private file 'perldtrace.h'.

Even though $rm_try removes try.[cho] anyway, we clean try.h
explicitly to work around the resulting
 "U/perl/d_statfs4.U": unused temporary file 'try.h'.
warnings which seem like a bug in metalint.

3 years agoDelete locally-modified d_strchr.U unit
Aaron Crane [Mon, 23 Oct 2017 10:46:55 +0000 (11:46 +0100)]
Delete locally-modified d_strchr.U unit

Now that Perl excludes "index" and "rindex" from its metaconf symbols, this
is no longer needed.

3 years agoREADME: document "-X .metaconf-exclusions.txt"
Aaron Crane [Mon, 23 Oct 2017 10:29:47 +0000 (11:29 +0100)]
README: document "-X .metaconf-exclusions.txt"

3 years agobin/mconfig: new "-X FILE" option 42/head
Aaron Crane [Sun, 22 Oct 2017 13:52:10 +0000 (14:52 +0100)]
bin/mconfig: new "-X FILE" option

Packages can use this option to list symbols that shouldn't bring in the
corresponding units. For example, Perl need not provide support for BSD
index(3) as an alternative to C89 strchr(3), but "index" is the name of a
Perl builtin, so that string in the source files is misunderstood by
metaconfig as an attempt to use the BSD function.

With this change, Perl can deal with this situation by adding "index" (and
"rindex") to an exclusion list.

3 years agoU/modified/d_strerror.U: fix metalint warnings
Aaron Crane [Sun, 22 Oct 2017 12:40:43 +0000 (13:40 +0100)]
U/modified/d_strerror.U: fix metalint warnings

3 years agoREADME_U: fix typo
Lukas Mai [Sun, 22 Oct 2017 09:31:43 +0000 (11:31 +0200)]
README_U: fix typo

3 years agoGenerate the Glossary based on the most recent config.sh
H.Merijn Brand - Tux [Sat, 21 Oct 2017 17:55:04 +0000 (19:55 +0200)]
Generate the Glossary based on the most recent config.sh

3 years agoFix mkglossary
H.Merijn Brand - Tux [Sat, 21 Oct 2017 16:40:54 +0000 (18:40 +0200)]
Fix mkglossary

• Current (used) dist is per definition in metaconfig/dist
• Use three-arg open

3 years agoTrailing whitespace and consistent indent
H.Merijn Brand - Tux [Sat, 21 Oct 2017 14:12:41 +0000 (16:12 +0200)]
Trailing whitespace and consistent indent

3 years agoMerge branch 'arc/c89ification'
Aaron Crane [Sat, 21 Oct 2017 16:20:06 +0000 (17:20 +0100)]
Merge branch 'arc/c89ification'

This changes the units in line with blead's new desire not to pretend to
support pre-C89 compilers. Commit 3d10fa085102a79a96d9e335384c3f56f3b6b9cc
in blead was generated from the units as modified here.

3 years agoRely on C89 <string.h> in Perl-specific units 40/head
Aaron Crane [Sat, 14 Oct 2017 14:21:48 +0000 (16:21 +0200)]
Rely on C89 <string.h> in Perl-specific units

3 years agoRely on C89 <math.h> in Perl-specific units
Aaron Crane [Sat, 14 Oct 2017 13:19:58 +0000 (15:19 +0200)]
Rely on C89 <math.h> in Perl-specific units

3 years agoU/modified/d_strerror.U: rely on C89 strerror()
Aaron Crane [Sat, 14 Oct 2017 09:57:25 +0000 (11:57 +0200)]
U/modified/d_strerror.U: rely on C89 strerror()

3 years agoDrop support for the hp9000s500 cpp symbol
Aaron Crane [Fri, 13 Oct 2017 15:37:52 +0000 (17:37 +0200)]
Drop support for the hp9000s500 cpp symbol

https://en.wikipedia.org/wiki/HP_9000 :

> The HP 9000 brand was introduced in 1984 to encompass several existing
> technical workstation models previously launched in the early 1980s. […]
> The Series 500s were based on the HP FOCUS microprocessor. […] The 520 was
> a complete workstation with built-in keyboard, display, 5.25-inch floppy
> disk, and optional thermal printer and 5 MB hard disk. […] The processors
> in the original Series 500s ran at 20 MHz, and could reach a benchmark
> speed of 1 MIPS.

https://en.wikipedia.org/wiki/HP_FOCUS :

> The Hewlett-Packard FOCUS microprocessor, launched in 1982, was the
> first commercial, single chip, fully 32-bit microprocessor available on
> the market. […] The FOCUS […] was a stack architecture, with over 220
> instructions (some 32 bits wide, some 16 bits wide), a segmented memory
> model, and no general purpose programmer-visible registers.

3 years agoU/perl/time_size.U: don't try to include non-standard <values.h>
Aaron Crane [Fri, 13 Oct 2017 13:10:10 +0000 (15:10 +0200)]
U/perl/time_size.U: don't try to include non-standard <values.h>

3 years agoRely on C89 <float.h> in modified units
Aaron Crane [Fri, 13 Oct 2017 10:46:14 +0000 (12:46 +0200)]
Rely on C89 <float.h> in modified units

3 years agoU/modified/d_dbl_dig.U: assume C89 <limits.h>
Aaron Crane [Fri, 13 Oct 2017 10:33:53 +0000 (12:33 +0200)]
U/modified/d_dbl_dig.U: assume C89 <limits.h>

This involves creating an initial modified version of this unit.

3 years agoU/perl/d_ldbl_dig.U: assume C89 <limits.h>
Aaron Crane [Fri, 13 Oct 2017 10:33:31 +0000 (12:33 +0200)]
U/perl/d_ldbl_dig.U: assume C89 <limits.h>

3 years agoU/compline/i_time.U: assume C89 <time.h> exists
Aaron Crane [Fri, 13 Oct 2017 09:16:17 +0000 (11:16 +0200)]
U/compline/i_time.U: assume C89 <time.h> exists

3 years agoU/modified/d_strchr.U: add stub unit
Aaron Crane [Fri, 13 Oct 2017 08:26:29 +0000 (10:26 +0200)]
U/modified/d_strchr.U: add stub unit

The Perl core now wants to rely on C89 strchr() and strrchr(), so needn't
attempt to use BSD index() and rindex() as a fallback.

This is almost trivial: Perl can simplify use those functions directly.
However, metaconfig's standard dist/U/d_strchr.U unit says that the C code
should guard uses of index() and rindex() with the HAS_INDEX cpp symbol. But
"index" and "rindex" are also Perl builtins, so they appear in files like
opcode.h and keywords.c. This causes metaconfig to (a) warn you that they
were used without the HAS_INDEX guard, and (b) include the strchr/index
probe in the generated Configure anyway.

Work around this by creating a locally-modified stub d_strchr unit that
never actually does anything.

3 years agoModify i_stdlib.U to unconditionally assume C89 <stdlib.h>
Aaron Crane [Fri, 13 Oct 2017 07:14:56 +0000 (09:14 +0200)]
Modify i_stdlib.U to unconditionally assume C89 <stdlib.h>

There are very many units that expect this variable to be defined, so this
seems like a better option than editing all of those.

3 years agoFor Perl, assume C89 prototypes exist
Aaron Crane [Thu, 12 Oct 2017 16:40:23 +0000 (18:40 +0200)]
For Perl, assume C89 prototypes exist

Perl now relies on C89, including prototypes. However, it must continue to
define CAN_PROTOTYPE for the benefit of XS modules. So the Perl-specific
modified version of U/modified/prototype.U is now a stub that probes for
nothing, but still overrides the dist/ version of prototype.U (which would
otherwise find the remaining CAN_PROTOTYPE occurrences in the core and
include the probe anyway).

In addition, the Protochk unit itself looks at CAN_PROTOTYPE, and is used by
many other units. So create a modified version which doesn't do that.

3 years agoModify vaproto.U: don't promise to define _V
Aaron Crane [Thu, 12 Oct 2017 16:13:54 +0000 (18:13 +0200)]
Modify vaproto.U: don't promise to define _V

3 years agoRely on C89 headers in U/perl/need_va_copy.U
Aaron Crane [Thu, 12 Oct 2017 16:04:50 +0000 (18:04 +0200)]
Rely on C89 headers in U/perl/need_va_copy.U

3 years agoRely on C89 headers in U/perl/d_c99_variadic.U
Aaron Crane [Thu, 12 Oct 2017 15:43:32 +0000 (17:43 +0200)]
Rely on C89 headers in U/perl/d_c99_variadic.U

3 years agoAssume C89 "volatile"
Aaron Crane [Thu, 12 Oct 2017 13:45:54 +0000 (15:45 +0200)]
Assume C89 "volatile"

The U/perl/perlxv.u unit can just use the "volatile" keyword directly (as
U/perl/d_u32align.U already does); and U/modified/d_volatile.U itself no
longer promises to define the "volatile" keyword in config_h.SH.

3 years agoU/threads/d_nl_langinfo_l.U: fix probe
Aaron Crane [Sat, 21 Oct 2017 15:41:47 +0000 (16:41 +0100)]
U/threads/d_nl_langinfo_l.U: fix probe

If there's no thread-safe nl_langinfo_l(), the Configure variable was being
left as the empty string. Set it to "$define" in that case.

3 years agoAdd probe for presence of <wchar.h>
H.Merijn Brand - Tux [Sat, 21 Oct 2017 12:10:27 +0000 (14:10 +0200)]
Add probe for presence of <wchar.h>

3 years agoFix Copyright
H.Merijn Brand - Tux [Sat, 21 Oct 2017 12:02:18 +0000 (14:02 +0200)]
Fix Copyright

3 years agoCAdd probe for strnlen
H.Merijn Brand - Tux [Sat, 21 Oct 2017 12:00:11 +0000 (14:00 +0200)]
CAdd probe for strnlen

3 years agoMerge branch 'issue9'
H.Merijn Brand - Tux [Sat, 21 Oct 2017 11:55:25 +0000 (13:55 +0200)]
Merge branch 'issue9'

I merged the last two branches into the wrong one. I'll fix up all mistakes
(if any) asap.

3 years agoAdd probe for mbrtowc()
H.Merijn Brand - Tux [Sat, 21 Oct 2017 10:29:56 +0000 (12:29 +0200)]
Add probe for mbrtowc()

3 years agoAdd probe for mbrlen() 35/head
H.Merijn Brand - Tux [Sat, 21 Oct 2017 10:29:00 +0000 (12:29 +0200)]
Add probe for mbrlen()

3 years agoAdd probe for mbrtowc() 39/head
Karl Williamson [Fri, 20 Oct 2017 18:48:05 +0000 (12:48 -0600)]
Add probe for mbrtowc()

3 years agoU/perl/i_wchar.U: Fix typo 38/head
Karl Williamson [Fri, 20 Oct 2017 18:20:02 +0000 (12:20 -0600)]
U/perl/i_wchar.U: Fix typo

3 years agoAdd probe for presence of <wchar.h>
Karl Williamson [Fri, 20 Oct 2017 18:15:39 +0000 (12:15 -0600)]
Add probe for presence of <wchar.h>

3 years agoAdd probe for mbrlen() 37/head
Karl Williamson [Fri, 20 Oct 2017 16:03:45 +0000 (10:03 -0600)]
Add probe for mbrlen()

3 years agoMerge pull request #36 from perl5-metaconfig/docs
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

3 years agoU/README: Grammatical correction 36/head
Karl Williamson [Thu, 19 Oct 2017 22:43:52 +0000 (16:43 -0600)]
U/README: Grammatical correction

3 years agothreads/d_nl_langinfo_l.U: Rmv trailing space
Karl Williamson [Thu, 19 Oct 2017 22:34:50 +0000 (16:34 -0600)]
threads/d_nl_langinfo_l.U: Rmv trailing space

3 years agoAdd probe for nl_langinfo_l (thread-safe)
Karl Williamson [Thu, 19 Oct 2017 21:50:13 +0000 (15:50 -0600)]
Add probe for nl_langinfo_l (thread-safe)

3 years agoAdd probe for localeconv_l()
H.Merijn Brand - Tux [Thu, 19 Oct 2017 08:04:37 +0000 (10:04 +0200)]
Add probe for localeconv_l()

3 years agoAdd Configure probe for strtod_l()
H.Merijn Brand - Tux [Thu, 19 Oct 2017 07:51:55 +0000 (09:51 +0200)]
Add Configure probe for strtod_l()

3 years agoMerge pull request #31 from perl5-metaconfig/issue15
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

3 years agoMerge pull request #26 from perl5-metaconfig/ntyni/filexp-rename
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

3 years agoAdd probe for localeconv_l() 33/head
Karl Williamson [Thu, 19 Oct 2017 01:53:25 +0000 (19:53 -0600)]
Add probe for localeconv_l()

3 years agoAdd Configure probe for strtod_l() 32/head
Karl Williamson [Wed, 18 Oct 2017 20:28:14 +0000 (14:28 -0600)]
Add Configure probe for strtod_l()

3 years agoFix ups for README 31/head
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.

3 years agoAdd Configure probe for strtold_l
Karl Williamson [Tue, 17 Oct 2017 17:49:00 +0000 (11:49 -0600)]
Add Configure probe for strtold_l

3 years agoadd probe for __builtin_{add,sub,mul}_overflow
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'

3 years agoAs in bin/mlint, use Getopt::Std::getopts() instead of Perl 4 getopts.pl.
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

3 years agoUse Getopt::Std::getopts() as it comes with all Perl 5 versions.
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

3 years agodist/: Rename filexp.U to filexp_path.U to match dist upstream 26/head
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.

3 years agoadd probe for __builtin_{add,sub,mul}_overflow 22/head
Lukas Mai [Sun, 15 Oct 2017 15:48:31 +0000 (17:48 +0200)]
add probe for __builtin_{add,sub,mul}_overflow

3 years agofix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
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

3 years agoRemove metaconfig units in sync with upstream
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.

3 years agoFix a copy-paste error in d_double_has_nan description 20/head
Niko Tyni [Sun, 15 Oct 2017 07:52:55 +0000 (10:52 +0300)]
Fix a copy-paste error in d_double_has_nan description

3 years agoAdd probe for strnlen 23/head
Dagfinn Ilmari Mannsåker [Sat, 14 Oct 2017 14:05:21 +0000 (16:05 +0200)]
Add probe for strnlen

3 years agoCleanup find_config_h_deps.pl
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.

3 years agoCleanup program in 'perl' directory is actually Porting/config_h.pl.
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

3 years agoCheck that the necessary symlinks exist for mconfig and mlint 19/head
Dominic Hargreaves [Sat, 14 Oct 2017 08:36:40 +0000 (10:36 +0200)]
Check that the necessary symlinks exist for mconfig and mlint

3 years agoMerge remote-tracking branch 'remotes/origin/jkeenan/clarify-readme-1'
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'

3 years agoMerge remote-tracking branch 'origin/ntyni/ls-diff-flags'
H.Merijn Brand - Tux [Sat, 14 Oct 2017 07:53:01 +0000 (09:53 +0200)]
Merge remote-tracking branch 'origin/ntyni/ls-diff-flags'

3 years agoparenthesize NV_OVERFLOWS_INTEGERS_AT value
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.

3 years agoProvide links to 'dist' documentation.
James E Keenan [Fri, 13 Oct 2017 14:41:25 +0000 (16:41 +0200)]
Provide links to 'dist' documentation.

3 years agoFix typo in comment about Configure modification
Dominic Hargreaves [Fri, 13 Oct 2017 14:30:10 +0000 (16:30 +0200)]
Fix typo in comment about Configure modification

3 years agoMake diff flags configurable in ls-diff.pl 17/head
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'.

3 years agoClarify policy on updates to Configure
Dominic Hargreaves [Fri, 13 Oct 2017 13:57:21 +0000 (15:57 +0200)]
Clarify policy on updates to Configure

3 years agoCorrect one typo and one incorrect command.
James E Keenan [Fri, 13 Oct 2017 13:57:59 +0000 (15:57 +0200)]
Correct one typo and one incorrect command.

3 years agoRemove U/mksample
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/

3 years agoAdditional clarification. 13/head
James E Keenan [Fri, 13 Oct 2017 10:47:28 +0000 (12:47 +0200)]
Additional clarification.

3 years agoClarify side-by-side checkouts.
James E Keenan [Fri, 13 Oct 2017 10:25:56 +0000 (12:25 +0200)]
Clarify side-by-side checkouts.

3 years agoMerge branch 'generalize_paths'
H.Merijn Brand - Tux [Fri, 13 Oct 2017 09:51:29 +0000 (11:51 +0200)]
Merge branch 'generalize_paths'

3 years agoFix upstream source comment
H.Merijn Brand - Tux [Fri, 13 Oct 2017 09:26:12 +0000 (11:26 +0200)]
Fix upstream source comment

3 years agoUpdate header info for Configure
H.Merijn Brand - Tux [Fri, 13 Oct 2017 09:09:05 +0000 (11:09 +0200)]
Update header info for Configure

3 years agoUpdate documentation
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

3 years agoignore perl symlink
H.Merijn Brand - Tux [Fri, 13 Oct 2017 08:01:55 +0000 (10:01 +0200)]
ignore perl symlink

3 years agouse low-precedence or to sep expressions and actions 1/head
H.Merijn Brand - Tux [Fri, 13 Oct 2017 07:58:35 +0000 (09:58 +0200)]
use low-precedence or to sep expressions and actions

3 years agoCompatibility fixes following review
Dominic Hargreaves [Fri, 13 Oct 2017 07:47:34 +0000 (09:47 +0200)]
Compatibility fixes following review

3 years agofix memrchr description
Lukas Mai [Fri, 13 Oct 2017 07:35:09 +0000 (09:35 +0200)]
fix memrchr description

3 years agoFix missing 'my' in previous change where use strict was in use
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

3 years agoRemove hard-coded paths to /pro/3gl/CPAN
Dominic Hargreaves [Thu, 12 Oct 2017 17:03:08 +0000 (19:03 +0200)]
Remove hard-coded paths to /pro/3gl/CPAN

3 years agoReplace /pro/bin/perl with /usr/bin/perl
Dominic Hargreaves [Thu, 12 Oct 2017 15:46:04 +0000 (17:46 +0200)]
Replace /pro/bin/perl with /usr/bin/perl

3 years agoRemove obsolete scripts
Dominic Hargreaves [Thu, 12 Oct 2017 15:45:26 +0000 (17:45 +0200)]
Remove obsolete scripts

3 years agoAdd probe for memrchr
H.Merijn Brand - Tux [Thu, 12 Oct 2017 16:01:35 +0000 (18:01 +0200)]
Add probe for memrchr

3 years agoIgnore emacs lock files
Dagfinn Ilmari Mannsåker [Thu, 12 Oct 2017 15:17:37 +0000 (17:17 +0200)]
Ignore emacs lock files

3 years agoCorrect one spelling error.
James E Keenan [Thu, 12 Oct 2017 14:56:16 +0000 (16:56 +0200)]
Correct one spelling error.

3 years agodon't track vim .swp files
Lukas Mai [Thu, 12 Oct 2017 10:02:52 +0000 (12:02 +0200)]
don't track vim .swp files

3 years agoadd probes for openat, unlinkat, renameat, linkat and fchmodat
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

3 years agocheck for GCC 6 and 7 5.26.1 5.26.2 debian/perl-5.26.1
H.Merijn Brand - Tux [Tue, 19 Sep 2017 10:12:59 +0000 (12:12 +0200)]
check for GCC 6 and 7

backport of b9486474d36974b83d0b00fdcbfd1530299a0f7c

3 years agofixed couple of compilation failures with g++ (JHI)
H.Merijn Brand - Tux [Wed, 17 May 2017 13:41:35 +0000 (15:41 +0200)]
fixed couple of compilation failures with g++ (JHI)

3 years agotake Rafael's fixes for mlint
H.Merijn Brand - Tux [Sat, 13 May 2017 13:47:32 +0000 (15:47 +0200)]
take Rafael's fixes for mlint

3 years agoMake mconfig more verbose on fail
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

3 years ago(perl #130108) check if dtrace accepts -xnolibs and use it if available
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

3 years agoTurn on removal of dot in @INC by default
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.

4 years agoZero out high bytes of 80-bit ldnan
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.

4 years agoExtra note that there is NO need to install dist/meta from github
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

4 years agoAssume dist-git will merge our PR's
H.Merijn Brand - Tux [Sun, 13 Nov 2016 14:55:09 +0000 (15:55 +0100)]
Assume dist-git will merge our PR's

4 years agoCleanups on files being worked on to be PR'd by dist-git
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

4 years agoExclude diffs the will never be resolved
H.Merijn Brand - Tux [Sun, 13 Nov 2016 14:42:52 +0000 (15:42 +0100)]
Exclude diffs the will never be resolved