Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS, Clang] ld: multiple SYMDEF member files found in an archive #108

Open
barracuda156 opened this issue Feb 3, 2024 · 0 comments · May be fixed by #110
Open

[macOS, Clang] ld: multiple SYMDEF member files found in an archive #108

barracuda156 opened this issue Feb 3, 2024 · 0 comments · May be fixed by #110

Comments

@barracuda156
Copy link

I cannot get around the following (tried different Clangs, tried both Ninja and Makefiles, same error):

FAILED: iv/lv5/lv5 
: && /opt/local/bin/clang++-mp-15 -pipe -Os -DNDEBUG -I/opt/local/include -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -std=c++11 -stdlib=libc++ -fno-operator-names -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk iv/lv5/CMakeFiles/lv5.dir/main.cc.o -o iv/lv5/lv5 -L/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_devel_iv/iv/work/iv-64c3a9c7c517063f29d90d449180ea8f6f4d946f/iv/lv5/third_party/netlib_dtoa   -L/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_devel_iv/iv/work/iv-64c3a9c7c517063f29d90d449180ea8f6f4d946f/iv/lv5/third_party/v8_dtoa -Wl,-rpath,/opt/local/lib  iv/lv5/liblv5.a  /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib/libm.tbd  /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib/libc++.tbd && :
ld: multiple SYMDEF member files found in an archive in '/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_devel_iv/iv/work/build/iv/lv5/liblv5.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

@Constellation Any solution?

P. S. This does not affect a build with GCC, at least on my PowerPC system with gcc 13.2.0.

barracuda156 added a commit to barracuda156/iv that referenced this issue Feb 3, 2024
@barracuda156 barracuda156 linked a pull request Feb 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant