Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 16:20:02 GMT
From:      Kyryll A Mirnenko <mirya@zoc.com.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117430: lang/gcc42 building WITH_JAVA_AWT=yes is broken
Message-ID:  <200710231620.l9NGK2Im077899@www.freebsd.org>
Resent-Message-ID: <200710231630.l9NGU1xL078841@freefall.freebsd.org>

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

>Number:         117430
>Category:       ports
>Synopsis:       lang/gcc42 building WITH_JAVA_AWT=yes is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 23 16:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kyryll A Mirnenko
>Release:        RELENG_6_2
>Organization:
>Environment:
reeBSD miryanote 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #31: Fri Oct 19 14:43:03 EEST 2007     mirya@miryanote:/usr/src/sys/i386/compile/MY-LITE  i386
>Description:
building lang/gcc42 WITH_JAVA_AWT=yes on 6.2 ends up with a linkage error:

..ranlib .libs/lib-gnu-awt-xlib.a
rm -fr .libs/lib-gnu-awt-xlib.lax
creating lib-gnu-awt-xlib.la
(cd .libs && rm -f lib-gnu-awt-xlib.la && ln -s ../lib-gnu-awt-xlib.la lib-gnu-awt-xlib.la)
/bin/sh ./libtool --tag=GCJ --mode=link /usr/ports/lang/gcc42/work/build/gcc/gcj -B/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc42/work/build/gcc/ -L/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava -ffloat-store -fomit-frame-pointer -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib/gcc-4.2.3 -shared-libgcc -pthread  -L/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava/.libs libgcj.la
/usr/ports/lang/gcc42/work/build/gcc/gcj -B/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc42/work/build/gcc/ -ffloat-store -fomit-frame-pointer -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -pthread  -L/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava -L/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava/.libs ./.libs/libgcj.so -L/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libstdc++-v3/src -L/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libstdc++-v3/src/.libs -lz -L/usr/ports/lang/gcc42/work/build/./gcc -lgcc_s -lgcc_s -Wl,--rpath -Wl,/usr/local/lib/gcc-4.2.3
/usr/bin/ld: .libs/jv-convert: hidden symbol `__eprintf' in /usr/ports/lang/gcc42/work/build/./gcc/libgcc.a(_eprintf.o) is referenced by DSO
collect2: ld returned 1 exit status
gmake[3]: *** [jv-convert] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 1
gmake[3]: &#1047;&#1072;&#1083;&#1080;&#1096;&#1072;&#1102; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; "/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava"
gmake[2]: *** [all-recursive] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 1
gmake[2]: &#1047;&#1072;&#1083;&#1080;&#1096;&#1072;&#1102; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; "/usr/ports/lang/gcc42/work/build/i386-portbld-freebsd6.2/libjava"
gmake[1]: *** [all-target-libjava] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 2
gmake[1]: &#1047;&#1072;&#1083;&#1080;&#1096;&#1072;&#1102; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; "/usr/ports/lang/gcc42/work/build"
gmake: *** [bootstrap-lean] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 2
*** Error code 2

>How-To-Repeat:
cd /usr/ports/lang/gcc42
make WITH_JAVA_AWT=yes
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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