[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 :

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

2020-07-18 Thread legarrec.vincent at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217 --- Comment #6 from LE GARREC Vincent --- My log says : >>> Configuring source in >>> /var/tmp/portage/sys-devel/gcc-10.1.0-r2/work/gcc-10.1.0 ... * CFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer" * CXXFLAGS="-march=native

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

2020-07-17 Thread legarrec.vincent at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217 --- Comment #4 from LE GARREC Vincent --- I know that building the world with -O0 can be strange but it really helps me when a software crashes. Thanks, -lgcc_eh solves the problem. I will create a bugreport to glibc and hope they will fix it. Ma

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

2020-07-17 Thread legarrec.vincent at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217 --- Comment #2 from LE GARREC Vincent --- Are you sure ? I thought it the fault of GCC because : - glibc can be build if gcc was built with -O2 - glibc can't be build if gcc was built with -O0 I think the build of glibc should not depend on

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

2020-07-16 Thread legarrec.vincent at gmail dot com
other Assignee: unassigned at gcc dot gnu.org Reporter: legarrec.vincent at gmail dot com Target Milestone: --- Created attachment 48880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48880&action=edit glibc-build.zip I work on Gentoo. I compiled gcc with -O0 and I