Re: gcc11 checksum error and failed compilation

Joe Borzellino via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Thank you for the help. 

The solution for me was in the link you provided. I did the easiest thing suggested which was to delete my 12.5.1 version of the command line tools (delete the folder /Library/Developer/CommandLIneTools) and install the 12.4 version of the command line tools that I downloaded from the Apple developer site. Run fink install gcc11 and this change allowed gcc11 to compile.

Of course, I now have a command line tools / OS mismatch, but I also downloaded the 12.5.1 command line tools from the Apple site and can reinstall them to correct the mismatch.

Joe

> On Sep 1, 2021, at 7:19 PM, Lucier, Bradley J <[email protected]> wrote:
> 
> Re:
> 
>> Message: 1
>> Date: Wed, 1 Sep 2021 03:10:49 +0000
>> From: "Joseph E. Borzellino" <[email protected] <mailto:[email protected]>>
>> To: "[email protected] <mailto:[email protected]>"
>> <[email protected] <mailto:[email protected]>>
>> Subject: [Fink-users] gcc11 checksum error and failed compilation
>> Message-ID: <[email protected] <mailto:[email protected]>>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> Hi all,
>> 
>> I have tried install gcc11 on a Big Sur 11.5.2 machine running with 1 build job (I also tried with multiple build jobs and got the same error). The failure I got was very similar to the one I found in the fink archives described below. I did not see a solution posted to this issue and so I am asking if this has been resolved yet. My fink install is a bootstrap install on new machine with no other packages installed besides running selfupdate. In my case I have only the command line tools installed and they are current.
>> 
>> Thanks,
>> Joe
> 
> This seems to be caused by this issue:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340>
> 
> It has been fixed on mainline gcc, but not on the branches (or any of the released versions).  The fix consists of passing extra options to the assembler.
> 
> One workaround is to add —without-build-config to the configure options, but I don’t really know what that does.  My gcc-11.2.0 is configured with
> 
> [Bradleys-Mac-mini:~] lucier% /usr/local/gcc-11.2.0/bin/gcc -v
> Using built-in specs.
> COLLECT_GCC=/usr/local/gcc-11.2.0/bin/gcc
> COLLECT_LTO_WRAPPER=/usr/local/gcc-11.2.0/libexec/gcc/x86_64-apple-darwin20.6.0/11.2.0/lto-wrapper
> Target: x86_64-apple-darwin20.6.0
> Configured with: ../../gcc-11.2.0/configure --disable-multilib --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk --without-build-config --enable-languages=c --prefix=/usr/local/gcc-11.2.0/
> Thread model: posix
> Supported LTO compression algorithms: zlib
> gcc version 11.2.0 (GCC) 
> 
> Brad
> _______________________________________________
> 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

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.