Multiple definition of __memcpy_chk

Mike Frysinger vapier@gentoo.org
Fri Aug 19 04:27:00 GMT 2011


On Thursday, August 18, 2011 23:57:30 Bryan Ischo wrote:
> On 08/18/11 20:45, Mike Frysinger wrote:
> > On Thursday, August 18, 2011 18:15:23 Bryan Ischo wrote:
> >> Then when I go to compile gcc, it tries to compile and link libssp, and
> >> that also defines its own __memcpy_chk.
> > 
> > your gcc is misconfigured.  dont enable libssp for glibc builds.
> 
> Care to explain?  Why is it misconfigured?  Why can't libssp be compiled
> against a static libc?  Is there a reason beyond "both glibc and gcc
> have chosen the same name for a symbol"?

libssp makes no sense with glibc.  its symbols are provided by glibc already.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20110819/fe2e2044/attachment.sig>


More information about the Libc-help mailing list