Re: Failed: phase compiling: gcc10-10.3.0-3 failed

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 1/1/22 3:37 AM, FG wrote:
> Hello,
> 
> In the course of a selfupdate fink wants to install gcc-10.
> The compilation fails.
> 
> Giuliano
> 
> =====
> 
> .
> .
> .
> .
> In file included from ../../gcc-10.3.0/gcc/genconfig.c:25:
> ./tm.h:19: note: this is the location of the previous definition
>     19 | # define DEF_LD64 "85.2"
>        |
> /opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/./prev-gcc/xg++ -B/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/./prev-gcc/ -B/opt/sw/lib/gcc10/x86_64-apple-darwin19.6.0/bin/ -nostdinc++ -B/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/prev-x86_64-apple-darwin19.6.0/libstdc++-v3/src/.libs -B/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/prev-x86_64-apple-darwin19.6.0/libstdc++-v3/libsupc++/.libs  -I/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/prev-x86_64-apple-darwin19.6.0/libstdc++-v3/include/x86_64-apple-darwin19.6.0  -I/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/prev-x86_64-apple-darwin19.6.0/libstdc++-v3/include  -I/opt/sw/src/fink.build/gcc10-10.3.0-3/gcc-10.3.0/libstdc++-v3/libsupc++ -L/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/prev-x86_6
 4-apple-darwin19.6.0/libstdc++-v3/src/.libs -L/opt/sw/src/fink.build/gcc10-10.3.0-3/darwin_objdir/prev-x86_64-apple-darwin19.6.0/libstdc++-v3/libsupc++/.libs -B/opt/sw/lib/gcc10/x86_64-apple-darwin19.6.0/bin/ -B/opt/sw/lib/gcc10/x86_64-apple-darwin19.6.0/lib/ -isystem /opt/sw/lib/gcc10/x86_64-apple-darwin19.6.0/include -isystem /opt/sw/lib/gcc10/x86_64-apple-darwin19.6.0/sys-include   -fno-checking  -c   -g -O2  -fno-checking  -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc-10.3.0/gcc -I../../gcc-10.3.
 0/gcc/build -I../../gcc-10.3.0/gcc/../include  -I../../gcc-10.3.0/gcc/../libcpp/include -I/opt/sw/include \
>                  -o build/gentarget-def.o ../../gcc-10.3.0/gcc/gentarget-def.c
> In file included from ./tm.h:27,
>                   from ../../gcc-10.3.0/gcc/gentarget-def.c:23:
> ../../gcc-10.3.0/gcc/config/darwin.h:1107: warning: "DEF_LD64" redefined
>   1107 | #define DEF_LD64 LD64_VERSION
>        |
> In file included from ../../gcc-10.3.0/gcc/gentarget-def.c:23:
> ./tm.h:19: note: this is the location of the previous definition
>     19 | # define DEF_LD64 "85.2"
>        |
> In file included from ../../gcc-10.3.0/gcc/config/i386/i386.h:2361,
>                   from ./tm.h:26,
>                   from ../../gcc-10.3.0/gcc/genconfig.c:25:
> ../../gcc-10.3.0/gcc/wide-int-bitmask.h:45:1: internal compiler error: Segmentation fault: 11
>     45 | }
>        | ^
> libbacktrace could not find executable to open

The last package using gcc10 has been moved to gcc11, which should build 
on every macOS version we support. You should be able to remove the 
gcc10, gcc10-compiler, and gcc10-shlibs packages without anything 
complaning.

Hanspeter

-- 
"Of the 22 schools in the top 20..."
   --Unknown


_______________________________________________
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.