Summary: | x11-misc/pcmanfm-0.9.10 - ld: pcmanfm-desktop.o: undefined reference to symbol 'floor@@GLIBC_2.2.5' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex <fhlfibh> |
Component: | Current packages | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | chris+gentoo-bugzilla, luc_pierard_de_maujouy, lxde+disabled |
Priority: | Normal | ||
Version: | 10.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=494440 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | pcmanfm.logs.tar.gz |
What libfm and glibc is this? (In reply to Markos Chandras from comment #1) > What libfm and glibc is this? [I] x11-libs/libfm Available versions: 0.1.17-r1 ~1.1.4(0/4.7.1) **9999(0/4.7.1) {debug doc examples udev vala} Installed versions: 0.1.17-r1(20:49:52 10/20/13)(-debug -examples -udev) [I] sys-libs/glibc Available versions: (2.2) ~2.9_p20081201-r3^s 2.10.1-r1^s 2.11.3^s ~2.12.1-r3^s 2.12.2^s ~2.13-r2^s 2.13-r4^s ~2.14^s ~2.14.1-r2^s 2.14.1-r3^s ~2.15-r1^s 2.15-r2^s 2.15-r3^s 2.16.0^s ~2.17^s **2.18^s **9999^s {debug gd hardened multilib nscd profile selinux suid systemtap vanilla CROSSCOMPILE_OPTS="headers-only"} Installed versions: 2.16.0(2.2)^s(22:34:25 11/28/13)(multilib -debug -gd -hardened -profile -selinux -suid -systemtap -vanilla CROSSCOMPILE_OPTS="-headers-only") I am not sure what's causing this. We are already in the process of stabilizing a newer pcmanfm so i think this bug will not be fixed adding "-lm" to LDFLAGS will help. echo "x11-misc/pcmanfm libm.conf" >> /etc/portage/package.env echo LDFLAGS="${LDFLAGS} -lm" > /etc/portage/env/libm.conf (In reply to flormel from comment #4) > adding "-lm" to LDFLAGS will help. > echo "x11-misc/pcmanfm libm.conf" >> /etc/portage/package.env > echo LDFLAGS="${LDFLAGS} -lm" > /etc/portage/env/libm.conf It helped, thanks! Pcmanfm now emerges smoothly. Hope it'll be noticed in the next release. (In reply to Alex from comment #5) > (In reply to flormel from comment #4) > > adding "-lm" to LDFLAGS will help. > > echo "x11-misc/pcmanfm libm.conf" >> /etc/portage/package.env > > echo LDFLAGS="${LDFLAGS} -lm" > /etc/portage/env/libm.conf > > It helped, thanks! Pcmanfm now emerges smoothly. > Hope it'll be noticed in the next release. This is already fixed in the 1.X.X releases. Closing this as WONTFIX in favor of https://bugs.gentoo.org/show_bug.cgi?id=494440 *** Bug 501542 has been marked as a duplicate of this bug. *** So it's either FIXED or OBSOLETE. *** Bug 501864 has been marked as a duplicate of this bug. *** |
Created attachment 366326 [details] pcmanfm.logs.tar.gz On stable release "emerge pcmanfm" fails and reports problem with undefined symbols: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: pcmanfm-desktop.o: undefined reference to symbol 'floor@@GLIBC_2.2.5' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line /lib64/libm.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status I never had problems with pcmanfm before and have very little idea about how to fix it. Also I just occasionaly noticed that it started to segfault, but I'm not sure since what time exactly it started: [ 2452.188596] pcmanfm[1816]: segfault at 20 ip 00007f59a1f2b7c3 sp 00007fff5a3d0948 error 6 in libfm.so.1.0.0[7f59a1f1f000+1d000] I just recompiled my kernel 3.10.17-gentoo (had to enable some modules), don't know if it might cause the above problem. Gzipped logs attached: * build.log * emerge --info '=x11-misc/pcmanfm-0.9.10::gentoo' * emerge -pqv '=x11-misc/pcmanfm-0.9.10::gentoo' * environment Hope it'll help. Regards