tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xulrunner-18.0 and NetBSD 5's gcc 4.1.3



From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sat, 12 Jan 2013 
19:24:29 +0900 (JST)

> Hi,
> 
> From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Fri, 11 Jan 2013 
> 19:53:02 +0900 (JST)
> 
>> Hi,
>> 
>> From: Martin Husemann <martin%duskware.de@localhost>, Date: Fri, 11 Jan 2013 
>> 11:41:20 +0100
>> 
>>> On Fri, Jan 11, 2013 at 07:19:26PM +0900, Ryo ONODERA wrote:
>>>> How should I do?
>>> 
>>> Set GCC_REQD=4.3 ?
>> 
>> I will set GCC_REQD=4.3 in pkgsrc/devel/xulrunner/mozilla-common.mk , and
>> will try again.
> 
> GCC 4.7 on NetBSD/i386 5.2 fails with some errors or core dump in gcj stage.

Any clue?

The error is here.

/bin/sh ./libtool --tag=GCJ  --mode=link 
/usr/tmp/lang/gcc47/work/build/./gcc/gcj 
-B/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/ 
-B/usr/tmp/lang/gcc47/work/build/./gcc/ -B/usr/pkg/gcc47/i386--netbsdelf/bin/ 
-B/usr/pkg/gcc47/i386--netbsdelf/lib/ -isystem 
/usr/pkg/gcc47/i386--netbsdelf/include -isystem 
/usr/pkg/gcc47/i386--netbsdelf/sys-include    
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava -ffloat-store 
-fomit-frame-pointer -Usun -g -O2  '-Wl,-R/usr/pkg/lib' -o jv-convert 
--main=gnu.gcj.convert.Convert -rpath /usr/pkg/gcc47/lib -shared-libgcc    
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/.libs libgcj.la
libtool: link: /usr/tmp/lang/gcc47/work/build/./gcc/gcj 
-B/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/ 
-B/usr/tmp/lang/gcc47/work/build/./gcc/ -B/usr/pkg/gcc47/i386--netbsdelf/bin/ 
-B/usr/pkg/gcc47/i386--netbsdelf/lib/ -isystem 
/usr/pkg/gcc47/i386--netbsdelf/include -isystem 
/usr/pkg/gcc47/i386--netbsdelf/sys-include -ffloat-store -fomit-frame-pointer 
-Usun -g -O2 -Wl,-R/usr/pkg/lib -o .libs/jv-convert 
--main=gnu.gcj.convert.Convert -shared-libgcc  
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/.libs 
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava ./.libs/libgcj.so 
-lpthread -lrt -lz -Wl,-rpath -Wl,/usr/pkg/gcc47/lib
./.libs/libgcj.so: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: error: ld returned 1 exit status
gmake[3]: *** [jv-convert] Error 1
gmake[3]: *** Waiting for unfinished jobs....
mv -f classpath/tools/.deps/libgcj_tools_la-tools.Tpo 
classpath/tools/.deps/libgcj_tools_la-tools.Plo
gmake[3]: Leaving directory 
`/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/usr/tmp/lang/gcc47/work/build'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/gcc47
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc47


And with the following in lang/gcc47/Makefile and got the following core dump.
Dumped core is not analyzed yet.

.include "../../mk/compiler.mk"
.if !empty(OPSYS:MNetBSD) && !empty(CC_VERSION:Mgcc-4.[0-2]*) && 
!empty(MACHINE_ARCH:Mi?86)
CFLAGS+=-march=i586
.endif

/bin/sh ./libtool --tag=GCJ  --mode=link 
/usr/tmp/lang/gcc47/work/build/./gcc/gcj 
-B/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/ 
-B/usr/tmp/lang/gcc47/work/build/./gcc/ -B/usr/pkg/gcc47/i386--netbsdelf/bin/ 
-B/usr/pkg/gcc47/i386--netbsdelf/lib/ -isystem 
/usr/pkg/gcc47/i386--netbsdelf/include -isystem 
/usr/pkg/gcc47/i386--netbsdelf/sys-include    
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava -ffloat-store 
-fomit-frame-pointer -Usun -g -O2  '-Wl,-R/usr/pkg/lib' -o gcj-dbtool 
--main=gnu.gcj.tools.gcj_dbtool.Main -rpath /usr/pkg/gcc47/lib -shared-libgcc   
gnu/gcj/tools/gcj_dbtool/natMain.o gnu/gcj/tools/gcj_dbtool.lo 
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/.libs libgcj.la
libtool: link: /usr/tmp/lang/gcc47/work/build/./gcc/gcj 
-B/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/ 
-B/usr/tmp/lang/gcc47/work/build/./gcc/ -B/usr/pkg/gcc47/i386--netbsdelf/bin/ 
-B/usr/pkg/gcc47/i386--netbsdelf/lib/ -isystem 
/usr/pkg/gcc47/i386--netbsdelf/include -isystem 
/usr/pkg/gcc47/i386--netbsdelf/sys-include -ffloat-store -fomit-frame-pointer 
-Usun -g -O2 -Wl,-R/usr/pkg/lib -o .libs/gcj-dbtool 
--main=gnu.gcj.tools.gcj_dbtool.Main -shared-libgcc 
gnu/gcj/tools/gcj_dbtool/natMain.o gnu/gcj/tools/.libs/gcj_dbtool.o  
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/.libs 
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava ./.libs/libgcj.so 
-lpthread -lrt -lz -Wl,-rpath -Wl,/usr/pkg/gcc47/lib
/bin/sh ./libtool --tag=GCJ  --mode=link 
/usr/tmp/lang/gcc47/work/build/./gcc/gcj 
-B/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/ 
-B/usr/tmp/lang/gcc47/work/build/./gcc/ -B/usr/pkg/gcc47/i386--netbsdelf/bin/ 
-B/usr/pkg/gcc47/i386--netbsdelf/lib/ -isystem 
/usr/pkg/gcc47/i386--netbsdelf/include -isystem 
/usr/pkg/gcc47/i386--netbsdelf/sys-include    
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava -ffloat-store 
-fomit-frame-pointer -Usun -g -O2  '-Wl,-R/usr/pkg/lib' -o ecjx 
-findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.GCCMain 
-Djava.class.path=/usr/distfiles/ecj-4.5.jar ecjx.o 
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/.libs  libgcj.la
libtool: link: /usr/tmp/lang/gcc47/work/build/./gcc/gcj 
-B/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/ 
-B/usr/tmp/lang/gcc47/work/build/./gcc/ -B/usr/pkg/gcc47/i386--netbsdelf/bin/ 
-B/usr/pkg/gcc47/i386--netbsdelf/lib/ -isystem 
/usr/pkg/gcc47/i386--netbsdelf/include -isystem 
/usr/pkg/gcc47/i386--netbsdelf/sys-include -ffloat-store -fomit-frame-pointer 
-Usun -g -O2 -Wl,-R/usr/pkg/lib -o .libs/ecjx -findirect-dispatch 
--main=org.eclipse.jdt.internal.compiler.batch.GCCMain 
-Djava.class.path=/usr/distfiles/ecj-4.5.jar ecjx.o  
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava/.libs 
-L/usr/tmp/lang/gcc47/work/build/i386--netbsdelf/libjava ./.libs/libgcj.so 
-lpthread -lrt -lz -Wl,-rpath -Wl,/usr/pkg/gcc47/lib
./gcj-dbtool -n classmap.db || touch classmap.db
[1]   Abort trap (core dumped) ./gcj-dbtool -n ...

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index