Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938223 - [guru] sys-boot/limine-8.5.0 overwrites CFLAGS/CXXFLAGS or adds uncommon ones
Summary: [guru] sys-boot/limine-8.5.0 overwrites CFLAGS/CXXFLAGS or adds uncommon ones
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kacper Słomiński
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2024-08-20 07:28 UTC by Agostino Sarubbo
Modified: 2024-12-03 07:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,653.74 KB, text/plain)
2024-08-20 07:28 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-08-20 07:28:29 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-20 07:28:31 UTC
Created attachment 900777 [details]
build.log

build log and emerge --info
Comment 2 Kacper Słomiński 2024-08-20 11:39:54 UTC
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.
Comment 3 Agostino Sarubbo gentoo-dev 2024-08-30 14:32:30 UTC
guru_ci has reproduced this issue with version 8.0.6 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-09-04 06:40:30 UTC
guru_ci has reproduced this issue with version 8.0.7 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-09-07 12:24:10 UTC
guru_ci has reproduced this issue with version 8.0.9 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2024-09-12 06:50:57 UTC
guru_ci has reproduced this issue with version 8.0.11 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2024-09-20 06:43:06 UTC
guru_ci has reproduced this issue with version 8.0.13 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2024-10-04 07:08:43 UTC
guru_ci has reproduced this issue with version 8.0.14 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2024-10-14 07:52:36 UTC
guru_ci has reproduced this issue with version 8.1.1 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2024-10-21 06:53:36 UTC
guru_ci has reproduced this issue with version 8.1.2 - Updating summary.
Comment 11 Agostino Sarubbo gentoo-dev 2024-11-03 08:07:34 UTC
guru_ci has reproduced this issue with version 8.3.2 - Updating summary.
Comment 12 Agostino Sarubbo gentoo-dev 2024-11-11 08:32:47 UTC
guru_ci has reproduced this issue with version 8.4.0 - Updating summary.
Comment 13 Agostino Sarubbo gentoo-dev 2024-12-03 07:42:43 UTC
guru_ci has reproduced this issue with version 8.5.0 - Updating summary.