Summary: | dev-libs/rocr-runtime does not respect CFLAGS/LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | dschridde+gentoobugs, esigra, gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 59506, 331933 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2020-06-27 14:17:09 UTC
Created attachment 646802 [details]
build.log
build log and emerge --info
Actually I think it respects CFLAGS, but overrides CXXFLAGS. Since all the code is C++, that does not help much, though... It also overrides LDFLAGS for shared libraries (executables would be fine, which is maybe why Gentoo QA checks do not detect it) and the only thing it builds is a shared library. Compiler flags: C -pipe -O2 -march=znver1 -g C++ -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-co mment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-error=unused-but-set-variable Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Module -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Shared -Wl,-Bdynamic -Wl,-z,noexecstack -Wl,/tmp/portage/dev-libs/rocr-runtime-3.5.0/work/ROCR-Runtime-rocm-3.5.0/src/hsacore.so.link -Wl,--version-script=/tmp/portage/dev-libs/rocr-runtime-3.5.0/work/ROCR-Runtime-rocm-3.5.0/src/hsacore.so.def -Wl,--enable-new-dtags Quite annoying when you try to build it with debug symbols and splitdebug... |