Skip to content

Conversation

@ramosian-glider
Copy link
Member

Florent Revest reported ThinLTO builds failing with the following error:

:2:1: error: symbol 'after_vmentry_label' is already defined
after_vmentry_label:
^
error: cannot compile inline asm

, which turned out to be caused by the compiler not respecting noinline.

Adding attribute((optnone)) fixes the problem.


Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md


Florent Revest reported ThinLTO builds failing with the following error:

  <inline asm>:2:1: error: symbol 'after_vmentry_label' is already defined
  after_vmentry_label:
  ^
  error: cannot compile inline asm

, which turned out to be caused by the compiler not respecting `noinline`.

Adding __attribute__((optnone)) (or optimize("O0") on GCC) fixes the issue.
@ramosian-glider ramosian-glider added this pull request to the merge queue Nov 28, 2025
Merged via the queue into google:master with commit 01c07bf Nov 28, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants