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: [Felipe Contreras <al593181@mail.mty.itesm.mx>] bug in useldt.h


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


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