[Bug other/96217] undefined reference to `_Unwind_Resume'

2020-10-29 Thread legarrec.vincent at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217 --- Comment #9 from LE GARREC Vincent --- For the record : the bug I opened in glibc bugzilla : https://sourceware.org/bugzilla/show_bug.cgi?id=26260 Like gcc, glibc doesn't supports -O0

[Bug other/96217] undefined reference to `_Unwind_Resume'

2020-10-28 Thread legarrec.vincent at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217 --- Comment #8 from LE GARREC Vincent --- Thanks, you're right. I was able to build with CFLAGS="-march=native -ggdb2 -g2 -pipe -fno-omit-frame-pointer -O0" CXXFLAGS="-march=native -ggdb2 -g2 -pipe -fno-omit-frame-pointer -O0" but with adding :