This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12396] New: build of gcc 3.4 20030920 fails during compilation of fixincl.c
- From: "p dot van-hoof at qub dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2003 23:33:41 -0000
- Subject: [Bug bootstrap/12396] New: build of gcc 3.4 20030920 fails during compilation of fixincl.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12396
Summary: build of gcc 3.4 20030920 fails during compilation of
fixincl.c
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot van-hoof at qub dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.9
GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9
Building gcc 3.4 20030920 with gcc 3.3.1 fails in the initial stages during the
compilation of fixincl.c. Initial investigation suggests that the gcc configure
script erroneously sets
#define MKDIR_TAKES_ONE_ARG 1
More details follow below
scooby# ../gcc/configure --prefix=/opt/local/gcc340 --enable-languages=c,c++,f77
--with-gnu-as --with-as=/opt/local/bin/gas --with-gnu-ld
--with-ld=/opt/local/bin/gld
...some output omitted...
scooby# gmake bootstrap
...some output omitted...
gmake[3]: Entering directory `/opt/temp/objdir/gcc/fixinc'
/bin/sh ../../../gcc/gcc/fixinc/genfixes machname.h
No forbidden identifiers defined by this target
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common
-Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common
-Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/..
-I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include
../../../gcc/gcc/fixinc/fixincl.c
In file included from ../../../gcc/include/xregex.h:26,
from ../../../gcc/gcc/fixinc/fixlib.h:35,
from ../../../gcc/gcc/fixinc/fixincl.c:24:
../../../gcc/include/xregex2.h:551: warning: ISO C90 does not support `static'
or type qualifiers in parameter array declarators
In file included from ../../../gcc/gcc/fixinc/fixincl.c:105:
../../../gcc/gcc/fixinc/fixincl.x:76: warning: string length `552' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:121: warning: string length `525' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:165: warning: string length `808' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:251: warning: string length `5139' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:1886: warning: string length `729' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:4276: warning: string length `556' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.c: In function `create_file':
../../../gcc/gcc/fixinc/fixincl.c:578: error: too few arguments to function `mkdir'
gmake[3]: *** [fixincl.o] Error 1
gmake[3]: Leaving directory `/opt/temp/objdir/gcc/fixinc'
gmake[2]: *** [fixinc.sh] Error 2
gmake[2]: Leaving directory `/opt/temp/objdir/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/opt/temp/objdir/gcc'
gmake: *** [bootstrap] Error 2
scooby# cd gcc/fixinc/
scooby# gcc -save-temps -c -DIN_GCC -DHAVE_CONFIG_H -g -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc
-I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config
-I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/fixincl.c
In file included from ../../../gcc/include/xregex.h:26,
from ../../../gcc/gcc/fixinc/fixlib.h:35,
from ../../../gcc/gcc/fixinc/fixincl.c:24:
../../../gcc/include/xregex2.h:548: warning: ISO C90 does not support `static'
or type qualifiers in parameter array declarators
In file included from ../../../gcc/gcc/fixinc/fixincl.c:105:
../../../gcc/gcc/fixinc/fixincl.x:76: warning: string length `552' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:121: warning: string length `525' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:165: warning: string length `808' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:251: warning: string length `5139' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:1886: warning: string length `729' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.x:4276: warning: string length `556' is greater
than the length `509' ISO C89 compilers are required to support
../../../gcc/gcc/fixinc/fixincl.c: In function `create_file':
../../../gcc/gcc/fixinc/fixincl.c:578: error: too few arguments to function `mkdir'
scooby# gcc -v
Reading specs from /opt/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --prefix=/opt/local
Thread model: posix
gcc version 3.3.1