You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
BOLT-WARNING: split function detected on input : __assert_fail_base.cold/1. The support is limited in relocation mode.
BOLT-ERROR: symbol seen in the middle of the function __BOLT_FDE_FUNCat47d47f. Skipping.
BOLT-ERROR: symbol seen in the middle of the function __BOLT_FDE_FUNCat4b1869. Skipping.
BOLT-ERROR: symbol seen in the middle of the function __BOLT_FDE_FUNCat4b1882. Skipping.
BOLT-ERROR: symbol seen in the middle of the function __BOLT_FDE_FUNCat4b1903. Skipping.
BOLT-ERROR: PC-relative operand can't be evaluated:
**movq %cs:0xf3700(%rip), %r8**
<MCInst #1784 MOV64rm <MCOperand Reg:128> <MCOperand Reg:55> <MCOperand Imm:1> <MCOperand Reg:0> <MCOperand Imm:997120> <MCOperand Reg:12>>
BOLT-ERROR: cannot handle PC-relative operand at 0x4016d6. Skipping function flow_cost/1(*2).
Below flags were added to the SPEC config specifically for running with bolt.
Debugging the error, seems to come from BinaryFunction::disassemble() function, which flags that there could be potential error in disassembling it at MC layer from the error.
Can there be more inputs and details on what's going wrong here?
Is it the compiled binary which has issues ?
or is there any issue with disassembling in BOLT ?
I have a good idea on what's going on. The problem is related to the disassembly of the instruction that you see in the dump. I believe the code is specific to ICC. You can try to manually disable processing of the function containing the instruction with -skip-funcs= option, while I'm working on the fix.
You mention that you've added -fno-inline-functions option specifically for BOLT. Why is that?
It was to disable function in-lining for optimizations and to be explicit and not have optimizations triggered, we are working on an internal use-case[1] for performance measurement using great framework which BOLT provides at binary and MC layer of LLVM.
I am trying to run
SPEC CPU 2017
rate runs, usingllvm-bolt
for which I am trying to generate the bolt cfg specifically for the ICC binaries.Here's how I am running it.
I get a few errors as
Below flags were added to the SPEC config specifically for running with bolt.
Debugging the error, seems to come from
BinaryFunction::disassemble()
function, which flags that there could be potential error in disassembling it at MC layer from the error.I also also verified the
rela.txt
in binary.Thanks again for helping for all the related queries.
The text was updated successfully, but these errors were encountered: