Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950346 - gnustep-base/gnustep-base-1.30.0: doesn't respect CFLAGS due to using flags from gnustep-base/gnustep-make
Summary: gnustep-base/gnustep-base-1.30.0: doesn't respect CFLAGS due to using flags f...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-27 15:30 UTC by Alfred Wingate
Modified: 2025-02-27 23:58 UTC (History)
0 users

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


Attachments
gnustep-base/gnustep-base-1.30.0 build.log (xz compressed) CFLAGS appended with -std=gnu17 in user env (gnustep-base-1.30.0:20250227-152826.log.xz,13.16 KB, application/x-xz)
2025-02-27 15:30 UTC, Alfred Wingate
Details
emerge --info (emerge--info.txt,22.98 KB, text/plain)
2025-02-27 15:31 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2025-02-27 15:30:59 UTC
Created attachment 920021 [details]
gnustep-base/gnustep-base-1.30.0 build.log (xz compressed) CFLAGS appended with -std=gnu17 in user env

https://github.com/gnustep/libs-base/blob/master/configure.ac#L128

This is similar issue to what qmake suffers from. The flags that are configured when building gnustep-make will be used for gnustep-base.

I was affected by this when I tried to take a shortcut with a C23 issue (GCC-15 changed the default to it) by setting an older C standard via CFLAGS.
Comment 1 Alfred Wingate 2025-02-27 15:31:31 UTC
Created attachment 920022 [details]
emerge --info
Comment 2 Alfred Wingate 2025-02-27 23:58:10 UTC
Now I hit another problem where adding or removing flags would help, but due to this I have to build both packages with these workarounds.

In this case an ICE from lld on the llvm profile when built against libobjc2.
https://github.com/llvm/llvm-project/issues/60137