Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2007 19:08:15 -0500
From:      Anthony Michael Agelastos <iqgrande@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        gerald@FreeBSD.org
Subject:   lang/gcc41 woes
Message-ID:  <83C76118-9C34-438D-BC09-6864FE4063F6@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

The updated lang/gcc41 port is having difficulties compiling for my  
setup. Below is the error along with some useful machine information.  
Does anyone have any ideas? Thank you for your assistance.

<ERROR>
(cd .libs && rm -f libgij.so && ln -s libgij.so.7 libgij.so)
(cd .libs && rm -f libgij.so && ln -s libgij.so.7 libgij.so)
ar rc .libs/libgij.a  gij.o
ranlib .libs/libgij.a
creating libgij.la
(cd .libs && rm -f libgij.la && ln -s ../libgij.la libgij.la)
/bin/sh ./libtool --tag=GCJ --mode=link /usr/ports/lang/gcc41/work/ 
build/gcc/gcj
-B/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava/ - 
B/usr/port
s/lang/gcc41/work/build/gcc/ -L/usr/ports/lang/gcc41/work/build/i386- 
portbld-fre
ebsd6.1/libjava -ffloat-store -fomit-frame-pointer -g -O2  -o jv- 
convert --main=
gnu.gcj.convert.Convert -rpath /usr/local/lib/gcc-4.1.2 -shared- 
libgcc -pthread
-L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/ 
libjava/.libs libgcj
.la
/usr/ports/lang/gcc41/work/build/gcc/gcj -B/usr/ports/lang/gcc41/work/ 
build/i386
-portbld-freebsd6.1/libjava/ -B/usr/ports/lang/gcc41/work/build/gcc/ - 
ffloat-sto
re -fomit-frame-pointer -g -O2 -o .libs/jv-convert -- 
main=gnu.gcj.convert.Conver
t -shared-libgcc -pthread  -L/usr/ports/lang/gcc41/work/build/i386- 
portbld-freeb
sd6.1/libjava -L/usr/ports/lang/gcc41/work/build/i386-portbld- 
freebsd6.1/libjava
/.libs ./.libs/libgcj.so -L/usr/ports/lang/gcc41/work/build/i386- 
portbld-freebsd
6.1/libstdc++-v3/src -L/usr/ports/lang/gcc41/work/build/i386-portbld- 
freebsd6.1/
libstdc++-v3/src/.libs -lz -L/usr/ports/lang/gcc41/work/build/./gcc - 
L/usr/local
/lib/gcc-4.1.2/gcc/i386-portbld-freebsd6.1/4.1.2 -L/usr/local/lib/ 
gcc-4.1.2/gcc/
i386-portbld-freebsd6.1/4.1.2/../../.. -lgcc_s -lgcc_s -Wl,--rpath - 
Wl,/usr/loca
l/lib/gcc-4.1.2
/usr/bin/ld: .libs/jv-convert: hidden symbol `__eprintf' in /usr/ 
ports/lang/gcc4
1/work/build/./gcc/libgcc.a(_eprintf.o) is referenced by DSO
collect2: ld returned 1 exit status
gmake[4]: *** [jv-convert] Error 1
gmake[4]: Leaving directory `/usr/ports/lang/gcc41/work/build/i386- 
portbld-freeb
sd6.1/libjava'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/lang/gcc41/work/build/i386- 
portbld-freeb
sd6.1/libjava'
gmake[2]: *** [all-target-libjava] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc41/work/build'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc41/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc41.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade. 
17633.0 en
v UPGRADE_TOOL=portupgrade UPGRADE_PORT=gcc-4.1.2_20061208  
UPGRADE_PORT_VER=4.1.
2_20061208 make WITH_FORTRAN=yes
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
         ! lang/gcc41 (gcc-4.1.2_20061208)       (new compiler error)
--->  Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed
</ERROR>

<UNAME>
iqgrande@dell:/usr/ports/lang/gcc41> uname -a
FreeBSD dell.home.iq 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat  
Jul 29 07:53:36 EDT 2006     root@dell.home.iq:/usr/obj/usr/src/sys/ 
IQKERNEL  i386
</UNAME>

<PKGTOOLS.CONF Excerpt>
   MAKE_ARGS = {
     'lang/gcc41' => [
       'WITH_FORTRAN=yes',
     ],
     'lang/gcc42' => [
       'WITH_FORTRAN=yes',
     ],
   }
</PKGTOOLS.CONF Excerpt>

<MAKE.CONF>
CPUTYPE?=pentium3
CFLAGS= -O -pipe
CXXFLAGS+= -fconserve-space
NO_LPR=
NO_PROFILE=true
CUPS_OVERWRITE_BASE=yes
WITH_MOZILLA=firefox

PERL_VER=5.8.8
PERL_VERSION=5.8.8
</MAKE.CONF>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83C76118-9C34-438D-BC09-6864FE4063F6>