This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20780] New: gcc 4.0 from cvs head fails to build
- From: "federico dot carminati at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Apr 2005 23:35:06 -0000
- Subject: [Bug fortran/20780] New: gcc 4.0 from cvs head fails to build
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I start the build with
export CVS_RSH=ssh
cvs -qz9 up -Pd gcc
rm -rf /opt/gcc-4_0/*
[ -d build ] && (rm -rf build ; mkdir build)
cd build
../configure --disable-multiplib --prefix=/opt/gcc-4_0 --with-gmp=/sw --enable-
languages=f95,c++
make 2>&1 | tee ../make.log
make install
Build dies with
gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-
common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl -I../..
/sw/include \
-DTARGET_MACHINE=\"powerpc-apple-darwin7.8.0\" \
-c ../../gcc/collect2.c -o collect2.o
../../gcc/collect2.c: In function `collect_wait':
../../gcc/collect2.c:1503: warning: implicit declaration of function `pex_get_status'
../../gcc/collect2.c:1505: warning: implicit declaration of function `pex_free'
../../gcc/collect2.c: In function `collect_execute':
../../gcc/collect2.c:1571: warning: implicit declaration of function `pex_init'
../../gcc/collect2.c:1571: warning: assignment makes pointer from integer without a cast
../../gcc/collect2.c:1575: warning: implicit declaration of function `pex_run'
../../gcc/collect2.c:1575: error: `PEX_LAST' undeclared (first use in this function)
../../gcc/collect2.c:1575: error: (Each undeclared identifier is reported only once
../../gcc/collect2.c:1575: error: for each function it appears in.)
../../gcc/collect2.c:1575: error: `PEX_SEARCH' undeclared (first use in this function)
../../gcc/collect2.c:1576: warning: assignment makes pointer from integer without a cast
../../gcc/collect2.c: In function `scan_prog_file':
../../gcc/collect2.c:2060: error: `PEX_USE_PIPES' undeclared (first use in this function)
../../gcc/collect2.c:2060: warning: assignment makes pointer from integer without a cast
../../gcc/collect2.c:2064: warning: assignment makes pointer from integer without a cast
../../gcc/collect2.c:2081: warning: implicit declaration of function `pex_read_output'
../../gcc/collect2.c:2081: warning: assignment makes pointer from integer without a cast
make[1]: *** [collect2.o] Error 1
make: *** [install-gcc] Error 2
--
Summary: gcc 4.0 from cvs head fails to build
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: federico dot carminati at cern dot ch
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-apple-darwin7.8.0
GCC host triplet: powerpc-apple-darwin7.8.0
GCC target triplet: powerpc-apple-darwin7.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20780