Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489312 - games-strategy/glob2-0.9.4.4: underlinking w/ sys-devel/binutils-2.23.2: src/Building.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
Summary: games-strategy/glob2-0.9.4.4: underlinking w/ sys-devel/binutils-2.23.2: src/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 21:23 UTC by Petr Zima
Modified: 2013-10-27 16:49 UTC (History)
0 users

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


Attachments
Patch which fixes the problem. (glob2-0.9.4.4-underlink.patch,810 bytes, patch)
2013-10-24 21:24 UTC, Petr Zima
Details | Diff
Ebuild which uses the patch. (glob2-0.9.4.4.ebuild.patch,508 bytes, patch)
2013-10-24 21:26 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2013-10-24 21:23:41 UTC
Install fails during compile phase due to underlinking with recent binutils:


/usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: src/Building.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in DSO /usr/lib/libboost_system.so.1.53.0 so try adding it to the linker command line
/usr/lib/libboost_system.so.1.53.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

Obviously it needs -lboost_system.

Reproducible: Always
Comment 1 Petr Zima 2013-10-24 21:24:43 UTC
Created attachment 361840 [details, diff]
Patch which fixes the problem.
Comment 2 Petr Zima 2013-10-24 21:26:29 UTC
Created attachment 361842 [details, diff]
Ebuild which uses the patch.
Comment 3 Julian Ospald 2013-10-27 16:49:50 UTC
+  27 Oct 2013; Julian Ospald <hasufell@gentoo.org>
+  +files/glob2-0.9.4.4-underlinking.patch, +glob2-0.9.4.4-r1.ebuild:
+  fix underlinking and other stuff wrt #489312
+