Summary: | app-crypt/tpm-emulator fails to build with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rico32 |
Priority: | High | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 186548 [details]
Build log
Reordering the library flag fixes this. Addition to src_unpack(): sed -i 's/LDFLAGS/LDLIBS/' tpmd/Makefile Btw, this bug did not show up with LD_FLAGS="-Wl,--as-needed", I had to use an as-needed gcc profile to reproduce it. Resolved in 0.5.1 release. |