https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/mtxclient-0.9.2 overwrites CFLAGS/CXXFLAGS or adds uncommon ones. Discovered on: amd64 (internal ref: guru_ci) NOTE: This QA check is tinderbox-only, there is the list of the flags that should be dropped out, if you think it is a false positive please let me know.
Created attachment 866045 [details] build.log build log and emerge --info
the fix to this was removed in bcc7513b14e8e4be58e71383a8737f6df9c0902d by cybertailor. i don't know why, so i'm cc-ing you. i personally don't think it matters much if the flag is disable-able or not but others disagree.
> i don't know why, so i'm cc-ing you PIE is unconditionally enabled in Gentoo toolchain, see: https://wiki.gentoo.org/wiki/Hardened/Toolchain Added "-DCMAKE_POSITION_INDEPENDENT_CODE=OFF" back. Also, congrats with a pretty bug number xD
(In reply to Anna Vyalkova from comment #3) > PIE is unconditionally enabled in Gentoo toolchain, see: > https://wiki.gentoo.org/wiki/Hardened/Toolchain that seems to be only true with USE="hardened"? > Added "-DCMAKE_POSITION_INDEPENDENT_CODE=OFF" back. > > Also, congrats with a pretty bug number xD 😎
(In reply to tastytea from comment #4) > that seems to be only true with USE="hardened"? No, it's enabled in "Vanilla / normal Gentoo" (see the table).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f141e90648218ad58acd62d57cc86ccd09cc900 commit 4f141e90648218ad58acd62d57cc86ccd09cc900 Author: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> AuthorDate: 2023-07-24 14:00:15 +0000 Commit: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> CommitDate: 2023-07-24 14:00:30 +0000 dev-libs/mtxclient: disable -fPIE Closes: https://bugs.gentoo.org/911111 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> dev-libs/mtxclient/mtxclient-0.9.2.ebuild | 1 + 1 file changed, 1 insertion(+)