Displaying 5 results from an estimated 5 matches for "___stack_chk_fail".
Did you mean:
__stack_chk_fail
2013 Mar 12
3
Can't cross-compile from git now.
...ta_iterators.o:metadata_iterators.c:(.text+0x8d): undefined reference to `___stack_chk_guard'
.libs/metadata_iterators.o:metadata_iterators.c:(.text+0x121): undefined reference to `___stack_chk_guard'
.libs/metadata_iterators.o:metadata_iterators.c:(.text+0x14f): undefined reference to `___stack_chk_fail'
The odd thinh is, if I use this MinGW cross-compiler to compile a small
program, it works perfectly. The problem aboce is related to building
a Windows DLL.
On FreeBSD everything goes fine until it tries to link test_libFLAC++:
Making all in test_libFLAC++
CXX decoders.o...
2013 Mar 12
2
Can't cross-compile from git now.
Erik de Castro Lopo wrote:
> JonY wrote:
>
> > Please do a link time test instead, I am not getting this error and
> > would like to keep stack protector on.
>
> I'll write an m4 macro.
I have attampted to write a macro that reliably detects the availability
of stack smash protection.
I currently have two configurations where my detection says that SSP is
available
2013 Mar 12
3
Can't cross-compile from git now.
...ata_iterators.c:(.text+0x8d): undefined reference to `___stack_chk_guard'
>> .libs/metadata_iterators.o:metadata_iterators.c:(.text+0x121): undefined reference to `___stack_chk_guard'
>> .libs/metadata_iterators.o:metadata_iterators.c:(.text+0x14f): undefined reference to `___stack_chk_fail'
>>
>> The odd thinh is, if I use this MinGW cross-compiler to compile a small
>> program, it works perfectly. The problem aboce is related to building
>> a Windows DLL.
>
> I can get around the undefined symbol errors by doing make LDFLAGS=-lssp
> Perhaps Win...
2013 Mar 08
6
Can't cross-compile from git now.
...ck_chk_guard'
/home/user/FLAC_build/flac-05609d5/src/libFLAC/.libs/libFLAC.a(ogg_helper.o):ogg_helper.c:(.text+0x45c): undefined reference to `___stack_chk_guard'
/home/user/FLAC_build/flac-05609d5/src/libFLAC/.libs/libFLAC.a(ogg_helper.o):ogg_helper.c:(.text+0x463): undefined reference to `___stack_chk_fail'
collect2: ld returned 1 exit status
make[3]: *** [test_libFLAC++.exe] Error 1
make[3]: Leaving directory `/home/user/FLAC_build/flac-05609d5/src/test_libFLAC++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/FLAC_build/flac-05609d5/src'
make[1]: *** [all-re...
2013 Oct 15
0
[LLVMdev] [llvm-commits] r192750 - Enable MI Sched for x86.
...p), [[R1:%.+]]
>> -; CHECK: movb [[R1]], 8(%rsp)
>> -; CHECK: movb [[R0]], 38(%rsp)
>> +; CHECK: movb (%rsp), [[R1:%.+]]
>> +; CHECK: movb 30(%rsp), [[R0:%.+]]
>> +; CHECK: movb [[R1]], (%rsp)
>> +; CHECK: movb [[R0]], 30(%rsp)
>> ; CHECK: callq ___stack_chk_fail
>>
>> Modified: llvm/trunk/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll?rev=192750&r1=192749&r2=192750&view=diff
>> ================================================...