This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [Felipe Contreras <al593181@mail.mty.itesm.mx>] bug in useldt.h
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Greg Schafer <gschafer at zip dot com dot au>, libc-alpha at sources dot redhat dot com, Felipe Contreras <al593181 at mail dot mty dot itesm dot mx>, Roland McGrath <rolandi at frob dot com>
- Date: Wed, 12 Dec 2001 10:36:51 +0100
- Subject: Re: [Felipe Contreras <al593181@mail.mty.itesm.mx>] bug in useldt.h
- References: <20011212110146.A18209@tigers-lfs.nsw.bigpond.net.au> <ho8zc8su9o.fsf@gee.suse.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Dec 12, 2001 at 09:43:47AM +0100, Andreas Jaeger wrote:
> Greg Schafer <gschafer@zip.com.au> writes:
>
> > Andreas Jaeger wrote:
> >> Something like this? Felipe - and others with this problem -, please
> >> regenerate configure (with autoconf 2.13!) and tell me whether it
> >> looks fine in your environment.
> >>
> >> Ok to commit?
> >
> > Hi Andreas
> >
> > I just gave this a quick test.
> >
> > It fixes the first 3 linker tests but breaks the 4th ie: now it doesn't
> > find -z combreloc (even in the normal case when glibc is already installed)
> > and I cannot see why. No clues in config.log either.
>
> With -nostdlib we get no rel.dyn sections and we explicitly search for
> them. Jakub, is the readelf call really needed?
It is, because the default ld behaviour is to ignore unknown -z options.
Wouldn't using
extern int bar (void);
int foo (void) { return bar (); }
instead of current:
int foo (void) { return 0; }
help here?
Jakub