[Bug target/60568] lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599
nheghathivhistha at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 19 18:36:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60568
--- Comment #5 from David Kredba <nheghathivhistha at gmail dot com> ---
This is the command line that is enough to get the crash:
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -fPIC -flto=4 -fuse-linker-plugin -O2
-ggdb -pipe -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx
-Wl,-Bsymbolic,-znoexecstack -flto=4 -fuse-linker-plugin -Wl,--as-needed
-Wl,-O2 -Wl,-flto -O2 -ggdb -pipe -march=core2 -mtune=core2 -mno-3dnow
-mno-sse4.2 -mno-avx -o libx265.so.0.8
encoder/CMakeFiles/encoder.dir/__/Lib/TLibEncoder/TEncSbac.cpp.o -r -nostdlib
When I ran it with
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -fPIC -flto=4 -fuse-linker-plugin -O2
-ggdb -pipe -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx
-Wl,-Bsymbolic,-znoexecstack -flto=4 -fuse-linker-plugin -Wl,--as-needed
-Wl,-O2 -Wl,-flto -O2 -ggdb -pipe -march=core2 -mtune=core2 -mno-3dnow
-mno-sse4.2 -mno-avx -o libx265.so.0.8 -fpreprocessed ./TEncSbac.ii -r
-nostdlib
(or without -fpreprocessed) it does link the library!
I attached gzipped object file got using -march/tune=core2.
More information about the Gcc-bugs
mailing list