ubuntu build memtest86+-4.00 error: undefined reference to `__stack_chk_fail_local'
来源:互联网 发布:red5 oflademo 源码 编辑:程序博客网 时间:2024/06/05 01:07
今天build memtest86+-4.00出现错误 :
lib.o: In function `.L156':lib.c:(.text+0xd52): undefined reference to `__stack_chk_fail_local'
ld: memtest_shared: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Nonrepresentable section on outputmake: *** [memtest_shared] Error 1
解决方法参考:
This has probably to do with stack smash protection which is enabled by default in Edgy gcc - I had similar issues when trying to compile patched kernels.
To circumvent this issue you could compile with CFLAGS="-fno-stack-protector -fno-stack-protector-all" to turn it off.
But note that this only fixes the symptom.
If I'm not wrong the Edgy packages are all built with their shipped gcc and so this *should* work without turning it off.
- ubuntu build memtest86+-4.00 error: undefined reference to `__stack_chk_fail_local'
- ubuntu中undefined reference to `__stack_chk_fail_local\'问题怎么解决
- fix android build error : undefined reference to __gxx_personality_v0 and __cxa_end_cleanup
- ubuntu下编译undefined reference to error解决方法
- error: undefined reference to `pthread_create'
- undefined reference to error解决方法
- undefined reference to error解决方法
- undefined reference to error解决方法
- undefined reference to error解决方法
- error:undefined reference to `coloured_LED_init'
- undefined reference to error解决方法
- Error: undefined reference to png_check_sig
- undefined reference to error解决方法
- Error:undefined reference to '_imp__ZN12QApplicationC1ERiPPci'
- error: undefined reference to 'property_set
- undefined reference to error解决方法
- error undefined reference to '__android_log_print'
- error: undefined reference to '__aeabi_uidiv'
- ARM 中断处理和中断控制器
- 2009 年度最佳 jQuery 插件
- ZOJ Problem Set - 1797 Least Common Multiple(最小公倍数)
- 破解RVDS2.2方法分享
- 嵌入式Web服务器Boa的移植及其应用
- ubuntu build memtest86+-4.00 error: undefined reference to `__stack_chk_fail_local'
- WPF UI多国语言的实现
- tomcat解析(-)学习如何写一个servlet服务器
- 字符串整理系列
- 在UltraWebGrid上写浮点数会出错,怎么办?
- 利用vba 调用outlook发邮件
- Linux静态/动态链接库的创建和使用
- 网页中嵌入Flash的方法讨论
- ARM中断处理的安全性与高效性研究