#51929: ld64-latest (and others?): default variant llvm38 breaks linking with pre-3.8-clang --------------------------+------------------------ Reporter: ionic@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by jeremyhu@…): {{{ $ otool -L llvm-3.*/lib/libLTO.dylib llvm-3.7/lib/libLTO.dylib: /opt/local/libexec/llvm-3.7/lib/libLTO.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/libexec/llvm-3.7/lib/libLLVM-3.7.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1237.0.0) /opt/local/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.4.0) /opt/local/lib/libedit.0.dylib (compatibility version 1.0.0, current version 1.54.0) /opt/local/lib/libncurses.6.dylib (compatibility version 6.0.0, current version 6.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0) llvm-3.8/lib/libLTO.dylib: @rpath/libLTO.dylib (compatibility version 1.0.0, current version 3.8.1) @rpath/libLLVM.dylib (compatibility version 1.0.0, current version 3.8.1) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0) llvm-3.9/lib/libLTO.dylib: @rpath/libLTO.dylib (compatibility version 1.0.0, current version 3.9.0) @rpath/libLLVM.dylib (compatibility version 1.0.0, current version 3.9.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0) }}} It would've been nice to have known about this before I revbumped all the llvm ports... sigh... Basically two options: 1) Change the compat version to 0.0.0 in libLTO in llvm-3.8+ 2) Change the compat and current versions in libLTO in llvm-3.7- -- Ticket URL: <https://trac.macports.org/ticket/51929#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X