Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 12:40:33 +0300
From:      Valentin Nechayev <netch@lucky.net>
To:        ports-bugs@freebsd.org
Cc:        gerald@freebsd.org
Subject:   gcc34 isn't buildable on 4.10
Message-ID:  <20040716094033.GI1085@lucky.net>

next in thread | raw e-mail | index | archive | help
Hi,
does anybody see this?

/usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/build/gcc
/ -B/usr/local/gcc34/i386-portbld-freebsd4.10/bin/ -B/usr/local/gcc34/i386-portb
ld-freebsd4.10/lib/ -isystem /usr/local/gcc34/i386-portbld-freebsd4.10/include -
isystem /usr/local/gcc34/i386-portbld-freebsd4.10/sys-include -c -DHAVE_CONFIG_H
 -O2 -O -pipe -march=i586 -mcpu=i686 -mpreferred-stack-boundary=2 -I. -I../.././
..//gcc-3.4-20040709/libiberty/../include  -W -Wall -Wtraditional -pedantic ../.
././..//gcc-3.4-20040709/libiberty/fibheap.c -o fibheap.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../.././..//gcc-3.4-20040709/libiberty/fibheap.c: In function `fibheap_union':
../.././..//gcc-3.4-20040709/libiberty/fibheap.c:166: warning: implicit declarat
ion of function `free'
../.././..//gcc-3.4-20040709/libiberty/fibheap.c: In function `fibheap_delete_no
de':
../.././..//gcc-3.4-20040709/libiberty/fibheap.c:285: error: `LONG_MIN' undeclar
ed (first use in this function)
../.././..//gcc-3.4-20040709/libiberty/fibheap.c:285: error: (Each undeclared id
entifier is reported only once
../.././..//gcc-3.4-20040709/libiberty/fibheap.c:285: error: for each function i
t appears in.)
../.././..//gcc-3.4-20040709/libiberty/fibheap.c: In function `fibheap_consolida
te':
../.././..//gcc-3.4-20040709/libiberty/fibheap.c:395: warning: implicit declarat
ion of function `memset'
gmake[2]: *** [fibheap.o] Error 1

If I fix it (adding unconditional include of <limits.h>),
if breaks very soon with message: stage2/xgcc: not found

Compilation option (PREFIX, WITHOUT_LIBJAVA) doesn't change anything.
Tested on two very different systems, but both 4.10.

Manual build (without port) works OK.


-netch-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040716094033.GI1085>