[MacPorts] #55857: boost @1.66.0_0 +universal has no i386 symbols

MacPorts noreply at macports.org
Tue Feb 20 13:07:05 UTC 2018


#55857: boost @1.66.0_0 +universal has no i386 symbols
-----------------------+------------------
  Reporter:  devernay  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  i386
      Port:  boost     |
-----------------------+------------------

Comment (by devernay):

 I examined the main.log from boost 1.65.1 and boost 1.66, and found out
 that in the boost 1.66 build the arch flags are only passed at link time,
 but not at compile time.
 boost 1.65.1_3 passes the arch flags both at compile time and at link
 time.
 So this is not a compiler issue, but rather a build issue.

 I managed to build a universal boost 1.66.0 by manually adding "-arch i386
 -arch x86_64" to  the write_jam line in the Portfile.

--
Ticket URL: <https://trac.macports.org/ticket/55857#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list