Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30202 closed enhancement (fixed)

boost 1.46.1 visibility issues

Reported by: ejtttje@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc:
Port: boost

Description

I ran into the linker errors described in Boost ticket 4594: https://svn.boost.org/trac/boost/ticket/4594

I decided to try Boost 1.47, and have updated the Portfile. However, as noted in the boost ticket, although 1.47 addresses some of the linker visibility issues, it does not solve all of them, notably those in thread/exceptions.hpp. I have added a patch file to the port to address this (and also submitted the patch upstream to boost on that ticket).

Attachments (4)

Portfile.diff (1.6 KB) - added by ejtttje@… 13 years ago.
Portfile update for 1.47
patch-thread_visibility.diff (2.0 KB) - added by ejtttje@… 13 years ago.
fixes linkage visibility issues in exception and thread modules
patch-tools_build_v2_engine_src_build.sh.diff (274 bytes) - added by ejtttje@… 13 years ago.
file location changed in boost 1.47
patch-tools_build_v2_engine_src_build.jam.diff (496 bytes) - added by ejtttje@… 13 years ago.
file location changed in boost 1.47

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by ejtttje@…

Attachment: Portfile.diff added

Portfile update for 1.47

Changed 13 years ago by ejtttje@…

fixes linkage visibility issues in exception and thread modules

Changed 13 years ago by ejtttje@…

file location changed in boost 1.47

Changed 13 years ago by ejtttje@…

file location changed in boost 1.47

comment:1 Changed 13 years ago by ejtttje@…

I did not test python variants btw.

comment:2 Changed 13 years ago by ejtttje@…

Cc: ejtttje@… added

Cc Me!

comment:3 Changed 13 years ago by mf2k (Frank Schima)

Cc: ejtttje@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to adfernandes@…
Type: defectenhancement

comment:4 Changed 13 years ago by adfernandes (Andrew Fernandes)

Fantastic - thank you so much for the patches!

Will test and commit in a day or so.

comment:5 Changed 13 years ago by adfernandes (Andrew Fernandes)

Okay - MPI and Python variants are verified to work.

Again, Ethan - a very, very big thank-you. Every time I deal with bjam and that [much-swearing-deleted] build system of boost's, I want to start drinking heavily. :-)

Committed in r80816.

Cheers, -Andrew.

comment:6 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: newclosed

comment:7 Changed 13 years ago by ejtttje@…

Haha, no problem, you haven't seen the build system monstrosity I've hacked together for my main project. ;)

That python stuff does looks pretty hairy though.

Note: See TracTickets for help on using tickets.