armv5tel-softfloat-linux-gnueabi-g++ -o NativeARM.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I. -I. -I./../../dist/include -I./../../dist/include/nsprpub -I/usr/include/nspr -I. -fPIC -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -pipe -Wno-return-type -w -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -DMOZILLA_CLIENT -include ./js-confdefs.h -Wp,-MD,.deps/NativeARM.pp ./nanojit/NativeARM.cpp {standard input}: Assembler messages: {standard input}:52: Error: selected processor does not support `clz r1,r1' {standard input}:2151: Error: selected processor does not support `clz r2,r2' {standard input}:2243: Error: selected processor does not support `clz r2,r5' {standard input}:2706: Error: selected processor does not support `clz r9,r9' {standard input}:3850: Error: selected processor does not support `clz r3,r3' {standard input}:3985: Error: selected processor does not support `clz r3,r3' {standard input}:4120: Error: selected processor does not support `clz r3,r3' {standard input}:4133: Error: selected processor does not support `clz r3,r5' {standard input}:4311: Error: selected processor does not support `clz r3,r3' {standard input}:4324: Error: selected processor does not support `clz r3,r5' {standard input}:4613: Error: selected processor does not support `clz r3,r3' {standard input}:4626: Error: selected processor does not support `clz r3,r5' make[3]: *** [NativeARM.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/work/mozilla-1.9.2/js/src' make[2]: *** [libs_tier_js] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/work/mozilla-1.9.2' make[1]: *** [tier_js] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/work/mozilla-1.9.2' make: *** [default] Error 2 * ERROR: net-libs/xulrunner-1.9.2-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5111: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =net-libs/xulrunner-1.9.2-r1', * the complete build log and the output of 'emerge -pqv =net-libs/xulrunner-1.9.2-r1'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/temp/environment'. * S: '/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/work/mozilla-1.9.2' plug temp #
Created attachment 219399 [details] emerge --info emerge --info =net-libs/xulrunner-1.9.2-r1
Created attachment 219401 [details] emerge -pqv emerge -pqv =net-libs/xulrunner-1.9.2-r1
No problems before with xulrunner on this processor: plug temp # eix -I xulrunner [U] net-libs/xulrunner Available versions: (1.8) 1.8.1.19 (1.9) (*)1.9.0.11-r1 1.9.0.14 (~)1.9.1.4 (~)1.9.1.5 1.9.1.6 (~)1.9.1.7 (~)1.9.2 (~)1.9.2-r1 {alsa custom-optimization dbus debug elibc_FreeBSD gnome ipv6 java libnotify networkmanager python sqlite startup-notification wifi xinerama} Installed versions: 1.9.1.7(1.9)(04:28:34 AM 01/11/2010)(alsa python -custom-optimization -dbus -debug -elibc_FreeBSD -gnome -java -sqlite -startup-notification) Homepage: http://developer.mozilla.org/en/docs/XULRunner Description: Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications plug temp #
plug temp # uname -a Linux plug 2.6.30-rc1 #1 PREEMPT Fri Apr 10 02:44:10 PDT 2009 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux plug temp #
You need to use -march=armv5te in your cflags, why did you remove them?
(In reply to comment #5) > You need to use -march=armv5te in your cflags, why did you remove them? > I did not knowingly remove them. I've been trying to build, on the side, a gcc compiler with gcj, but I do not recall ever changing /etc/make.conf to accomodate that effort. plug ~ # cat /etc/make.conf # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="armv5tel-softfloat-linux-gnueabi" MAKEOPTS="-j2" VIDEO_CARDS="dummy" GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ " SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" # # jlpoole added X to use flags for Firefox # USE="X svg xulrunner mysql imap libwww maildir sasl ssl" source /usr/portage/local/layman/make.conf plug ~ # cat /usr/portage/local/layman/make.conf PORTDIR_OVERLAY=" /usr/portage/local/layman/nx $PORTDIR_OVERLAY " plug ~ # I modified /etc/make.conf as follows: CFLAGS="-O2 -pipe -march=armv5te" The results of emerging using the modified /etc/make.conf follow.
config.status: creating include/Makefile config.status: creating include/ffi.h config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating man/Makefile config.status: creating libffi.pc config.status: creating fficonfig.h config.status: linking src/arm/ffitarget.h to include/ffitarget.h config.status: executing depfiles commands config.status: executing include commands config.status: executing src commands >>> Source configured. !!! doebuild: /usr/portage/net-libs/xulrunner/xulrunner-1.9.2-r1.ebuild not found for compile !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info >>> Failed to emerge net-libs/xulrunner-1.9.2-r1, Log file: >>> '/var/tmp/portage/net-libs/xulrunner-1.9.2-r1/temp/build.log' plug ~ #
Created attachment 219439 [details] build log after adding CFLAGS as suggested above
In your last log the ebuild has dissapeared...please do emerge --sync and try again, also it would be nice if you put -march=armv5te on CXXFLAGS as well(or set CXXFLAGS="${CFLAGS}")
Thank you. I followed the recommendations and successfully installed xulrunner(r2 vs. r1 which was triggered this bug): plug ~ # eix -I xulrunner [I] net-libs/xulrunner Available versions: (1.8) 1.8.1.19 (1.9) (*)1.9.0.11-r1 1.9.0.14 (~)1.9.1.4 (~)1.9.1.5 1.9.1.6 (~)1.9.1.7 (~)1.9.2-r2 {alsa custom-optimization dbus debug elibc_FreeBSD gnome ipv6 java libnotify python sqlite startup-notification wifi xinerama} Installed versions: 1.9.2-r2(1.9)(02:13:55 AM 02/14/2010)(alsa -custom-optimization -dbus -debug -elibc_FreeBSD -gnome -java -libnotify -startup-notification -wifi) Homepage: http://developer.mozilla.org/en/docs/XULRunner Description: Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications plug ~ #