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
Created attachment 360886 [details] emerge --info
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.
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!
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
Created attachment 366968 [details] emerge log new log using C locale that is better for debugging
Created attachment 366970 [details] emerge --info another emerge --info (two month later with a new gcc)
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.
There is still the problem with GCC-4.8.2 Berthold Humkamp fix is still working: LDFLAGS="-lm" emerge media-sound/gnome-alsamixer
I just hit the issue on three systems.
*** Bug 494720 has been marked as a duplicate of this bug. ***
*** Bug 496900 has been marked as a duplicate of this bug. ***
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
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...
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.
removed