diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-03-31 23:13:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-03-31 23:13:15 +0000 |
commit | b1225a1b471182e0a875e14b76da023a738eea62 (patch) | |
tree | 246ac8df8cc4e669fc5e07221ea11ff589444778 /hints | |
parent | 1b5c067c53616dae46b48a67460c08ec2c2ec4c4 (diff) | |
download | perl-b1225a1b471182e0a875e14b76da023a738eea62.tar.gz |
Integrate:
[ 30652]
In safecalloc, use the system calloc() for the non-DEBUGGING case, as
it may be able to memset() to 0 for free.
[ 30661]
Remove the (sometimes) unused variable from change 30652.
[ 30670]
Subject: [PATCH] Change 30661 could result in undefined variable
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <915076.64236.qm@web30212.mail.mud.yahoo.com>
Date: Wed, 21 Mar 2007 12:47:52 -0700 (PDT)
[ 30771]
Subject: [PATCH] util.c [PATCH] perlhack.pod (Was: Re: threads crashes in Tru64)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 26 Mar 2007 19:50:11 -0400
Message-ID: <46085C33.1030601@iki.fi>
p4raw-link: @30771 on //depot/perl: ad7244db27635ed088fc05a8a69e99bbb19c36d6
p4raw-link: @30670 on //depot/perl: 6460123ae692a9c25bc8c2253f12c8cf6f0ebdc0
p4raw-link: @30661 on //depot/perl: a93c8a9e4a51d34ca994257e736b80ca04ec6f9e
p4raw-link: @30652 on //depot/perl: e1a95402a0ef053bf8dd15ba3824743513f0725e
p4raw-id: //depot/perl@30816
Diffstat (limited to 'hints')
-rw-r--r-- | hints/freebsd.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 8bfb742f11..74612076e9 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -138,11 +138,22 @@ case "$osvers" in *) ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H" if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then - usenm=false + # Respect a command-line override + test -z "$usenm" && usenm=false fi ;; esac + +# If we are using g++ we must use nm and force ourselves to use +# the /usr/lib/libc.a because the symbol scanning tricks of +# Configure will crash and burn horribly. +case "$cc" in +*g++*) usenm=true + libc='/usr/lib/libc.a' + ;; +esac + cat <<'EOM' >&4 Some users have reported that Configure halts when testing for |