Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488028 - =media-sound/gnome-alsamixer-0.9.6 - libm.so: could not read symbols: Invalid operation - Referenced symbol "rint@@GLIBC_2.2.5" not defined
Summary: =media-sound/gnome-alsamixer-0.9.6 - libm.so: could not read symbols: Invalid...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard: Pending removal: 2015-01-01
Keywords: PMASKED
: 494720 496900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-14 15:55 UTC by Zentoo
Modified: 2015-02-03 14:53 UTC (History)
9 users (show)

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


Attachments
emerge log for media-sound/gnome-alsamixer-0.9.6 (media-sound:gnome-alsamixer-0.9.6:20131014-155309.log.gz,4.86 KB, application/gzip)
2013-10-14 15:55 UTC, Zentoo
Details
emerge --info (emerge-info.out.gz,3.12 KB, application/gzip)
2013-10-14 15:56 UTC, Zentoo
Details
emerge log (media-sound:gnome-alsamixer-0.9.6:20140104-163721.log.gz,4.83 KB, application/gzip)
2014-01-04 16:42 UTC, Zentoo
Details
emerge --info (einfo.txt,6.27 KB, text/plain)
2014-01-04 16:43 UTC, Zentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2013-10-14 15:55:42 UTC
Created attachment 360884 [details]
emerge log for media-sound/gnome-alsamixer-0.9.6

emerge media-sound/gnome-alsamixer-0.9.6 failed with glibc 2.17 and gcc 4.8.1 on ~amd64 system:

Is it missing the -lm LDFLAG ?

/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: gam-slider-pan.o: référence au symbole non défini «rint@@GLIBC_2.2.5»
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: note: «rint@@GLIBC_2.2.5» est défini dans le DSO /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../lib64/libm.so donc essayez de l'ajouter à la ligne de commande du lieur
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../lib64/libm.so: could not read symbols: Opération invalide
collect2: erreur: ld a retourné 1 code d'état d'exécution
make[2]: *** [gnome-alsamixer] Erreur 1
make[2] : on quitte le répertoire « /gentoo/tmp/portage/media-sound/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6/src »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /gentoo/tmp/portage/media-sound/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6 »
make: *** [all-recursive-am] Erreur 2
emake failed
 * ERROR: media-sound/gnome-alsamixer-0.9.6::gentoo failed (compile phase):
 *   emake failed
Comment 1 Zentoo 2013-10-14 15:56:19 UTC
Created attachment 360886 [details]
emerge --info
Comment 2 Michael Hampicke 2013-12-06 21:02:48 UTC
I can conform this bug. I already tried reinstalling glibc, did not help. Please tell me what info you need and I'll provide it.
Comment 3 Berthold Humkamp 2014-01-03 21:57:39 UTC
I've got the same error and a similar error with jack-rack.

Look at bug #463696, there's a patch appended. May be it's the right idea here too!
Comment 4 Zentoo 2014-01-04 16:38:43 UTC
The problem is still here:

x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-O1 -o gnome-alsamixer  gam-main.o gam-app.o gam-mixer.o gam-slider.o gam-slider-pan.o gam-slider-dual.o gam-toggle.o gam-prefs-dlg.o gam-props-dlg.o -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -pthread -lgmodule-2.0 -pthread -lgobject-2.0 -lglib-2.0 -lasound  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: gam-slider-pan.o: undefined reference to symbol 'rint@@GLIBC_2.2.5'
/lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:192: recipe for target 'gnome-alsamixer' failed
make[2]: *** [gnome-alsamixer] Error 1
make[2]: Leaving directory '/gentoo/tmp/portage/media-sound/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6/src'
Makefile:162: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/gentoo/tmp/portage/media-sound/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6'
Makefile:307: recipe for target 'all-recursive-am' failed
make: *** [all-recursive-am] Error 2
emake failed
Comment 5 Zentoo 2014-01-04 16:42:05 UTC
Created attachment 366968 [details]
emerge log

new log using C locale that is better for debugging
Comment 6 Zentoo 2014-01-04 16:43:48 UTC
Created attachment 366970 [details]
emerge --info

another emerge --info (two month later with a new gcc)
Comment 7 Berthold Humkamp 2014-01-06 09:06:17 UTC
I had a few packages with similar errors in the last 2 weeks, seems as if they occure since I use gcc-4.7.3.

In one of them the solution was, to avoid underlinking:

LDFLAGS="-lm" emerge gnome-alsamixer

Worked for me without errors, but this is just a workaround, not the solution: 

The package has to be fixed in the way, giving explicitly the needed libs to the linker command, so that underlinking will work in the future.

This workaround will create superfluous work in the future, because of revdep-rebuild commands now needed when underlying libraries will change.
Comment 8 Zentoo 2014-06-10 10:01:58 UTC
There is still the problem with GCC-4.8.2

Berthold Humkamp fix is still working:

 LDFLAGS="-lm" emerge media-sound/gnome-alsamixer
Comment 9 Juergen Rose 2014-09-24 08:48:45 UTC
I just hit the issue on three systems.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2014-09-27 02:12:37 UTC
*** Bug 494720 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2014-09-27 02:13:59 UTC
*** Bug 496900 has been marked as a duplicate of this bug. ***
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2014-09-27 02:16:42 UTC
Easy fix to add -lm to Makefile's, but the package is from 2004'ish and is still using GNOME 2.x core library libgnomeui-2
This is propably good candidate for lastriting, as there are plenty of replacements to go around, such as volti, volwheel, volumeicon, and so forth
CCing treecleaners to kill it from tree
Comment 13 John Bytheway 2014-10-01 22:11:16 UTC
All of those suggested alternatives require a system tray.  Does anyone have any suggested alternatives that don't?  (I run enlightenment, which does not have a system tray).  I also tried alsamixergui, which runs, but I couldn't figure out how to change the volume with it.

Perhaps I should just use the pulse equivalents now...
Comment 14 Berthold Humkamp 2014-11-18 09:20:26 UTC
The point is, that this package drives the alsa parameters directly. I often have the problem, that just the main trigger is muted. Some tools mute and put loudness level to zero. But just rising loudness will not unmute after that.

So if this little helper goes away, I will have to use the command-line alsa-mixer. I can do, but it's not really comfortable.

Maybe the other tools get fixed, then this will not be needed anymore.

I would prefer, we'll fix it for the moment, especially for it's not much work.

The other decision may be done a bit later.
Comment 15 Pacho Ramos gentoo-dev 2015-02-03 14:53:25 UTC
removed