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

--- Comment #50 from Peter Dyballa <Peter_Dyballa at web dot de> ---
The build finished some hours ago, quite successfully. Towards the end an error
occurred raising a report:

Process:         conftest [2377]
Path:            conftest
Identifier:      conftest
Version:         ??? (???)
Code Type:       PPC (Native)
Parent Process:  sh [2376]

Interval Since Last Report:          598482 sec 
Crashes Since Last Report:           11  
Per-App Interval Since Last Report:  0 sec 
Per-App Crashes Since Last Report:   103 

Date/Time:       2026-06-27 18:11:48.655 +0200
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  B98EE308-F5B2-4632-9B82-ECEF2D42D0B9

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000008fe0105c
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: _fNotToBeFound
  Referenced from:
/opt/local/var/macports/build/gcc16-f5979bbe/work/build/powerpc-apple-darwin9/libitm/./conftest
  Expected in: dynamic lookup



I thought of testing GCC16, but MacPorts wrote:

The following dependencies will be installed: 
 gcc16-libcxx 
 libcxx-powerpc +emutls
 python27-bootstrap 

So I threw away that thought.

The GCC16 sources where outpacked into my home area. Due to using a Terminal
and vi some parts of my work were overwritten. After applying four patches I
also changed the meaning of do-compare in some mk files:

egrep -n '^do-compare =' Makefile.in config/bootstrap-debug.mk
config/bootstrap-debug-lean.mk config/bootstrap-debug-lib.mk
Makefile.in:703:do-compare = /usr/bin/true
config/bootstrap-debug.mk:12:do-compare = /usr/bin/true
config/bootstrap-debug-lean.mk:12:do-compare = /usr/bin/true
config/bootstrap-debug-lib.mk:12:do-compare = /usr/bin/true
pete 234 /\  ls -l Makefile.in config/bootstrap-debug.mk
config/bootstrap-debug-lean.mk config/bootstrap-debug-lib.mk
-rw-r--r--  1 pete  admin  2469015 27 Jun 20:23 Makefile.in
-rw-r--r--  1 pete  admin      500 27 Jun 20:24 config/bootstrap-debug-lean.mk
-rw-r--r--  1 pete  admin      462 27 Jun 20:24 config/bootstrap-debug-lib.mk
-rw-r--r--  1 pete  admin      473 27 Jun 20:24 config/bootstrap-debug.mk

It was necessary to re-activate these ports:

gmp                            @6.3.0_0 
isl                            @0.24_1 
libmpc                         @1.4.1_0 
mpfr                           @4.2.2_0 

Configuration was finally with:

./configure --prefix=/opt/local --build=powerpc-apple-darwin9
--datarootdir=/opt/local/share/gcc-16 --disable-multilib --disable-nls
--enable-checking=release --enable-host-shared
--enable-languages=c,c++,objc,obj-c++,lto,fortran,algol68,m2,jit
--infodir=/opt/local/share/info --libdir=/opt/local/lib/gcc16
--mandir=/opt/local/share/man --program-suffix=-mp-16
--with-bugurl=https://github.com/macos-powerpc/powerpc-ports/issues/new
--without-build-config --with-darwin-extra-rpath=/opt/local/lib/libgcc
--with-gmp=/opt/local--with-gxx-include-dir=/opt/local/include/gcc16/c++/
--with-isl=/opt/local --with-ld=/usr/bin/ld64 --with-local-prefix=/opt/local
--with-mpc=/opt/local --with-mpfr=/opt/local --with-system-zlib
--with-gxx-libcxx-include-dir=\"/opt/local/libexec/gcc16/libc++/include/c++/v1\"
--with-pkgversion=\"MacOS PowerPC gcc16 16.1.0_0+stdlib_flag\"
CPP=/usr/bin/cpp"

since GCC was found to be /usr/bin/gcc, but when I start to make GCC16 the
first configure script is testing /lib/cpp as pre-processor which is not
accepted.

What is a possible solution?

Reply via email to