Summary: | [guru] sys-boot/limine-8.0.11 overwrites CFLAGS/CXXFLAGS or adds uncommon ones | ||
---|---|---|---|
Product: | GURU | Reporter: | Agostino Sarubbo <ago> |
Component: | Package issues | Assignee: | Kacper Słomiński <kacper.slominski72> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | guru-bugs, kacper.slominski72 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 785607 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2024-08-20 07:28:29 UTC
Created attachment 900777 [details]
build.log
build log and emerge --info
The special flags are only applied when building freestanding binaries (the EFI executables, etc). I think the flags passed there are justified: -Os - to keep the size of the BIOS binaries small (there is an upper size limit), -g - for stacktraces, -fPIE - forcing PIE as that's a requirement for EFI executables, -march=* - forcing a base ISA to avoid extensions that need to be enabled before use. The stuff that runs under Linux (the `limine` command) is compiled with the user-supplied CFLAGS as expected. guru_ci has reproduced this issue with version 8.0.6 - Updating summary. guru_ci has reproduced this issue with version 8.0.7 - Updating summary. guru_ci has reproduced this issue with version 8.0.9 - Updating summary. guru_ci has reproduced this issue with version 8.0.11 - Updating summary. |