i686-unknown-linux-gnu-gcc: undefined reference to `__memcpy_chk'

Chrissy chrissyheb@gmx.de
Wed Feb 10 08:12:00 GMT 2010


Hi
I'm trying to build a glibc toolchain for an Atom N270. I chose
march=i686. When compiling the C library I get following error


[ALL  ]    /media/Entwicklung/MiniFS/toolchain/targets/i686-unknown-linux-gnu/build/build-libc/elf/librtld.os: In function `print_statistics':
[ALL  ]    rtld.c:(.text+0x272): undefined reference to `__memcpy_chk'
[ALL  ]    rtld.c:(.text+0x33b): undefined reference to `__memcpy_chk'
[ALL  ]    rtld.c:(.text+0x588): undefined reference to `__memcpy_chk'
[ALL  ]    /media/Entwicklung/MiniFS/toolchain/targets/i686-unknown-linux-gnu/build/build-libc/elf/librtld.os: In function `_dl_make_tlsdesc_dynamic':
[ALL  ]    (.text+0x148b6): undefined reference to `__memset_chk'
[ALL  ]    collect2: ld returned 1 exit status
[ERROR]    make[3]: ***[/media/Entwicklung/MiniFS/toolchain/targets/i686-unknown-linux-gnu/build/build-libc/elf/ld.so] Error 1

I'm compiling on an Ubuntu 9.10 with gcc 4.4.1.
I attached the first and the last part of build.log, I hope that helps.

Would be happy about any help. It's the first time I build a cross
toolchain, so I'm a poor newbie ;-)
Thanks in advance.
Chrissy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: part_of_build.log
Type: text/x-log
Size: 146709 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100210/430137a5/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list