https://sourceware.org/bugzilla/show_bug.cgi?id=23600
--- Comment #6 from Mike Hommey <mh-sourceware at glandium dot org> --- It works, and it still detects cases where the IR file doesn't have the right architecture: $ clang -flto -o main.o -c main.c $ clang -flto -o main main.ld $ clang -m32 -flto -o main main.ld /tmp/bin/ld: i386:x86-64 architecture of input file `/tmp/lto-llvm-9bef61.o' is incompatible with i386 output clang: error: linker command failed with exit code 1 (use -v to see invocation) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils