Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496228 - x11-misc/pcmanfm-0.9.10 - ld: pcmanfm-desktop.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
Summary: x11-misc/pcmanfm-0.9.10 - ld: pcmanfm-desktop.o: undefined reference to symbo...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
: 501542 501864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-27 21:12 UTC by Alex
Modified: 2014-02-22 14:23 UTC (History)
3 users (show)

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


Attachments
pcmanfm.logs.tar.gz (pcmanfm.logs.tar.gz,26.00 KB, application/gzip-compressed-tar)
2013-12-27 21:12 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2013-12-27 21:12:02 UTC
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
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-12-28 21:18:20 UTC
What libfm and glibc is this?
Comment 2 Alex 2013-12-29 01:10:41 UTC
(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")
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-12-29 10:46:30 UTC
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
Comment 4 flormel 2013-12-29 19:28:38 UTC
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
Comment 5 Alex 2013-12-29 19:46:14 UTC
(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.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2013-12-29 20:29:44 UTC
(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
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-17 13:03:34 UTC
*** Bug 501542 has been marked as a duplicate of this bug. ***
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-17 13:04:08 UTC
So it's either FIXED or OBSOLETE.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-22 14:23:34 UTC
*** Bug 501864 has been marked as a duplicate of this bug. ***