Created attachment 551972 [details] build.log Error: invalid attempt to declare external version name as default in symbol `snd_dlopen@@ALSA_1.1.6 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
Created attachment 551974 [details] emerge --info
worked it compiles forcing -fno-lto
hi I have this same problem with alsa-1.2.1.2 and 1.2.2 but I am using slackware 14 not gentoo
(In reply to Manoa from comment #3) > hi I have this same problem with alsa-1.2.1.2 and 1.2.2 but I am using > slackware 14 not gentoo Manoa, as this is Gentoo and not Slackware 14, I cannot guarantee this will help, but like cryptospsy@gmx.com mentioned, forcing it to compile using the gcc option -fno-lto allowed it to compile. Please take a look at the links below for assistance as to how to force this compile option in Gentoo - I am not (at all) familiar with Slackware. I suspect there will be a script that the make process calls (the source code itself?) that identifies what flags the code should be compiled with. My naive guess would be to start researching there. https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Per-package_environment_variables https://wiki.gentoo.org/wiki/GCC_optimization
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c929441087eb65c4cdcfc61b29acb3a50cb954 commit 31c929441087eb65c4cdcfc61b29acb3a50cb954 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-18 15:19:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-18 15:19:47 +0000 media-libs/alsa-lib: filter LTO It's unsafe to use with alsa-lib (fails to build, can work with a hack, but that hack implies other issues). Closes: https://bugs.gentoo.org/616108 Closes: https://bugs.gentoo.org/669086 Signed-off-by: Sam James <sam@gentoo.org> media-libs/alsa-lib/alsa-lib-1.2.7.1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b380de62b52d318e12857c54a3d99c9c21e3b165 commit b380de62b52d318e12857c54a3d99c9c21e3b165 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-17 15:06:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-17 15:06:54 +0000 media-libs/alsa-lib: use new filter-lto Bug: https://bugs.gentoo.org/616108 Bug: https://bugs.gentoo.org/669086 Signed-off-by: Sam James <sam@gentoo.org> media-libs/alsa-lib/alsa-lib-1.2.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)