Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 16:02:51 -0400 (EDT)
From:      Wesley Morgan <morganw@chemikals.org>
To:        Radko Keves <rado@studnet.sk>
Cc:        questions@freebsd.org
Subject:   Re: problem compiling gcc3x
Message-ID:  <20020829160033.N11207-100000@volatile.chemikals.org>
In-Reply-To: <20020829184812.GA15607@studnet.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
There seems to be two ways to work around this....

1) add "-Wl,-N" to your build line
2) manually update the port to a much newer, WAY WAY less broken snapshot.

I've done option 2 with  the 08-12, 08-19, and now the 08-26 snapshots and
believe me they are much much better. Just make sure you change all the
3.2/32 references to 3.3/33 (the gcc33 port seems to be a copy of the
gcc32 port). I have *no* idea why it has not been updated, it is in dire
need of one.

On Thu, 29 Aug 2002, Radko Keves wrote:

> hi i try to compile gcc33 but have found this error:
> make
> ..
> ..
> gmake[3]: Entering directory `/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava'
> /bin/sh ./libtool --tag=GCJ --mode=link /var/tmp/usr/ports/lang/gcc33/work/build/gcc/gcj -B/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava/ -B/var/tmp/usr/ports/lang/gcc33/work/build/gcc/ -L/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava -ffloat-store -g -O2  -o rmic --main=gnu.java.rmi.rmic.RMIC -rpath /usr/local/lib -shared-libgcc -pthread  -L/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava/.libs libgcj.la
> /var/tmp/usr/ports/lang/gcc33/work/build/gcc/gcj -B/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava/ -B/var/tmp/usr/ports/lang/gcc33/work/build/gcc/ -ffloat-store -g -O2 -o rmic --main=gnu.java.rmi.rmic.RMIC -shared-libgcc -pthread  -L/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava -L/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava/.libs ./.libs/libgcj.a -L/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libstdc++-v3/src -L/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libstdc++-v3/src/.libs -L/var/tmp/usr/ports/lang/gcc33/work/build/gcc -lgcc -lgcc -Wl,--rpath -Wl,/usr/local/lib
> /usr/libexec/elf/ld: rmic: Not enough room for program headers (allocated 6, need 7)
> /usr/libexec/elf/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> gmake[3]: *** [rmic] Error 1
> gmake[3]: Leaving directory `/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/var/tmp/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd5.0/libjava'
> gmake[1]: *** [all-target-libjava] Error 2
> gmake[1]: Leaving directory `/var/tmp/usr/ports/lang/gcc33/work/build'
> gmake: *** [bootstrap] Error 2
> *** Error code 2
>
> Stop in /usr/ports/lang/gcc33.
>
> but too with gcc32
>
> what wrong ?
>
> thank
>

-- 
                                           _ __ ___ ____  ___ ___ ___
          Wesley N Morgan                       _ __ ___ | _ ) __|   \
          morganw@chemikals.org                     _ __ | _ \._ \ |) |
          FreeBSD: The Power To Serve                  _ |___/___/___/
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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