This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

multiple definition of __stack_chk_fail_local


Hi,

I'm trying to build a tool chain including glibc-2.7 with a new target
name.  The binutils build and first gcc build works fine, but when I
get to glibc, I'm getting the following error:

/home/sehr/toolchain/install_dir/lib/gcc/nacl/4.2.2/../../../../nacl/lib/libssp.a(ssp.o):
In function `__stack_chk_fail_local':
ssp.c:(.text+0x1b0): multiple definition of `__stack_chk_fail_local'
/home/sehr/toolchain/nacl-glibc/libc_nonshared.a(stack_chk_fail_local.oS):stack_chk_fail_local.c:(.text+0x0):
first defined here
collect2: ld returned 1 exit status
make[2]: *** [/home/sehr/toolchain/nacl-glibc/nscd/nscd] Error 1
make[2]: Leaving directory `/home/sehr/toolchain/glibc-2.7/nscd'
make[1]: *** [nscd/others] Error 2
make[1]: Leaving directory `/home/sehr/toolchain/glibc-2.7'

Any help you could give would be much appreciated.

David

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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