Summary: | media-libs/mesa-23.3.0-rc4 - Error: Dynamic loading not supported, bindgen (MUSL LLVM Profile) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Neko-san <gentoo.qxrin> |
Component: | Profiles | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build Log |
Description
Neko-san
2023-11-24 17:04:43 UTC
Created attachment 875541 [details]
Build Log
Please keep in mind the LLVM profiles are experimental still, even more so for LLVM+musl, and you shouldn't use them unless you're comfortable debugging and helping to solve bugs.
While here:
>CFLAGS="-march=znver2 -mtune=znver2 -pipe -minline-all-stringops -ftree-vectorize -O3 -fno-plt -fexceptions -ftrivial-auto-var-init=pattern -fstrict-flex-arrays=3 -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -Werror=array-bounds -fstack-clash-protection -fstack-protector-strong -fcf-protection -fPIC -ggdb3"
* -mtune is redundant with -march (-march is stronger)
* F_S=3/stack clash protection are already set by the hardened profiles, consider using those with a custom profile instead
* -fstack-protector-strong is already set by default, as is PIE (so no need for PIC)
Anyway, someone will need to look into this in depth. It's probably a repeat of the pesky issues we've already had when building e.g. Firefox.
It's possible that dev-lang/rust will work.
|