This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Binutils is broken by the linker change


On Thu, Mar 18, 2004 at 12:43:19PM -0800, H. J. Lu wrote:
> On Thu, Mar 18, 2004 at 11:47:24AM -0800, H. J. Lu wrote:
> > The linker change caused massive failures in "make check" in gcc. I
> > will try to come up with a small testcase.
> > 
> > 
> > H.J.
> 
> Here is the testcase:
> 
> [hjl@gnu-psc multidef]$ make
> gcc -B./ -o main main.c libbar.so libfoo.so
> libfoo.so(.text+0xcc): In function `foo':
> : multiple definition of `foo'
> collect2: ld returned 1 exit status
> make: *** [main] Error 1
> 
> 

Oops. Missed a file.


H.J.

Attachment: bug.tar.gz
Description: GNU Zip compressed data


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