This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: LTO with static libraries


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


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