Skip to content

Fix typo in build debug command line#449

Open
rwmcguir wants to merge 2 commits intooneapi-src:masterfrom
rwmcguir:russ_fix_abi
Open

Fix typo in build debug command line#449
rwmcguir wants to merge 2 commits intooneapi-src:masterfrom
rwmcguir:russ_fix_abi

Conversation

@rwmcguir
Copy link
Copy Markdown
Contributor

@rwmcguir rwmcguir commented Apr 27, 2026

This should fix the remaining build errors in the ABI checker, we use a lot of lambda functions in the L0 Loader and there is specific command line option that needed enabled. Additionally disabling -lto ensure linker is not doing overly clever things that prevent ABI checkers in corner conditions.

+Include Lambda's in symbol resolution
+Disable link time optimization to help ABI -fno-lto

Signed-off-by: Russell McGuire <[email protected]>
@rwmcguir rwmcguir requested a review from nrspruit April 27, 2026 23:33
@rwmcguir
Copy link
Copy Markdown
Contributor Author

Note how clean this step is now:

Dump ABI Base:
2m 38s
Run ./abi-dumper.pl
./abi-dumper.pl
./base/build/lib/libze_loader.so
-vnum $(cat ./base/build/VERSION) -lambda
-public-headers ./base/include
-o ./base.dump
shell: /usr/bin/bash -e {0}
Detect public symbols
Reading debug-info
Reading v-tables
Creating ABI dump

The object ABI has been dumped to:
./base.dump

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