Long story summary: arts-1.2.0 from kde failed to compile ever since it came out, with a warning about an invalid pointer. After seeing the gdb found a fault in libc.so.6 I recompiled glibc (added -g to CFLAGS, added nostrip to FEATURES) and then attempted to recompile arts, which died in the same place. This time a gdb run gives this information: gdb ../mcopidl/.libs/lt-mcopidl GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-unknown-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) set args -t ../flow/artsflow.idl (gdb) run Starting program: /var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcopidl/.libs/lt-mcopidl -t ../flow/artsflow.idl [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 14244)] free(): invalid pointer 0x76a44! Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 14244)] 0x703d8828 in kill () from /lib/libc.so.6 Current language: auto; currently c (gdb) where #0 0x703d8828 in kill () from /lib/libc.so.6 #1 0x7012ce74 in pthread_kill (thread=0, signo=6) at signals.c:65 #2 0x7012d294 in __pthread_raise (sig=6) at signals.c:196 #3 0x703d846c in *__GI_raise (sig=6) at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:33 (gdb) disassemble Dump of assembler code for function kill: 0x703d8820 <kill+0>: mov 0x25, %g1 ! 0x25 0x703d8824 <kill+4>: ta 0x10 0x703d8828 <kill+8>: bcs 0x703d8838 <__syscall_error_handler> 0x703d882c <kill+12>: nop 0x703d8830 <kill+16>: retl 0x703d8834 <kill+20>: nop End of assembler dump. Reproducible: Always Steps to Reproduce: 1. emerge arts 2. 3. Actual Results: build fails when calling "../mcopidl ../flow/artsflow.idl run gdb with the same commands, fault lies inside glibc Expected Results: build completion, without errors system: Sun Ultra 60 2x 360 Mhz UltraSparc IIi CPU's 1024Megs of RAM 2x18GB disks 2.4.25 vanilla kernel CPU info: cpu : TI UltraSparc II (BlackBird) fpu : UltraSparc II integrated FPU promlib : Version 3 Revision 29 prom : 3.29.0 type : sun4u ncpus probed : 2 ncpus active : 2 Cpu0Bogo : 719.25 Cpu0ClkTck : 000000001575957b Cpu2Bogo : 719.25 Cpu2ClkTck : 000000001575957b MMU Type : Spitfire State: CPU0: online CPU2: online memory info: total used free shared buffers cached Mem: 1010464 721160 289304 0 120360 237512 -/+ buffers/cache: 363288 647176 Swap: 243944 608 243336 emerge info Portage 2.0.50-r1 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 sparc64 sun4u Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O2 -g -fomit-frame-pointer -pipe " CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O2 -g -fomit-frame-pointer -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="ccache nostrip sandbox" GENTOO_MIRRORS="ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS=" -j3 " PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib arts avi berkdb cdr crypt cups curl dga dvd dvdr encode esd fbcon foomaticdb gdbm ggi gif gnome gstreamer gtk gtk2 guile imlib java joystick jpeg kde ladcca libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt readline ruby18 samba sdl slang sparc spell ssl tcltk tcpd truetype usb videos wmf xml xml2 xmms xv zlib"
problem was caused by "-fomit-frame-pointer" CFLAGS arg . removed that and the compile completed cleanly..