gcc3.4 broken

Giorgos Keramidas keramida at freebsd.org
Sun Nov 14 06:43:26 PST 2004


On 2004-11-14 03:28, Josef Grosch <jgrosch at MooseRiver.com> wrote:
> I'm trying to build eclipse on a 5.2.1 box. When the build gets to gcc 3.4
> it fails.

> ## Compile error
> /usr/ports/lang/gcc34/work/build/gcc/xgcc
> -B/usr/ports/lang/gcc34/work/build/gcc/
> -B/usr/local/i386-portbld-freebsd5.2.1/bin/
> -B/usr/local/i386-portbld-freebsd5.2.1/lib/ -isystem
> /usr/local/i386-portbld-freebsd5.2.1/include -isystem
> /usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H
> -O2 -O -pipe -mcpu=pentiumpro
> -I. -I../.././..//gcc-3.4-20041112/libiberty/../include -W -Wall
> -Wtraditional -pedantic
> ../.././..//gcc-3.4-20041112/libiberty/fibheap.c -o fibheap.o `-mcpu='
> is deprecated. Use `-mtune=' or '-march=' instead.

Hmmm, you have both -O and -O2 in there.  Have you by any chance set
CFLAGS to anything in your environment *before* trying to install the
gcc34 port?



More information about the freebsd-hackers mailing list