bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/287] "multiple definition" symbol error on some systems, not oth


From: kpfleming at linuxfromscratch dot org
Subject: [Bug ld/287] "multiple definition" symbol error on some systems, not others
Date: 26 Jul 2004 05:40:54 -0000

------- Additional Comments From kpfleming at linuxfromscratch dot org  
2004-07-26 05:40 -------
I cannot believe I missed this issue before, but thanks to one of the other LFS
team members I am now more fully aware of the real problem here...

The actual issue is that unmap.c makes no reference, direct or indirect, to
strcpy _at all_. In spite of that, on some people's systems, unmap_fin.o ends up
including large parts of glibc, including strcpy and other string functions.

What is bizarre is that we get both good and bad links on Fedora Core 2 systems,
with only a CPU type difference between them.

Sorry for not seeing the obvious before and explaining the real symptom here...
I was under the mistaken impression that unmap_fin.o was _supposed_ to have a
copy of strcpy in it but it shouldn't have been visible to any further links.
Obviously, this is completely wrong.

Of course, there is still a problem exhibited by the testcase, it's just a
slightly different problem :-)

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=287

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]