Skip to content

MPLAPACK build is broken on macOS Monterey, Xcode 1.4.0 #60

@nakatamaho

Description

@nakatamaho

libtool: link: ccache g++-mp-10 -fopenmp -I../../../../include -I/Volumes/Users/maho/tm/mplapack/external/i/GMP/include/ -I/Volumes/Users/maho/
tm/mplapack/external/i/MPFR/include/ -I/Volumes/Users/mah
o/tm/mplapack/external/i/MPC/include/ -I../../../../mpfrc++ -D___MPLAPACK_BUILD_WITH_MPFR___ -D___MPLAPACK_INTERNAL___ -I../../../../mplapack/test/fable -march=native -O2 -finline-functions -funroll-all-loops -Wl,-rpath -Wl,/Volumes/Users/maho/MPLAPACK/lib -o .libs/xlintstR_mpfr ../common/xlintstR_mpfr-Rchkaa.o -Wl,-bind_at_load -L../../../../mplapack/test/lin /Volumes/Users/maho/tm/mplapack/mplapack/test/lin/.libs/liblin_mpfr.dylib /Volumes/Users/maho/tm/mplapack/mplapack/test/lin/.libs/liblin_override_mpfr.dylib -L../../../../mplapack/test/matgen /Volumes/Users/maho/tm/mplapack/mplapack/test/matgen/.libs/libmatgen_mpfr.dylib -L../../../../mplapack/reference /Volumes/Users/maho/tm/mplapack/mplapack/reference/.libs/libmplapack_mpfr.dylib -L../../../../mpblas/reference /Volumes/Users/maho/tm/mplapack/mpblas/reference/.libs/libmpblas_mpfr.dylib -L/Volumes/Users/maho/tm/mplapack/external/i/MPC/lib/ -L/Volumes/Users/maho/tm/mplapack/external/i/MPFR/lib/ -L/Volumes/Users/maho/tm/mplapack/external/i/GMP/lib/ /Volumes/Users/maho/tm/mplapack/external/mpc/../i/MPC/lib/libmpc.dylib -L/Volumes/Users/maho/tm/mplapack/external/i/GMP/lib /Volumes/Users/maho/tm/mplapack/external/mpfr/../i/MPFR/lib/libmpfr.dylib /Volumes/Users/maho/tm/mplapack/external/gmp/../i/GMP/lib/libgmpxx.dylib /Volumes/Users/maho/tm/mplapack/external/gmp/../i/GMP/lib/libgmp.dylib -lm -L/Volumes/Users/maho/tm/mplapack/external/i/LAPACK/lib/ -llapacke -llapack -lblas -lgfortran -fopenmp
0 0x104d7affa __assert_rtn + 139
1 0x104bae28d mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions const&) + 4989
2 0x104b9ef8f mach_o::relocatable::Parser<x86_64>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 207
3 0x104c159d4 ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool) + 2036
4 0x104c18fa0 ___ZN2ld4tool10InputFilesC2ER7Options_block_invoke + 48
5 0x7ff803e3534a _dispatch_client_callout2 + 8
6 0x7ff803e468f5 _dispatch_apply_invoke + 213
7 0x7ff803e35317 _dispatch_client_callout + 8
8 0x7ff803e44c0c _dispatch_root_queue_drain + 673
9 0x7ff803e4525c _dispatch_worker_thread2 + 160
10 0x7ff803fe8f8a _pthread_wqthread + 256
A linker snapshot was created at:
/tmp/xlintstR_mpfr-2022-09-28-072133.ld-snapshot
ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more atoms allocated than expected"), function parse, file macho_relocatable_file.cpp, line 2061.
collect2: error: ld returned 1 exit status
make[4]: *** [xlintstR_mpfr] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

% xcodebuild -version
Xcode 14.0.1
Build version 14A400

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions