Clang: fix versioned symbol build errors
7 Jan
2024
7 Jan
'24
2:43 p.m.
alsa-project/alsa-lib pull request #376 was opened from nvinson:
When building alsa-lib with the following settings ``` CFLAGS='-O3 -pipe' CXXFLAGS='-O3 -pipe' LDFLAGS='-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind' ``` the build fails with errors similar to ``` ld.lld: error: version script assignment of 'ALSA_0.9.5' to symbol 'alsa_lisp' failed: symbol not defined ``` This PR corrects that issue and additional issues found while making corrections so alsa-lib will successfully build using clang and ld.lld.
Request URL : https://github.com/alsa-project/alsa-lib/pull/376 Patch URL : https://github.com/alsa-project/alsa-lib/pull/376.patch Repository URL: https://github.com/alsa-project/alsa-lib
350
Age (days ago)
350
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub pull_request - opened