https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-boot/limine-8.0.5 overwrites CFLAGS/CXXFLAGS or adds uncommon ones. Discovered on: amd64 (internal ref: guru_ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0069
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.
guru_ci has reproduced this issue with version 8.0.13 - Updating summary.
guru_ci has reproduced this issue with version 8.0.14 - Updating summary.
guru_ci has reproduced this issue with version 8.1.1 - Updating summary.
guru_ci has reproduced this issue with version 8.1.2 - Updating summary.
guru_ci has reproduced this issue with version 8.3.2 - Updating summary.
guru_ci has reproduced this issue with version 8.4.0 - Updating summary.
guru_ci has reproduced this issue with version 8.5.0 - Updating summary.