[MacPorts] #62329: clang-11: targeted OS version does not support -reexported_symbols_list on 10.6
MacPorts
noreply at macports.org
Sat Feb 20 16:30:25 UTC 2021
#62329: clang-11: targeted OS version does not support -reexported_symbols_list on
10.6
--------------------+----------------------
Reporter: mojca | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: clang-11
--------------------+----------------------
When trying to install `clang-11` on 10.6 I'm getting a build failure
saying
{{{
ld: targeted OS version does not support -reexported_symbols_list
}}}
{{{
[ 25%] Linking CXX shared library ../../../lib/libc++.dylib
cd /path/to/clang-11/work/build/projects/libcxx/src &&
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cxx_shared.dir/link.txt --verbose=ON
/opt/local/bin/clang++-mp-9.0 -pipe -Os -isysroot/ -fPIC -fvisibility-
inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall
-Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-
initializers -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-
default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -arch x86_64 -mmacosx-version-min=10.6 -dynamiclib
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-headerpad_max_install_names /opt/local/lib/libMacportsLegacySupport.a
-Wl,-syslibroot,/ -compatibility_version 1.0.0 -current_version 1.0.0 -o
../../../lib/libc++.1.0.dylib -install_name @rpath/libc++.1.dylib
CMakeFiles/cxx_shared.dir/algorithm.cpp.o
CMakeFiles/cxx_shared.dir/any.cpp.o CMakeFiles/cxx_shared.dir/atomic.cpp.o
CMakeFiles/cxx_shared.dir/barrier.cpp.o
CMakeFiles/cxx_shared.dir/bind.cpp.o
CMakeFiles/cxx_shared.dir/charconv.cpp.o
CMakeFiles/cxx_shared.dir/chrono.cpp.o
CMakeFiles/cxx_shared.dir/condition_variable.cpp.o
CMakeFiles/cxx_shared.dir/condition_variable_destructor.cpp.o
CMakeFiles/cxx_shared.dir/debug.cpp.o
CMakeFiles/cxx_shared.dir/exception.cpp.o
CMakeFiles/cxx_shared.dir/functional.cpp.o
CMakeFiles/cxx_shared.dir/future.cpp.o
CMakeFiles/cxx_shared.dir/hash.cpp.o CMakeFiles/cxx_shared.dir/ios.cpp.o
CMakeFiles/cxx_shared.dir/iostream.cpp.o
CMakeFiles/cxx_shared.dir/locale.cpp.o
CMakeFiles/cxx_shared.dir/memory.cpp.o
CMakeFiles/cxx_shared.dir/mutex.cpp.o
CMakeFiles/cxx_shared.dir/mutex_destructor.cpp.o
CMakeFiles/cxx_shared.dir/new.cpp.o
CMakeFiles/cxx_shared.dir/optional.cpp.o
CMakeFiles/cxx_shared.dir/random.cpp.o
CMakeFiles/cxx_shared.dir/random_shuffle.cpp.o
CMakeFiles/cxx_shared.dir/regex.cpp.o
CMakeFiles/cxx_shared.dir/shared_mutex.cpp.o
CMakeFiles/cxx_shared.dir/stdexcept.cpp.o
CMakeFiles/cxx_shared.dir/string.cpp.o
CMakeFiles/cxx_shared.dir/strstream.cpp.o
CMakeFiles/cxx_shared.dir/system_error.cpp.o
CMakeFiles/cxx_shared.dir/thread.cpp.o
CMakeFiles/cxx_shared.dir/typeinfo.cpp.o
CMakeFiles/cxx_shared.dir/utility.cpp.o
CMakeFiles/cxx_shared.dir/valarray.cpp.o
CMakeFiles/cxx_shared.dir/variant.cpp.o
CMakeFiles/cxx_shared.dir/vector.cpp.o
CMakeFiles/cxx_shared.dir/filesystem/operations.cpp.o
CMakeFiles/cxx_shared.dir/filesystem/directory_iterator.cpp.o
CMakeFiles/cxx_shared.dir/filesystem/int128_builtins.cpp.o
-Wl,-rpath, at loader_path/../lib -nodefaultlibs -lSystem -lc
../../../lib/libc++abi.1.0.dylib
-Wl,-unexported_symbols_list,/path/to/clang-11/work/llvm-
project/llvm/projects/libcxx/src/../lib/libc++unexp.exp
-Wl,-reexported_symbols_list,/path/to/clang-11/work/llvm-
project/llvm/projects/libcxx/src/../lib/libc++abi.v2.exp
-Wl,-force_symbols_not_weak_list,/path/to/clang-11/work/llvm-
project/llvm/projects/libcxx/src/../lib/notweak.exp
-Wl,-force_symbols_weak_list,/path/to/clang-11/work/llvm-
project/llvm/projects/libcxx/src/../lib/weak.exp
-Wl,-reexported_symbols_list,/path/to/clang-11/work/llvm-
project/llvm/projects/libcxx/src/../lib/libc++abi-exceptions.exp
ld: targeted OS version does not support -reexported_symbols_list
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62329>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list