Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc... Bus error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
recupero
n00b
n00b


Joined: 25 Jun 2006
Posts: 26

PostPosted: Wed Apr 25, 2007 2:02 pm    Post subject: gcc... Bus error Reply with quote

Hi! I'm having discontinuous behavior on issues which at large involve misalignments. Can you give me an hint on the problem. Is this hardware failure, or conflicts on the System Bus?

sparc-unknown-linux-gnu-gcc -o jslog2.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2007042515 -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I/usr/include/nspr -I../../dist/sdk/include -I. -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -mcpu=v8 -mtune=ultrasparc -pipe -Wno-return-type -w -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jslog2.pp jslog2.c
sparc-unknown-linux-gnu-gcc: Internal error: Bus error (program as)
Please submit a full bug report.
See <URL:https://bugs.gentoo.org/> for instructions.
gmake[3]: *** [jslog2.o] Error 1
gmake[3]: *** Deleting file `jslog2.o'
gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.2/work/mozilla/js/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.2/work/mozilla/js'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-2.0.0.2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
mozilla-firefox-2.0.0.2.ebuild, line 190: Called die

emerge --info
Portage 2.1.2.4 (default-linux/sparc/sparc64/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r6 sparc64)
=================================================================
System uname: 2.6.20-gentoo-r6 sparc64 sun4u
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 25 Apr 2007 10:20:01 +0000
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20-r2
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa apache2 arts berkdb bitmap-fonts cli cracklib crypt dri eds emboss encode esd fbcon foomaticdb fortran gcc64 gdbm gif gstreamer gtk gtk2 iconv imlib isdnlog jpeg libwww mad midi mikmod motif mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png python qt3 readline reflection sdl session sparc spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xfce xml xorg xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="sunffb"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
[/size]


Last edited by recupero on Thu Apr 26, 2007 9:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Apr 26, 2007 10:59 am    Post subject: Reply with quote

It's a bit hard to read, but I think your profile says you are running gcc-4.1.2 + the sparc64/2006.1 profile. In that profile we have in package.mask the entry
package.mask:>=sys-devel/gcc-4.0.0
which means that at this point, we do not believe gcc-4.x.x compilers are stable enough to run at all. (True, the 2007.0 profile uses it, but I am not sure of that status of 2007.0 for general use).

My guess is that you have hit a bug in gcc-4.1.2, especially if the failure is always the same. For confirmation, you might ask on the #gentoo-sparc freenode IRC channel, or wait for someone more up-to-date on the status of gcc-4.1.2 than I am to respond here, too.

Hope this is of some help,
Regards,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum