checking whether symbol versioning is supported... no configure: error: Symbol versioning is not supported. Use --disable-symbol-versioning to build without. Reproducible: Always
Created attachment 915554 [details] emerge --info
Created attachment 915555 [details] configure log
``` configure:8957: clang -o conftest -D_FORTIFY_SOURCE=3 -O2 -pipe -std=c23 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--build-id conftest.c -lstdc++ >&5 configure:8957: $? = 0 configure:8969: result: yes configure:9034: checking whether symbol versioning is supported configure:9048: clang -c -D_FORTIFY_SOURCE=3 -O2 -pipe -std=c23 conftest.c >&5 conftest.c:45:1: error: expected parameter declarator 45 | NEW_VERSION (foo, ELFUTILS_12.12) | ^ conftest.c:43:43: note: expanded from macro 'NEW_VERSION' 43 | #define NEW_VERSION(name, version) asm (".symver " #name "," #name "@@@" #version); | ^ conftest.c:45:1: error: expected ')' conftest.c:43:43: note: expanded from macro 'NEW_VERSION' 43 | #define NEW_VERSION(name, version) asm (".symver " #name "," #name "@@@" #version); | ^ conftest.c:45:1: note: to match this '(' conftest.c:43:42: note: expanded from macro 'NEW_VERSION' 43 | #define NEW_VERSION(name, version) asm (".symver " #name "," #name "@@@" #version); | ^ conftest.c:45:1: error: a type specifier is required for all declarations 45 | NEW_VERSION (foo, ELFUTILS_12.12) | ^ conftest.c:43:38: note: expanded from macro 'NEW_VERSION' 43 | #define NEW_VERSION(name, version) asm (".symver " #name "," #name "@@@" #version); | ^ 3 errors generated. configure:9048: $? = 1 configure: failed program was: | /* confdefs.h */ ``` ???? That said, we could just disable symbol versioning for musl.
Problem was caused by -std=c23 left in CFLAGS, without it it builds