[MacPorts] #36204: gcc47 empty string issue

MacPorts noreply at macports.org
Wed Sep 19 03:51:17 PDT 2012


#36204: gcc47 empty string issue
--------------------------+--------------------------------
  Reporter:  rob.patro@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------
Changes (by ecronin@…):

 * cc: adfernandes@… (added)


Comment:

 MacPorts Boost is currently only able to be built using the system
 compiler and system c++ stdlib.  When you use g++ you use the gcc stdlib,
 which is incompatible with errors like the one you saw.

 There's no good fix for this at this time.  You could try overriding the
 compiler for boost to use gcc47 with the understanding that this will then
 likely break any other macports which use boost.  But given bjam's
 craziness I'm unsure if that even works or if it will always pick up the
 system compiler a bit...

 You could try installing boost yourself manually into it's own namespace,
 and get bjam to use gcc-mp-4.7 as the compiler.  I use the versioned libs
 for boost when I need to deal with multiple compilers, it makes it a lot
 harder to accidentally link the wrong one in.

-- 
Ticket URL: <https://trac.macports.org/ticket/36204#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list