This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cft] configure tests for .hidden
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Apr 2002 23:25:55 -0500 (CDT)
- Subject: Re: [cft] configure tests for .hidden
- References: <200205010224.g412OWP67525@latour.rsch.comm.mot.com> <20020430194329.F3288@redhat.com>
- Reply-to: rittle at labs dot mot dot com
In article <20020430194329.F3288@redhat.com>,
Richard Henderson<rth@redhat.com> writes:
> New patch with Loren's comments.
I applied your latest patch to my 3.1 tree; rebuilt gcc/configure and
verified it correctly detected working ld features (it had one
remaining niggle when no date was found, see insert below):
On i386-unknown-freebsd4.5 with binutils 2.11.2, system copy:
; gcc-3.1/configure --with-ld\=/usr/bin/ld --with-as\=/usr/bin/as
checking assembler hidden support... no
checking linker PT_GNU_EH_FRAME support... no
On i386-unknown-freebsd4.5 with binutils 2.12, FSF tar image release:
; gcc-3.1/configure --with-ld\=/usr/local/bin/ld --with-as\=/usr/local/bin/as
checking assembler hidden support... test: 0GNU ld version 2.12: bad number
yes
[I updating your patch by adding -n to the sed option and p to the end
of sed command; like I originally sent you. ;-) This idiom is
already used in that file so I assume it is portable. This handles
the case where no date was found on the ld version report.]
checking assembler hidden support... no
checking linker PT_GNU_EH_FRAME support... yes
checking whether linker eh_frame optimizations work properly... no
On i386-unknown-freebsd4.5 with binutils 2.12.X, taken after fix from
FSF tree:
; gcc-3.1/configure --with-ld\=/usr/local/beta-gcc/bin/ld --with-as\=/usr/local/beta-gcc/bin/as
checking assembler hidden support... yes
checking linker PT_GNU_EH_FRAME support... yes
checking whether linker eh_frame optimizations work properly... yes
On alpha-unknown-freebsd5.0 with binutils 2.12.X, taken before fix
from FSF tree, system copy:
; gcc-3.1/configure --with-ld\=/usr/bin/ld --with-as\=/usr/bin/as
checking assembler hidden support... no
checking linker PT_GNU_EH_FRAME support... yes
checking whether linker eh_frame optimizations work properly... yes
# last line might be suspect, but this is an unreleased
On i386-unknown-freebsd5.0 with binutils 2.12.X, taken before fix from
FSF tree, system copy:
; gcc-3.1/configure --with-ld\=/usr/bin/ld --with-as\=/usr/bin/as
checking assembler hidden support... no
checking linker PT_GNU_EH_FRAME support... yes
checking whether linker eh_frame optimizations work properly... no
This is all the versions of binutils, I can readily test in this
environment.
Regards,
Loren