[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #16 from Peter Dyballa --- Even when Makefile has: 361 # Create links to files specified in config.host. 362 LIBGCC_LINKS = enable-execute-stack.c \ 363unwind.h md-unwind-def.h md-unwind-support.h \ 364sfp-machine.h gthr-default.h 365 366 enable-execute-stack.c: $(srcdir)/$(enable_execute_stack) 367 -$(LN_S) $< $@ 368 sleep 2 369 unwind.h: $(srcdir)/$(unwind_header) 370 -$(LN_S) $< $@ 371 sleep 2 372 md-unwind-def.h: $(srcdir)/config/$(md_unwind_def_header) 373 -$(LN_S) $< $@ 374 sleep 2 375 md-unwind-support.h: $(srcdir)/config/$(md_unwind_header) 376 -$(LN_S) $< $@ 377 sleep 2 378 sfp-machine.h: $(srcdir)/config/$(sfp_machine_header) 379 -$(LN_S) $< $@ 380 sleep 2 381 gthr-default.h: $(srcdir)/$(thread_header) 382 -$(LN_S) $< $@ gmake makes only: gmake[3]: Entering directory '/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' # If this is the top-level multilib, build all the other # multilibs. ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h md-unwind-support.h sleep 2 ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h unwind.h sleep 2 DEFINES='' HEADERS='/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/i386/darwin-lib.h' \ /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/mkheader.sh > tmp-libgcc_tm.h /bin/sh /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h echo timestamp > libgcc_tm.stamp /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B ... Three symlinks to C header file were created, two are missing, plus the symlink to the C source file, enable-execute-stack.c. So half of the work seems to be done – could the other half be done when I try to start the build process again? NO! But when I create the missing two symlinks to C header files and restart build, then wondrously a symlink to the C source file is created: Checking multilib configuration for libgcc... gmake[3]: Entering directory '/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' # If this is the top-level multilib, build all the other # multilibs. /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.c /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/unwind-dw2-fde-darwin.c /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-c.c ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/enable-execute-stack-mprotect.c enable-execute-stack.c sleep 2 /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... ... many, many xgcc invocations later ... /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c -xassembler-with-cpp /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/rs6000/darwin-tramp.S /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/darwin-64.c /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/rs6000/ibm-ldouble.c /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... -c enable-execute-stack.c enable-execute-stack.c:33:13: warning: 'check_enabling' declared 'static' but never defined [-Wunused-function] 33 | static void check_enabling (void) __attribute__ ((unused)); | ^~ /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B... There is one single dependency for six files (or symlinks) written down, but some of these dependencies become obviously visible, or a problem/task to resolve, only later. Could this be the actual cause? The build process has entered the next stage. Next stop in one or two days?
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #15 from Peter Dyballa --- The try will all symlink targets on one single line fails as well. Now it's building with 'sleep 2' between each ln invocation.
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #14 from Peter Dyballa --- The symlinks stand solely on six lines: 361 # Create links to files specified in config.host. 362 LIBGCC_LINKS = enable-execute-stack.c \ 363unwind.h \ 364md-unwind-def.h \ 365md-unwind-support.h \ 366sfp-machine.h \ 367gthr-default.h but still only three symlinks: -rw-r--r-- 1 macports admin10 5. Feb 20:54 libgcc_tm.stamp -rw-r--r-- 1 macports admin 53999 5. Feb 20:54 config.log lrwxr-xr-x 1 macports admin80 5. Feb 20:54 gthr-default.h -> /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h -rw-r--r-- 1 macports admin 216 5. Feb 20:54 libgcc_tm.h lrwxr-xr-x 1 macports admin86 5. Feb 20:54 md-unwind-support.h -> /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h lrwxr-xr-x 1 macports admin84 5. Feb 20:54 unwind.h -> /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h -rw-r--r-- 1 macports admin 3174 5. Feb 20:54 auto-target.h -rw-r--r-- 1 macports admin10 5. Feb 20:54 stamp-h -rw-r--r-- 1 macports admin 40865 5. Feb 20:54 Makefile
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #13 from Peter Dyballa --- Building with /path/name/gmake leads to the same failure. Now a build has started that puts via a patch file one symlink per line into libgcc/Makefile.in. (When it now succeeds, there is enough time to build successfully, and maybe test, GCC 15 over the weekend. After installing it I would have less stress and pressure when continuing examining the symlink creation.)
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #12 from Peter Dyballa --- Building with /path/name/gmake leads to the same failure. Now a build has started that puts via a patch file one symlink per line into libgcc/Makefile.in. (When it now succeeds, there is enough time to build successfully, and maybe test, GCC 15 over the weekend. After installing it I would have less stress and pressure when continuing examining the symlink creation.)
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #11 from Peter Dyballa --- Is it possible to accelerate the build process until hitting the failure by reducing the amount of supported programming languages? Would just "c" suffice?
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #10 from Peter Dyballa --- One thing is obvious: only those symlinks are created that stand last in the Makefile macro: 361 # Create links to files specified in config.host. 362 LIBGCC_LINKS = enable-execute-stack.c \ 363unwind.h md-unwind-def.h md-unwind-support.h \ 364sfp-machine.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h md-unwind-support.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h unwind.h A bug in make and gmake? Anyway, my next plans are to patch Makefile.in to make the three lines become six and also, maybe best for the first try, to become only one line. And also report this as possible gmake bug…
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #9 from Peter Dyballa --- Gmake did not cure this failure: configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating auto-target.h config.status: executing default commands gmake[3]: Entering directory '/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' # If this is the top-level multilib, build all the other # multilibs. ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h md-unwind-support.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h unwind.h DEFINES='' HEADERS='/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/i386/darwin-lib.h' \ /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/mkheader.sh > tmp-libgcc_tm.h /bin/sh /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h echo timestamp > libgcc_tm.stamp /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B/opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/ -B/opt/local/powerpc-apple-darwin9/bin/ -B/opt/local/powerpc-apple-darwin9/lib/ -isystem /opt/local/powerpc-apple-darwin9/include -isystem /opt/local/powerpc-apple-darwin9/sys-include -fno-checking -g -O2 -pipe -Os -O2 -g -O2 -pipe -Os -DIN_GCC -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mmacosx-version-min=10.5 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -maltivec -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -mmacosx-version-min=10.5 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -maltivec -I. -I. -I../.././gcc -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/. -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../gcc -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../include -o unwind-dw2_s.o -MT unwind-dw2_s.o -MD -MP -MF unwind-dw2_s.dep -DSHARED -fexceptions -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.c In file included from /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.c:38: /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.h:25:10: fatal error: md-unwind-def.h: No such file or directory 25 | #include "md-unwind-def.h" | ^ compilation terminated. gmake[3]: *** [/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/shared-object.mk:17: unwind-dw2_s.o] Error 1 gmake[3]: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' gmake[2]: *** [Makefile:17954: all-stage1-target-libgcc] Error 2 gmake[2]: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build' gmake[1]: *** [Makefile:24300: stage1-bubble] Error 2 gmake[1]: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build' gmake: *** [Makefile:24616: bootstrap-lean] Error 2 gmake: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build' Command failed: cd "/opt/local/var/macports/build/gcc15-678e8911/work/build" && gmake -w bootstrap-lean Exit code: 2 It is possible that an older version of gmake was used, so I am going to try a new build where I explicitly name the gmake by its complete pathname. Makefile contains the lines to create six symlinks. Could there be a timing problem? These old Macs have a file system that "supports" a minimal time difference between time stamps that is *two* seconds…
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #8 from Peter Dyballa --- Gmake did not cure this failure: configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating auto-target.h config.status: executing default commands gmake[3]: Entering directory '/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' # If this is the top-level multilib, build all the other # multilibs. ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h md-unwind-support.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h unwind.h DEFINES='' HEADERS='/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/i386/darwin-lib.h' \ /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/mkheader.sh > tmp-libgcc_tm.h /bin/sh /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h echo timestamp > libgcc_tm.stamp /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc -B/opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/ -B/opt/local/powerpc-apple-darwin9/bin/ -B/opt/local/powerpc-apple-darwin9/lib/ -isystem /opt/local/powerpc-apple-darwin9/include -isystem /opt/local/powerpc-apple-darwin9/sys-include -fno-checking -g -O2 -pipe -Os -O2 -g -O2 -pipe -Os -DIN_GCC -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mmacosx-version-min=10.5 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -maltivec -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -mmacosx-version-min=10.5 -Wa,-force_cpusubtype_ALL -fno-common -mlong-double-128 -maltivec -I. -I. -I../.././gcc -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/. -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../gcc -I/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../include -o unwind-dw2_s.o -MT unwind-dw2_s.o -MD -MP -MF unwind-dw2_s.dep -DSHARED -fexceptions -c /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.c In file included from /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.c:38: /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-dw2.h:25:10: fatal error: md-unwind-def.h: No such file or directory 25 | #include "md-unwind-def.h" | ^ compilation terminated. gmake[3]: *** [/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/shared-object.mk:17: unwind-dw2_s.o] Error 1 gmake[3]: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' gmake[2]: *** [Makefile:17954: all-stage1-target-libgcc] Error 2 gmake[2]: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build' gmake[1]: *** [Makefile:24300: stage1-bubble] Error 2 gmake[1]: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build' gmake: *** [Makefile:24616: bootstrap-lean] Error 2 gmake: Leaving directory '/opt/local/var/macports/build/gcc15-678e8911/work/build' Command failed: cd "/opt/local/var/macports/build/gcc15-678e8911/work/build" && gmake -w bootstrap-lean Exit code: 2 It is possible that an older version of gmake was used, so I am going to try a new build where I explicitly name the gmake by its complete pathname. Makefile contains the lines to create six symlinks. Could there be a timing problem? These old Macs have a file system that "supports" a minimal time difference between time stamps that is *two* seconds…
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #7 from Peter Dyballa --- The freshly created Makefile in build/powerpc-apple-darwin9/libgcc clearly has: 361 # Create links to files specified in config.host. 362 LIBGCC_LINKS = enable-execute-stack.c \ 363unwind.h md-unwind-def.h md-unwind-support.h \ 364sfp-machine.h gthr-default.h 365 366 enable-execute-stack.c: $(srcdir)/$(enable_execute_stack) 367 -$(LN_S) $< $@ 368 unwind.h: $(srcdir)/$(unwind_header) 369 -$(LN_S) $< $@ 370 md-unwind-def.h: $(srcdir)/config/$(md_unwind_def_header) 371 -$(LN_S) $< $@ 372 md-unwind-support.h: $(srcdir)/config/$(md_unwind_header) 373 -$(LN_S) $< $@ 374 sfp-machine.h: $(srcdir)/config/$(sfp_machine_header) 375 -$(LN_S) $< $@ 376 gthr-default.h: $(srcdir)/$(thread_header) 377 -$(LN_S) $< $@ It also has: 1120 all: $(extra-parts) 1121 1122 $(libgcc-objects) $(libgcc-s-objects) $(libgcc-eh-objects) \ 1123 $(libgcov-objects) \ 1124 $(libunwind-objects) $(libunwind-s-objects) \ 1125 $(EXTRA_PARTS): $(LIBGCC_LINKS) libgcc_tm.h but the directory only has: -rw-r--r-- 1 macports admin 53999 4. Feb 21:49 config.log lrwxr-xr-x 1 macports admin80 4. Feb 21:49 gthr-default.h -> /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h -rw-r--r-- 1 macports admin 216 4. Feb 21:49 libgcc_tm.h -rw-r--r-- 1 macports admin10 4. Feb 21:49 libgcc_tm.stamp lrwxr-xr-x 1 macports admin86 4. Feb 21:49 md-unwind-support.h -> /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h lrwxr-xr-x 1 macports admin84 4. Feb 21:49 unwind.h -> /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h -rw-r--r-- 1 macports admin 40814 4. Feb 21:48 Makefile -rw-r--r-- 1 macports admin 3174 4. Feb 21:48 auto-target.h -rwxr-xr-x 1 macports admin 37630 4. Feb 21:48 config.status -rw-r--r-- 1 macports admin10 4. Feb 21:48 stamp-h -rw-r--r-- 1 macports admin 4117 4. Feb 21:48 config.cache -rw-r--r-- 1 macports admin 3 4. Feb 21:48 multilib.out When make enters this build directory and invokes configure, nothing strange happens, maybe besides using GCC 10 as C pre-processor: make[3]: Leaving directory `/opt/local/var/macports/build/gcc15-678e8911/work/build/gcc' mkdir powerpc-apple-darwin9/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in powerpc-apple-darwin9/libgcc configure: creating cache ./config.cache checking build system type... powerpc-apple-darwin9 checking host system type... powerpc-apple-darwin9 ... configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating auto-target.h config.status: executing default commands make[3]: Entering directory `/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' # If this is the top-level multilib, build all the other # multilibs. ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h md-unwind-support.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h unwind.h DEFINES='' HEADERS='/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/i386/darwin-lib.h' \ /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/mkheader.sh > tmp-libgcc_tm.h /bin/sh /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h echo timestamp > libgcc_tm.stamp /opt/local/var/macports/build/gcc15-678e8911/work/build/./gcc/xgcc ... => well-known failure with md-unwind-def.h I am suspicious about the Makefiles rules – could be GNU Make 3.81 fails to understand them, as I do. So I am going to try a more up-to-date GNU Make 4.4.1!
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #6 from Peter Dyballa --- I think this should not make a difference. libgcc/Makefile.in has a path $(srcdir)/config/$(whatever) to the C header files. This led the last time, as reported, to: make[3]: Entering directory `/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc' # If this is the top-level multilib, build all the other # multilibs. ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h gthr-default.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h md-unwind-support.h ln -s /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h unwind.h DEFINES='' HEADERS='/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/i386/darwin-lib.h' \ /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/mkheader.sh > tmp-libgcc_tm.h /bin/sh /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h The (only three) symlinks are created in the build tree and point to the source tree.
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #5 from Sam James --- Thanks for checking.
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #4 from Peter Dyballa --- Yes, it is: Executing: cd "/opt/local/var/macports/build/gcc15-678e8911/work/build" && /opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/configure --prefix=/opt/local ...
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 Sam James changed: What|Removed |Added Keywords||build --- Comment #3 from Sam James --- Is this an out-of-source build? i.e. Does that configure line get run in a directory with sources, or a clean directory instead (with /path/to/configure ...)?
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #2 from Peter Dyballa --- I started a new (controlled) build. In a few hours the error will be hit again. libgcc/Makefile.in has: 361 # Create links to files specified in config.host. 362 LIBGCC_LINKS = enable-execute-stack.c \ 363unwind.h md-unwind-def.h md-unwind-support.h \ 364sfp-machine.h gthr-default.h 365 366 enable-execute-stack.c: $(srcdir)/$(enable_execute_stack) 367 -$(LN_S) $< $@ 368 unwind.h: $(srcdir)/$(unwind_header) 369 -$(LN_S) $< $@ 370 md-unwind-def.h: $(srcdir)/config/$(md_unwind_def_header) 371 -$(LN_S) $< $@ 372 md-unwind-support.h: $(srcdir)/config/$(md_unwind_header) 373 -$(LN_S) $< $@ 374 sfp-machine.h: $(srcdir)/config/$(sfp_machine_header) 375 -$(LN_S) $< $@ 376 gthr-default.h: $(srcdir)/$(thread_header) 377 -$(LN_S) $< $@ So six symlinks should be created. libgcc/config.host, the relevant file, I presume, has: 54 # md_unwind_def_header The name of a header file defining architecture 55 # -specific frame information types for unwinding. 56 # md_unwind_header The name of a header file defining architecture 57 # -specific handlers used in the unwinder. … 68 # unwind_headerThe name of the header file declaring the unwind 69 # runtime interface routines. … 77 md_unwind_def_header=no-unwind.h 78 md_unwind_header=no-unwind.h 79 unwind_header=unwind-generic.h The case 1220 powerpc-*-darwin*) does not change anything, because my PowerBook has a G4 and not a G5 CPU (which has a correction). So everything looks OK until here. Could be the creation of Makefile introduces some glitch… in a few hours!
[Bug libgcc/123976] GCC 15.2.0 (libgcc) does not build on PPC Mac OS X 10.5.8, Leopard, because of missing "md-unwind-def.h"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976 --- Comment #1 from Andreas Schwab --- md-unwind-def.h should be linked to libgcc/config/no-unwind.h by libgcc/Makefile.
