Summary: | dev-libs/boost-1.55.0-r1 - /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/avx2intrin.h:737:62: error: ‘__builtin_ia32_psrlwi256’ needs isa option -m32 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steffen Hau <steffen> |
Component: | [OLD] Library | Assignee: | C++ Team [disbanded] <cpp+disabled> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | steffen |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://svn.boost.org/trac/boost/ticket/9766 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | dev-libs/boost-1.55-r1 build.log |
Description
Steffen Hau
2014-03-06 11:38:19 UTC
Created attachment 371848 [details]
dev-libs/boost-1.55-r1 build.log
dev-libs/boost-1.54-r1 also fails to compile with the same error. Try with safe CFLAGS[1], like "-O2 -march=native -pipe" for example. [1] - https://wiki.gentoo.org/wiki/Safe_Cflags As you suggested, I tried compiling with safe CFLAGS and I can confirm boost did compile. I then tried to use my original flags but with "-fno-lto" added and it still compiled. It looks like a LTO issue. I was wondering because I was able to compile boost-1.53 with LTO enabled. Since LTO is enabled per default in GCC for some time and it isn't mentioned as not allowed to file bugs if used, it sounds like LTO is supported in gentoo. Is anybody able to reproduce the error by using my {C,CXX,LD}FLAGS? Should this reported to upstream gcc/boost developers? (In reply to Steffen Hau from comment #4) > As you suggested, I tried compiling with safe CFLAGS and I can confirm boost > did compile. I then tried to use my original flags but with "-fno-lto" added > and it still compiled. It looks like a LTO issue. I was wondering because I > was able to compile boost-1.53 with LTO enabled. > > Since LTO is enabled per default in GCC for some time and it isn't mentioned > as not allowed to file bugs if used, it sounds like LTO is supported in > gentoo. Is anybody able to reproduce the error by using my {C,CXX,LD}FLAGS? > Should this reported to upstream gcc/boost developers? Support for LTO enabled in toolchain since gcc 4.6, but usage of -flto in CFLAGS is not well supported. Please, file a bug about this to Boost's upstream, if it has not done yet. As said in upstream bugreport, usage of -flto for boost is not supported now due to bug in gcc(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61043) Closing as UPSTREAM |