Summary: | sys-apps/lm-sensors - Building with -fPIE Fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Neko-san <gentoo.qxrin> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build Log
Emerge Environment |
Description
Neko-san
2023-10-02 19:10:27 UTC
Created attachment 872051 [details]
Emerge Environment
Attempting to build sys-apps/lm-sensors with -fPIE causes the build to fail with "recompile with -fPIC" errors that still appear even if you include -fPIC in the CFLAGS. -fPIE is already default on Gentoo (see /etc/clang/gentoo-hardened.cfg), and done that way it does not override e.g. -fpic or -fno-PIE unlike when you pass it in CFLAGS. Even without passing that, you'll still have /usr/bin/sensors be a pie executable. Ah, I wasn't aware of that; I've not seen it in the logs before so I just assumed it usually never gets passed |