Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669086 - media-libs/alsa-lib-1.1.7 with lto: Invalid attempt to declare external version name as default in symbol `snd_dlopen@@ALSA_1.1.6
Summary: media-libs/alsa-lib-1.1.7 with lto: Invalid attempt to declare external versi...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-20 16:41 UTC by cryptopsy
Modified: 2020-05-26 18:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (media-libs:alsa-lib-1.1.7:20181020-183516.log,154.11 KB, text/x-log)
2018-10-20 16:41 UTC, cryptopsy
Details
emerge --info (info,5.24 KB, text/plain)
2018-10-20 16:42 UTC, cryptopsy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cryptopsy 2018-10-20 16:41:45 UTC
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:
Comment 1 cryptopsy 2018-10-20 16:42:09 UTC
Created attachment 551974 [details]
emerge --info
Comment 2 cryptopsy 2018-10-20 16:47:41 UTC
worked it compiles forcing -fno-lto
Comment 3 Manoa 2020-04-18 07:17:50 UTC
hi I have this same problem with alsa-1.2.1.2 and 1.2.2 but I am using slackware 14 not gentoo
Comment 4 carytherock 2020-05-26 18:49:48 UTC
(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