Build with LLVM 3.6 broken on HEAD

#1

Since #27076, build with LLVM 3.6 is broken on HEAD.

$ make
compile: x86_64-unknown-linux-gnu/rt/rust_try.o
/usr/lib/llvm-3.6/bin/llc: /development/sanxiyn/rust/src/rt/rust_try.ll:18:5: error: expected '{' in function body
    personality i8* bitcast (i32 (...)* @rust_eh_personality_catch to i8*)
    ^
0 Likes

#2

Yes, that’s right. To fix this will take duplicating these bits of LLVM IR.

0 Likes

#3

@alexcrichton has the fix.

0 Likes

closed #4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

0 Likes