Failed: phase compiling: gcc10-10.3.0-3 failed

FG <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
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_64-
 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

Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/fink/fink-distributions/issues> for instructions.
make[3]: *** [build/genconfig.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gfortran.pod gcc.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [Makefile:22691: bootstrap] Error 2
### execution of /tmp/fink.KsKtj failed, exit code 2
### execution of /tmp/fink.NV4ch failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-gcc10-10.3.0-3
(Reading database ... 306479 files and directories currently installed.)
Removing fink-buildlock-gcc10-10.3.0-3 ...
Failed: phase compiling: gcc10-10.3.0-3 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's 
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

        The Fink Users List <[email protected]>
        The Fink Beginners List <[email protected]>.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.45.4
Distribution version: selfupdate-rsync Sat Jan  1 09:45:53 2022, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 12.4
No recognized Xcode CLI installed
Max. Fink build jobs:  12



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