https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #8 from Dennis Clarke <dclarke at blastwave dot org> ---
That helps actually. However I am concerned that the folks from IBM are 
entirely focused on a particular power architecture and old powerpc cpus
are not considered.  Freescale implementations even less so. I note this
only because currect gcc demands the vector scalar hardware in order to
perform some floating point operations and any attempt to work around this
will fail. I will come back to that -mfloat128 option later and for now
just focus on a basic bootstrap. 

Since I am seeing a "Makefile:941" error I will assume it is GNU make having
an issue with line 941 of the Makefile and just now I see it again once I
remove ada from the mix : 

gmake[6]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/32/libssp'
gmake[5]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/32/libssp'
gmake[4]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libssp'
gmake[3]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libssp'
gmake[2]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libssp'
libtool: compile: 
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc-7.2.0/libbacktrace -I ../../../gcc-7.2.0/libbacktrace/../include
-I ../../../gcc-7.2.0/libbacktrace/../libgcc -I ../libgcc -funwind-tables
-frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wcast-qual -Werror -g -O2 -c ../../../gcc-7.2.0/libbacktrace/mmap.c -o mmap.o
>/dev/null 2>&1
/bin/bash ./libtool --tag=CC   --mode=link
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    -funwind-tables
-frandom-seed=libbacktrace.la -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wcast-qual -Werror  -g -O2   -o libbacktrace.la  atomic.lo dwarf.lo
fileline.lo posix.lo print.lo sort.lo state.lo backtrace.lo simple.lo elf.lo
mmapio.lo mmap.lo 
libtool: link: /usr/local/bin/ar rc .libs/libbacktrace.a .libs/atomic.o
.libs/dwarf.o .libs/fileline.o .libs/posix.o .libs/print.o .libs/sort.o
.libs/state.o .libs/backtrace.o .libs/simple.o .libs/elf.o .libs/mmapio.o
.libs/mmap.o 
libtool: link: /usr/local/bin/ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s
"../libbacktrace.la" "libbacktrace.la" )
gmake[3]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libbacktrace'
gmake[2]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libbacktrace'
gmake[1]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005'
gmake: *** [Makefile:941: all] Error 2
Command exited with non-zero status 2
real 11053.27
user 36092.39
sys 1976.30
nix_$ 


However there is no line 941 there : 

nix_$ wc -l powerpc64-unknown-linux-gnu/libbacktrace/Makefile
838 powerpc64-unknown-linux-gnu/libbacktrace/Makefile

Perhaps the primary build dir Makefile ?  

   935  # The target built for a native non-bootstrap build.
   936  .PHONY: all
   937  all:
   938          [ -f stage_final ] || echo stage3 > stage_final
   939          @r=`${PWD_COMMAND}`; export r; \
   940          s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
   941          $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
   942          @: $(MAKE); $(unstage)
   943          @r=`${PWD_COMMAND}`; export r; \
   944          s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
   945          if [ -f stage_last ]; then \
   946            TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,,
stage_last)_TFLAGS)"; \
   947            $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
   948          else \
   949            $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
   950              ; \
   951          fi \
   952          && :
   953

Hard to say really. 

I will circle back to the top of this mess and go deal with a 32-bit gc and
see if that makes and difference in this process.

Reply via email to