This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/60568] lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]