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

GCC 12.2.0 Error #1434

Closed
1111mp opened this issue Sep 15, 2022 · 0 comments
Closed

GCC 12.2.0 Error #1434

1111mp opened this issue Sep 15, 2022 · 0 comments

Comments

@1111mp
Copy link

1111mp commented Sep 15, 2022

Describe the bug
Compile Error

To Reproduce
Steps to reproduce the behavior:

sudo make & sudo make install

[1] 90719
Consolidate compiler generated dependencies of target jsoncpp_lib
Consolidate compiler generated dependencies of target jsoncpp_lib
[  5%] Linking CXX shared library ../../lib/libjsoncpp.dylib
[  5%] Linking CXX shared library ../../lib/libjsoncpp.dylib
0  0x1005301a0  __assert_rtn + 140
1  0x1003b7a8c  mach_o::relocatable::Parser<arm64>::parse(mach_o::relocatable::ParserOptions const&) + 4536
2  0x100389d38  mach_o::relocatable::Parser<arm64>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 148
3  0x1003f24ac  ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool) + 1468
0  0x102e5c1a0  __assert_rtn + 140
1  0x102ce3a8c  mach_o::relocatable::Parser<arm64>::parse(mach_o::relocatable::ParserOptions const&) + 4536
2  0x102cb5d38  mach_o::relocatable::Parser<arm64>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 148
3  0x102d1e4ac  ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool) + 1468
4  0x102d21360  ___ZN2ld4tool10InputFilesC2ER7Options_block_invoke + 56
5  0x19550c1f4  _dispatch_client_callout2 + 20
6  0x19551f954  _dispatch_apply_invoke + 224
4  0x1003f5360  ___ZN2ld4tool10InputFilesC2ER7Options_block_invoke + 56
7  0x19550c1b4  _dispatch_client_callout + 20
5  0x19550c1f4  _dispatch_client_callout2 + 20
8  0x19551da04  _dispatch_root_queue_drain + 680
9  0x19551e104  _dispatch_worker_thread2 + 164
10  0x1956cc324  _pthread_wqthread + 228
6  0x19551f954  _dispatch_apply_invoke + 224
7  0x19550c1b4  _dispatch_client_callout + 20
A linker snapshot was created at:
        /tmp/libjsoncpp.1.9.5.dylib-2022-09-15-162743.ld-snapshot-1
ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more atoms allocated than expected"), function parse, file macho_relocatable_file.cpp, line 2061.
8  0x19551da04  _dispatch_root_queue_drain + 680
9  0x19551e104  _dispatch_worker_thread2 + 164
10  0x1956cc324  _pthread_wqthread + 228
A linker snapshot was created at:
        /tmp/libjsoncpp.1.9.5.dylib-2022-09-15-162743.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
collect2: error: ld returned 1 exit status
make[2]: make[2]: *** [lib/libjsoncpp.1.9.5.dylib] Error 1*** [lib/libjsoncpp.1.9.5.dylib] Error 1

make[1]: *** [src/lib_json/CMakeFiles/jsoncpp_lib.dir/all] Error 2
make[1]: *** [src/lib_json/CMakeFiles/jsoncpp_lib.dir/all] Error 2
make: *** [all] Error 2
make: *** [all] Error 2

Desktop (please complete the following information):

  • OS: M1 MacOS
  • Meson version macOS Monterey 12.6
  • Ninja version GCC 12.2.0
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