This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix gcc/configure.in (Re: configure script breakage)


On Thu, Sep 11, 2003 at 09:14:20AM -0700, H. J. Lu wrote:
> > > 	* configure.in (gcc_cv_ld_hidden): Check $gnu_ld before
> > > 	disabling it.
> > > 	* configure: Rebuild.
> > 
> > Where is gnu_ld ever defined?
> 
> # grep gnu_ld gcc/config.gcc
> #  gnu_ld_flag          Either yes or no depending on whether GNU ld was
> #  gnu_ld               Set to yes or no depending on whether the target
> ...

Lots of config.gcc targets which only have GNU ld don't set it.
Are you going to fix them all?
On the other side, the gcc_cv_as_hidden checking code already runs the right
gcc_cv_ld's --version. If it doesn't have GNU in it, it is not GNU ld,
so it can just be assumed to have no support for .hidden.
This is what trunk configure.in does ATM and is what IMHO 3.3 configure.in
should do too.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]