This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/60568] lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599
- From: "nheghathivhistha at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Mar 2014 18:36:28 +0000
- Subject: [Bug target/60568] lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599
- Auto-submitted: auto-generated
- References: <bug-60568-4 at http dot gcc dot gnu dot org/bugzilla/>
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.