|
From: | john o goyo |
Subject: | Re: Building gm2-gcc-12 on NetBSD 9.1 Sparc |
Date: | Wed, 23 Feb 2022 18:40:22 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 2022-02-23 11:55, john o goyo wrote:
On 2022-02-23 10:09, john o goyo wrote:Build halted at the comparison of stage 2 with stage 3. Comparing stages 2 and 3 warning: gcc/m2/gm2-compiler-boot/M2Version.o differs Bootstrap comparison failure! gcc/cp/module.o differsI am rerunning the build with "--disable-bootstrap".
The build halts with the following error (and similar):g++ -I. -I../../../src/gcc-git/gcc/../include -I../../../src/gcc-git/gcc -I../../../src/gcc-git/gcc/m2/mc-boot-ch -Im2/gm2-libs -g -c ../../../src/gcc-git/gcc/m2/mc-boot-ch/Glibc.c -o m2/gm2-pge-boot/Glibc.o
In file included from ../../../src/gcc-git/gcc/m2/mc-boot-ch/Glibc.c:23:0:../../../src/gcc-git/gcc/system.h:702:10: fatal error: gmp.h: No such file or directory
#include <gmp.h> ^~~~~~~ compilation terminated.gmake[2]: *** [../../../src/gcc-git/gcc/m2/Make-lang.in:2022: m2/gm2-pge-boot/Glibc.o] Error 1
In summary, the option "--with-gmp=/usr/local" to configure was not propogated down to gm2; it was propogated to gcc.
To continue the build, I need to manually add "-I/usr/local/include" to every gm2 file in Make-lang.in.
Sincerely, john
[Prev in Thread] | Current Thread | [Next in Thread] |