This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: getopt change breaks ld
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: getopt change breaks ld
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 8 Sep 2000 08:49:40 -0700
- Cc: libc-alpha at sources dot redhat dot com
- References: <5.0.0.19.2.20000908144551.01fdbeb0@mail.lauterbach.com>
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.