LTO with static libraries

Ian Lance Taylor iant@google.com
Mon Oct 24 17:06:00 GMT 2011


Sebastian Huber <sebastian.huber@embedded-brains.de> writes:

> /tmp/ccTLtFeu.lto.o: In function `memcpy':
> 20010124-1.o:(.text+0x4): multiple definition of `memcpy'
> /home/sh/b-arm-gcc/arm-rtemseabi4.11/./newlib/libc.a(lib_a-memcpy.o):/home/sh/archive/gcc-4.6-20111021-work/newlib/libc/string/memcpy.c:79:
> first defined here

Which version of the linker are you using?  Can you try a newer version?

Ian



More information about the Gcc-help mailing list