getopt change breaks ld
H . J . Lu
hjl@lucon.org
Fri Sep 8 08:49:00 GMT 2000
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.
More information about the Libc-alpha
mailing list