View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008094CMakeModulespublic2008-11-13 16:282009-02-23 22:41
ReporterJulien Langer 
Assigned ToPhilip Lowman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in VersionCMake-2-6 
Summary0008094: FindBoost doesn't find libs on MacOS X (maybe only with boost 1.37)
DescriptionFindBoost.cmake doesn't find the boost libs on MacOSX. It looks for a compiler tag of "xgcc" but the libs actually only have the "gcc" compiler tag in their filename. A comment in the FindBoost.cmake script states that the "xgcc" tag was introduced in boost 1.36, so it's quite possible that it got removed again in 1.37.
It's probably a good idea if FindBoost would look for both the "xgcc" and "gcc" tags on MacOS.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014106)
Tom Vercauteren (reporter)
2008-11-14 03:56

This bug is related to bug 0008059:
http://www.itk.org/Bug/view.php?id=8059 [^]

Specifying the boost compiler suffix manually would allow to find boost even if the suffix is not the one expected by FindBoost.cmake.
(0014600)
Philip Lowman (developer)
2009-01-18 02:44

The latest FindBoost.cmake in CVS supports specifying the boost compiler suffix manually. I will look into adding support for searching both -xgcc and -gcc on MacOS.
(0014608)
Philip Lowman (developer)
2009-01-18 17:50

I can't easily add support for checking multiple compiler tags in the existing FindBoost.

It looks like -xgcc is the default for Darwin builds of GCC from Boost 1.36 and onward. Is it possible that you're using a non-darwin build of GCC which may account for the problem? Any additional information you can provide about your compilation environment would be helpful.
(0014704)
Philip Lowman (developer)
2009-01-29 00:05

Not sure what to do about this bug lacking more information. I can clearly see "-xgcc" in bjam starting in 1.36.0 which is all I have to go on (I also lack a Mac for testing). I also know next to nothing about MacOS development environments...

Please feel free to reopen with more information.

note addition of "xgcc" for Darwin case in 1.36.0

https://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/tools/build/v2/tools/common.jam [^]
https://svn.boost.org/svn/boost/tags/release/Boost_1_36_0/tools/build/v2/tools/common.jam [^]
https://svn.boost.org/svn/boost/tags/release/Boost_1_37_0/tools/build/v2/tools/common.jam [^]


 Issue History
Date Modified Username Field Change
2008-11-13 16:28 Julien Langer New Issue
2008-11-14 03:56 Tom Vercauteren Note Added: 0014106
2008-12-15 10:00 Bill Hoffman Status new => assigned
2008-12-15 10:00 Bill Hoffman Assigned To => Douglas Gregor
2009-01-18 02:44 Philip Lowman Note Added: 0014600
2009-01-18 17:50 Philip Lowman Note Added: 0014608
2009-01-29 00:05 Philip Lowman Note Added: 0014704
2009-01-29 00:05 Philip Lowman Assigned To Douglas Gregor => Philip Lowman
2009-01-29 00:05 Philip Lowman Status assigned => resolved
2009-01-29 00:05 Philip Lowman Resolution open => unable to reproduce
2009-02-23 22:41 Philip Lowman Status resolved => closed
2009-02-23 22:41 Philip Lowman Fixed in Version => CMake-2-6


Copyright © 2000 - 2018 MantisBT Team