Re: Build of gcc12 fails
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 9/26/22 10:00 AM, Derek Homeier wrote: > On 25 Sep 2022, at 2:19 am, Lucier, Bradley J <[email protected]> wrote: >> >> A linker snapshot was created at: >> /tmp/libstdc++.6.dylib-2022-09-24-173114.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 >> > Confirmed for 12.2 and 11.3 as well. > Apparently this is a bug in Xcode 14, see > https://stackoverflow.com/questions/73714336/xcode-update-to-version-2395-ld-compile-problem-occurs-computedatomcount-m > > and the linked discussions. At the moment the only way around this seems downgrading back > to Command Line Tools 13.4 as described in > https://github.com/iains/gcc-12-branch/issues/6#issuecomment-1255285642 > > (as noted there, the first 14.1 beta does not yet include a fix; I also installed the full Xcode 14.1 beta 2, > but this comes with the same CLT version as the first one). Supposedly, Command Line Tools 14.1 beta 3 fixes the problem. Hanspeter -- 92% of all statistics are made up. _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users