Issue 91739
Summary [BOLT] If the compiler includes the -static option, Bolt cannot run properly.
Labels BOLT
Assignees
Reporter YuanSha0
     
If the compiler is invoked with the -static option during compilation, using bolt optimization will result in a segmentation fault. It runs normally without the -static option.
 
My compilation option is `clang -Wl,-q -Dconst= -Wall -Wpointer-arith -Wstrict-prototypes -Os -std=c89 -static`

![image](https://github.com/llvm/llvm-project/assets/81171521/8e481bf8-dafe-4ee5-843c-66616544acd5)

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to