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]

Re: getopt change breaks ld


On Fri, Sep 08, 2000 at 02:53:09PM +0200, Franz Sirl wrote:
> Hi,
> 
> this change:
> 
>          * posix/getopt.c (_getopt_internal): Don't recognize an option
>          name as ambiguous if it's a prefix for more than one name but the
>          other struct option values are identical.
> 
> breaks ld on PPC, with yesterdays glibc-cvs installed. Todays glibc build 
> failed on me with this message:
> 
> hole-archive -lgcc
> /usr/bin/ld: cannot open __libc_main: No such file or directory
> collect2: ld returned 1 exit status
> gcc: file path prefix 
> `/home/fsirl/rh70/glibc/BUILD/glibc-2.1.93/build-ppc-linux/csu/' never used
> make[1]: *** 
> [/home/fsirl/rh70/glibc/BUILD/glibc-2.1.93/build-ppc-linux/libc.so] Error 1
> 
> Reverting the getopt patch fixes it. Now, is this a glibc problem or a 
> binutils-2.10.0.24 problem?
> 

I tend to think it is a glibc bug.


H.J.

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