Opened 7 years ago

Closed 7 years ago

#53476 closed defect (fixed)

instruction on LibcxxOnOlderSystems fails on snowleopard

Reported by: chrisjogorman Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: wiki Version: 2.4.0
Keywords: Cc:
Port: ld64

Description (last modified by ryandesign (Ryan Carsten Schmidt))

wiki:LibcxxOnOlderSystems

Instruction 9 states to run

sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236

The code fails with

Error: ld64: Variant llvm39 conflicts with llvm34
Error: Unable to open port: Error evaluating variants

Change History (5)

comment:1 Changed 7 years ago by chrisjogorman

running instruction 9 with -llvm34 +llvm39 allows the build to proceed

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Component: portswiki

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… removed
Description: modified (diff)
Keywords: snowleopard ld64 removed
Owner: set to jeremyhu
Status: newassigned

comment:4 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Did you skip step 7, which was:

  1. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3.9):
    sudo port -v -n upgrade --force --enforce-variants cctools -llvm34 +llvm39
    sudo port -v -n upgrade --force --enforce-variants ld64 -llvm34 +llvm39
    

comment:5 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

Per email, everything looked good on second attempt, but there was an issue with step #12 not deactivating ld64_127. I've added that deactivation to the instructions.

Note: See TracTickets for help on using tickets.