This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: getopt change breaks ld
At 17:49 08.09.00, H . J . Lu wrote:
>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.
Can you reproduce this on a non-PPC machine?
Franz.