https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67716
--- Comment #2 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Kazumoto Kojima from comment #1) > Could you send .i and .s files with adding -save-temps to the problematic > compilation as usual? The build directory is useful only for the same > debian environment. Oops, I somehow assumed they were in the tarball but I didn't really check. Attaching the .i and .s files that were generated with: glaubitz@tirpitz:~/debian/libraw-test/libraw-qDq4D3/libraw-0.16.2/internal$ gcc -save-temps -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -c dcraw_common.cpp -fPIC -DPIC -o dcraw_common.o -I .. dcraw_common.s: Assembler messages: dcraw_common.s: Error: unaligned opcodes detected in executable segment glaubitz@tirpitz:~/debian/libraw-test/libraw-qDq4D3/libraw-0.16.2/internal$ Interestingly, this problem doesn't occur when omitting all the extra options: glaubitz@tirpitz:~/debian/libraw-test/libraw-qDq4D3/libraw-0.16.2/internal$ gcc -c dcraw_common.cpp -o dcraw_common.o -I .. glaubitz@tirpitz:~/debian/libraw-test/libraw-qDq4D3/libraw-0.16.2/internal$ vs. glaubitz@tirpitz:~/debian/libraw-test/libraw-qDq4D3/libraw-0.16.2/internal$ gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -c dcraw_common.cpp -fPIC -DPIC -o dcraw_common.o -I .. /tmp/ccJsoST5.s: Assembler messages: /tmp/ccJsoST5.s: Error: unaligned opcodes detected in executable segment glaubitz@tirpitz:~/debian/libraw-test/libraw-qDq4D3/libraw-0.16.2/internal$ I assume, it's one of -f options, but I didn't check yet. Adrian