Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29994 - [boost, boost-libs] Rebuild needed due to gcc 4.7

Attached to Project: Arch Linux
Opened by Isaac Dupree (idupree) - Thursday, 24 May 2012, 02:42 GMT
Last edited by Allan McRae (Allan) - Friday, 25 May 2012, 08:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm getting linker errors like

"`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED1Ev]' of output/optimized/polygon_collision_detection.o: defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED5Ev]' of output/optimized/polygon_collision_detection.o"

from my project I'm developing using Boost. Rebuilding boost via ABS fixed this.

( cf. http://stackoverflow.com/questions/9811503/unusual-c-linker-error-defined-in-discarded-section . The last answer (who referred to archlinux) clued me in. That answer was dated before GCC 4.7. I suspected another rebuild might be needed for GCC 4.7, and indeed it worked. )
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 25 May 2012, 08:47 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Thursday, 24 May 2012, 08:41 GMT
boost 1.49.0-2 is already built with gcc 4.7
Comment by Isaac Dupree (idupree) - Thursday, 24 May 2012, 14:21 GMT
Hmm, rebuilding boost (1.49.0-2 from ABS) nevertheless fixed my errors. I wonder why. Yes, I had boost-1.49.0-2 installed previously and that was the version that led to my linking errors.
Comment by Ionut Biru (wonder) - Thursday, 24 May 2012, 14:30 GMT
maybe you had a local version that you compiled before it hit repos. please try to install boost and boost-libs from extra and let me know if you still have problems.
Comment by Isaac Dupree (idupree) - Thursday, 24 May 2012, 15:00 GMT
Hmm, reinstalling boost 1.49.0-2 from repos worked for me, even though I'm sure I had the official version before*. Shrugs. Sorry for the noise.

* (I just installed this installation of Archlinux a couple days ago from scratch)
Comment by Ionut Biru (wonder) - Thursday, 24 May 2012, 15:11 GMT
be sure you reinstall boost-libs as well.

Loading...