Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726858 - dev-lang/fpc does not respect CFLAGS/LDFLAGS
Summary: dev-lang/fpc does not respect CFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-06-03 06:51 UTC by Agostino Sarubbo
Modified: 2024-04-06 08:19 UTC (History)
2 users (show)

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

build.log (build.log,471.33 KB, text/plain)
2020-06-03 06:51 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-03 06:51:45 UTC
This is an auto-filed bug because dev-lang/fpc does not respect CFLAGS/LDFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-03 06:51:51 UTC
Created attachment 643186 [details]

build log and emerge --info
Comment 2 Paul Jewell 2024-04-06 08:19:53 UTC
It seems that the QA_FLAGS_IGNORED has been set correctly in the current version of fpc in portage (dev-lang/fpc-3.2.2), so in my opinion this bug can be closed.