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

Build fails on macOS with gcc12: ld: unknown option: --allow-multiple-definition #4

Open
barracuda156 opened this issue Jan 22, 2023 · 0 comments

Comments

@barracuda156
Copy link

barracuda156 commented Jan 22, 2023

/opt/local/bin/gfortran-mp-12 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,--allow-multiple-definition -fdefault-real-8 -ffree-line-length-0 -cpp -Wimplicit-interface      -mmacosx-version-min=10.6 CMakeFiles/ExceptionContextStack_test.dir/ExceptionContextStack_test.f90.o -o ../../bin/ExceptionContextStack_test  -Wl,-rpath,/opt/local/lib ../../lib/libForEx.0.0.1.dylib 
ld: unknown option: --allow-multiple-definition
[ 90%] Linking Fortran executable ../../bin/ExceptionStack_test
cd /opt/local/var/macports/build/_opt_PPCRosettaPorts_fortran_ForEx/ForEx/work/build/src/tests && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/ExceptionStack_test.dir/link.txt --verbose=ON
collect2: error: ld returned 1 exit status

UPD. Apparently an existing issue: vanhauser-thc/thc-hydra#622

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

No branches or pull requests

1 participant