This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
LLVM ERROR: Undefined temporary symbol
from llvm-bolt, no binary generated
#20
Comments
Here's -v output around the failing section:
|
Failing message looks to be emitted from |
It looks like you've hit a bug with our unreachable code elimination optimization. Thanks for reporting it! As a workaround, could you try to run BOLT with additional flags |
That looks to be a viable workaround- thanks! |
rafaelauler
added a commit
that referenced
this issue
May 10, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
May 11, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
aaupov
pushed a commit
that referenced
this issue
May 12, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
May 25, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
May 25, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
May 27, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Jun 4, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Jun 18, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
aaupov
pushed a commit
that referenced
this issue
Jun 25, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Jul 6, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Jul 16, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Jul 21, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Jul 23, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Aug 5, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Aug 6, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Aug 17, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Aug 25, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Sep 2, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
rafaelauler
added a commit
that referenced
this issue
Sep 9, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from commit b12d104bea21ac9b90be98599258db4aa5f6dbdd)
aaupov
pushed a commit
that referenced
this issue
Dec 31, 2021
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from FBD8730269)
maksfb
pushed a commit
that referenced
this issue
Jan 10, 2022
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from FBD8730269)
maksfb
pushed a commit
that referenced
this issue
Jan 11, 2022
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from FBD8730269)
maksfb
pushed a commit
that referenced
this issue
Jan 11, 2022
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes #20 (cherry picked from FBD8730269)
mem-frob
pushed a commit
to draperlaboratory/hope-llvm-project
that referenced
this issue
Oct 7, 2022
Summary: While removing unreachable blocks, we may decide to remove a block that is listed as a target in a jump table entry. If we do that, this label will be then undefined and LLVM assembler will crash. Mitigate this for now by not removing such blocks, as we don't support removing unnecessary jump tables yet. Fixes facebookarchive/BOLT#20 (cherry picked from FBD8730269)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Invocation as
> sudo PATH=$PATH:build/bin build/bin/llvm-bolt cookiemonster -o cookiemonster.bolt reorder-blocks=cache+ -reorder-functions=hfsort+ -split-functions=3 -split-all-cold -split-eh -dyno-stats -update-debug-sections -data=perf.fdata
results in output
I'm at a loss for what could cause this.
The text was updated successfully, but these errors were encountered: