Hi all,

I noticed that gcc (3.3.6 and 4.2) fails to compile on OpenBSD 4.2. I tryed
on two i386 machines.
Build logs are available at :
http://mattieu.b.free.fr/openbsd/gcc_failed
http://mattieu.b.free.fr/openbsd/gcc4_failed
And all the config.log are attached.

For 3.3.6 :
gmake[4]: Entering directory `/usr/ports/lang/gcc/3.3/w-gcc-3.3.6
/build-i386-c++-fortran-objc-ada/i386-unknown-openbsd4.2/fpic/libobjc'
: gmake ; exec true "AR=ar" "AR_FLAGS=rc" "CC=/usr/ports/lang/gcc/3.3/w-
gcc-3.3.6/build-i386-c++-fortran-objc-ada/gcc/xgcc
-B/usr/ports/lang/gcc/3.3/w-gcc-3.3.6/build-i386-c++-fortran-objc-ada/gcc/
-B/usr/local/i386-unknown-openbsd4.2/bin/ -B/usr/local/i386-
unknown-openbsd4.2/lib/ -isystem /usr/local/i386- unknown-openbsd4.2/include"
"CFLAGS=-O2 -O2 -pipe  -fpic" "DESTDIR=" "LIBCFLAGS=-O2 -O2 -pipe  -fpic"
"EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh /usr/ports/lang/gcc/3.3/w-
gcc-3.3.6/gcc-3.3.6/install-sh -c" "INSTALL_DATA=/bin/sh
/usr/ports/lang/gcc/3.3/w-gcc-3.3.6/gcc-3.3.6/install-sh -c -m 644"
"INSTALL_PROGRAM=/bin/sh
/usr/ports/lang/gcc/3.3/w-gcc-3.3.6/gcc-3.3.6/install-sh
-c " "LDFLAGS=-fpic" "LIBTOOL=./libtool" "LOADLIBES=" "PICFLAG="
"RANLIB=ranlib" "SHELL=/bin/sh" "prefix=/usr/local" "exec_prefix=/usr/local"
"libdir=/usr/local/lib" "libsubdir=/usr/local/lib/gcc-lib/i386-
unknown-openbsd4.2/3.3.6" "tooldir=/usr/local/i386-unknown-openbsd4.2"
multi-do DO=all
gmake[4]: Leaving directory `/usr/ports/lang/gcc/3.3/w-gcc-3.3.6
/build-i386-c++-fortran-objc-ada/i386-unknown-openbsd4.2 /fpic/libobjc'
gmake[3]: Leaving directory `/usr/ports/lang/gcc/3.3/w-gcc-3.3.6
/build-i386-c++-fortran-objc-ada/i386-unknown-openbsd4.2/libobjc'
gmake[2]: Leaving directory
`/usr/ports/lang/gcc/3.3/w-gcc-3.3.6/build-i386-c++-fortran-objc-ada/i386-
unknown-openbsd4.2/libobjc'
gmake[1]: Leaving directory `/usr/ports/lang/gcc/3.3/w-gcc-3.3.6
/build-i386-c++-fortran-objc-ada'
cd /usr/ports/lang/gcc/3.3/w-gcc-3.3.6/build-i386-c++-fortran-objc-ada/gcc
&& gmake gnatlib_and_tools
gmake: *** No rule to make target `gnatlib_and_tools'.  Stop.
*** Error code 2

Stop in /usr/ports/lang/gcc/3.3 (line 96 of Makefile).
*** Error code 1

Stop in /usr/ports/lang/gcc/3.3 (line 2063 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/3.3 (line 1373 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/3.3 (line 1861 of
/usr/ports/infrastructure/mk/bsd.port.mk).


For 4.2 :
loading site script /usr/ports/infrastructure/db/config.site
loading cache ./config.cache
checking host system type... i386-unknown-openbsd4.2
checking target system type... i386-unknown-openbsd4.2
checking build system type... i386-unknown-openbsd4.2
checking for a BSD compatible install... /usr/bin/install -c -o root -g bin
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
checking whether the C compiler
(/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
-O2 -g ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 2038 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1373 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1861 of
/usr/ports/infrastructure/mk/bsd.port.mk).



-- 
Mattieu Baptiste
"/earth is 102% full ... please delete anyone you can."

Attachment: config_log_336.tar.gz
Description: GNU Zip compressed data

Attachment: config_log_42.tar.gz
Description: GNU Zip compressed data

Reply via email to