Subject: gcc (cc) build problem
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: current-users
Date: 01/26/1996 08:51:04
With a source tree as of -current sup early AM on Jan 25th, I did a
"make build" (on a SPARC, if it matters). It croaked at this point:
===> gnu/usr.bin/gcc2/cc
cc -O -I/sources/working-usr-src/gnu/usr.bin/gcc2/cc -I/sources/working-usr-src/gnu/usr.bin/gcc2/cc/../common -I/sources/working-usr-src/gnu/usr.bin/gcc2/cc/../arch -I/sources/working-usr-src/gnu/usr.bin/gcc2/cc/../arch/sparc -Werror -c gcc.c
gcc.c: In function `pfatal_with_name':
gcc.c:4013: `sys_nerr' undeclared (first use this function)
gcc.c:4013: (Each undeclared identifier is reported only once
gcc.c:4013: for each function it appears in.)
gcc.c:4014: `sys_errlist' undeclared (first use this function)
gcc.c: In function `perror_with_name':
gcc.c:4026: `sys_nerr' undeclared (first use this function)
gcc.c:4027: `sys_errlist' undeclared (first use this function)
gcc.c: In function `perror_exec':
gcc.c:4039: `sys_nerr' undeclared (first use this function)
gcc.c:4041: `sys_errlist' undeclared (first use this function)
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
[Callisto] 36>
I remember some stuff about having to install some parts of gcc before
rebuilding others, but that was libgcc-related. This looks as though
nobody's updated gcc after doing something with the sys_nerr and
sys_errlist declarations.
Is there anything I should do here? Generate a PR? Just wait for
someone to commit a fix?
der Mouse
mouse@collatz.mcrcim.mcgill.edu