Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41980 - arts-1.2.0 dies during compilation
Summary: arts-1.2.0 dies during compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 18:09 UTC by Dave Andruczyk
Modified: 2006-02-04 06:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Andruczyk 2004-02-17 18:09:54 UTC
arts craps out during the compile :

make[3]: Entering directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow/gslpp'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../flow -I../../flow/gsl -I../../flow -I../../mcop -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I../../libltdl  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o datahandle.lo `test -f 'datahandle.cpp' || echo './'`datahandle.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libgslpp.la   datahandle.lo  
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow/gslpp'
make[3]: Entering directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
../mcopidl/mcopidl -t ../flow/artsflow.idl
../mcopidl/mcopidl -t ../flow/artsflow.idl
make[3]: *** [artsflow.h] Aborted
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [artsflow.cc] Aborted
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
1.emerge rsync
2.emerge world -u
3.

Actual Results:  
arts compilation fails, 

Expected Results:  
arts should have compiled and "emerge world -u" should have continued 

emerge info 
Portage 2.0.50-r1 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23) 
================================================================= 
System uname: 2.4.23 sparc64 sun4u 
Gentoo Base System version 1.4.3.13 
distcc 2.11.1 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="sparc" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=ultrasparc -O2 -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.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-mcpu=ultrasparc -O2 -fomit-frame-pointer -pipe " 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ 
http://www.gtlib.cc.gatech.edu/pub/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"
Comment 1 Jason Wever (RETIRED) gentoo-dev 2004-02-20 18:20:46 UTC
If you try recompiling does this still happen?  Also if you haven't since then, sync your portage tree and try again.

I'm unable to replicate here, so if you have any additional notes on how to reproduce, please include them here.
Comment 2 Dave Andruczyk 2004-02-22 08:12:43 UTC
retried updating portage (emerge world),  still same compile failure:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libgslpp.la   datahandle.lo  
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow/gslpp'
make[3]: Entering directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
../mcopidl/mcopidl -t ../flow/artsflow.idl
../mcopidl/mcopidl -t ../flow/artsflow.idl
make[3]: *** [artsflow.cc] Aborted
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [artsflow.h] Aborted
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


I can provide a config.log from the arts build if needed..

Will try recompiling glibc and gcc (As that has solved other weird compile issues on x86 boxes for me in the past) and then tryingto re-emerge  arts.

Comment 3 Dave Andruczyk 2004-02-22 15:13:12 UTC
re-emerged glibc followed by gcc,    still fails to compile arts, dies at the same location.

New info:

checking the linkage of the mcopidl program inside the arts-1.2.0 build dir,  it  links to /usr/kde/3.1/lib/libmcop.so.1  (which belows to arts-1.1.4)

I'm going to unmerge arts-1.1.4 and retry,  it may fix it.  Will post back if it works
Comment 4 Dave Andruczyk 2004-02-22 15:22:12 UTC
after removal of arts-1.1.4 and attempt compile of arts-1.2.0 failes STILL at the same location

linkage of the mcopidl did change though to point to the lib interal to the arts-1.2.0 build
ldd .libs/lt-mcopidl 
        libmcop.so.1 => /var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libmcop.so.1 (0x7002c000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x7010c000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x70120000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x70134000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x70198000)
        libdl.so.2 => /lib/libdl.so.2 (0x70228000)
        libstdc++.so.5 => /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libstdc++.so.5 (0x7023c000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libgcc_s.so.1 (0x70304000)
        libm.so.6 => /lib/libm.so.6 (0x70320000)
        libc.so.6 => /lib/libc.so.6 (0x703b4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x70000000)

running the line that the makefile tried to run gives this:
 ../mcopidl/mcopidl  ../flow/artsflow.idl 
Aborted

the mcopidl program has no command line options for verbose output..

strace details for running the above: (long....)
strace ../mcopidl/mcopidl ../flow/artsflow.idl 
execve("../mcopidl/mcopidl", ["../mcopidl/mcopidl", "../flow/artsflow.idl"], [/* 47 vars */]) = 0
uname({sys="Linux", node="jillian", ...}) = 0
brk(0)                                  = 0xcfed8
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7001a000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=59327, ...}) = 0
mmap(NULL, 59327, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7002c000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\34"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=11048, ...}) = 0
mmap(NULL, 74512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7003c000
mprotect(0x7003e000, 66320, PROT_NONE)  = 0
mmap(0x7004c000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x7004c000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\1\313"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1415040, ...}) = 0
mmap(NULL, 1414952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70050000
mprotect(0x70194000, 87848, PROT_NONE)  = 0
mmap(0x701a0000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x140000) = 0x701a0000
mmap(0x701a8000, 5928, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x701a8000
close(3)                                = 0
munmap(0x7002c000, 59327)               = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, ")\353\344\376\234\272\263\2\310_\301\334eW\261G(\262\361"..., 32) = 32
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0xcfed8
brk(0xd1ed8)                            = 0xd1ed8
brk(0)                                  = 0xd1ed8
brk(0xd2000)                            = 0xd2000
profil(0, 0, 0, 0)                      = 0
mctl(0x70111e80, 834824, 0x23fc8, 0)    = 0
sbrk(1880170080)                        = 0
sstk(0x70111ea0)                        = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1077491930
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=756, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7001c000
read(3, "/dev/sda4 / ext3 rw,noatime 0 0\n"..., 8192) = 756
close(3)                                = 0
munmap(0x7001c000, 8192)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7001c000
read(3, "        total:    used:    free:"..., 8192) = 520
close(3)                                = 0
munmap(0x7001c000, 8192)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 0x70084458, 8) = 0
uname({sys="Linux", node="jillian", ...}) = 0
brk(0)                                  = 0xd2000
brk(0xd4000)                            = 0xd4000
stat64("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid()                                = 29221
getppid()                               = 29220
getpgrp(0x37a20)                        = 29220
rt_sigaction(SIGCHLD, {0x42260, [], 0}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("../mcopidl/mcopidl", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_SELECT, 0xeffff518) = -1 ENOTTY (Inappropriate ioctl for dev
ice)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#! /bin/sh\n\n# mcopidl - temporar"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
nfssvc(0xff)                            = 0
nfssvc(0xff)                            = 262144
fstat64(255, {st_mode=S_IFREG|0755, st_size=5623, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
brk(0)                                  = 0xd4000
brk(0xd6000)                            = 0xd6000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#! /bin/sh\n\n# mcopidl - temporar"..., 5623) = 5623
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
brk(0)                                  = 0xd6000
brk(0xd8000)                            = 0xd8000
brk(0)                                  = 0xd8000
brk(0xda000)                            = 0xda000
brk(0)                                  = 0xda000
brk(0xdc000)                            = 0xdc000
brk(0)                                  = 0xdc000
brk(0xde000)                            = 0xde000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 3
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
fork()                                  = 29222
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x42260, [], 0}, {0x42260, [], 0}, 0x70084458, 8) = 0
close(4)                                = 0
read(3, "\\t\n", 128)                   = 3
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 29222
wait4(-1, 0xefffdea4, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [TRAP ABRT SEGV SYS TERM S
TOP TSTP CONT])
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x40fa0, [], 0}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x40fa0, [], 0}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 3
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
fork()                                  = 29224
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x42260, [], 0}, {0x42260, [], 0}, 0x70084458, 8) = 0
close(4)                                = 0
read(3, "../mcopidl\n", 128)            = 11
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 29224
wait4(-1, 0xefffe1c4, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [TRAP ABRT SEGV SYS TERM S
TOP TSTP CONT])
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x40fa0, [], 0}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x40fa0, [], 0}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 3
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
fork()                                  = 29227
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x42260, [], 0}, {0x42260, [], 0}, 0x70084458, 8) = 0
close(4)                                = 0
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 29227
wait4(-1, 0xefffe444, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [TRAP ABRT SEGV SYS TERM S
TOP TSTP CONT])
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x40fa0, [], 0}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x40fa0, [], 0}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 3
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
fork()                                  = 29230
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x42260, [], 0}, {0x42260, [], 0}, 0x70084458, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 29230
wait4(-1, 0xefffe47c, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [QUIT ILL TRAP EMT FPE BUS
 TERM CHLD LOST USR1 USR2])
close(4)                                = 0
read(3, "/var/tmp/portage/arts-1.2.0/work"..., 128) = 52
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x40fa0, [], 0}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x40fa0, [], 0}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcopidl/.libs/lt-mcopidl", {
st_mode=S_IFREG|0755, st_size=325991, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 3
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
fork()                                  = 29231
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x42260, [], 0}, {0x42260, [], 0}, 0x70084458, 8) = 0
close(4)                                = 0
read(3, "/var/tmp/portage/arts-1.2.0/work"..., 128) = 69
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 29231
wait4(-1, 0xefffe794, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [TRAP ABRT SEGV SYS TERM S
TOP TSTP CONT])
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x40fa0, [], 0}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x40fa0, [], 0}, 0x70084458, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcopidl/.libs/lt-mcopidl", {
st_mode=S_IFREG|0755, st_size=325991, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 0x70084458, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 0x70084458, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {0x42260, [], 0}, 0x70084458, 8) = 0
execve("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcopidl/.libs/lt-mcopidl", [
"/var/tmp/portage/arts-1.2.0/work"..., "../flow/artsflow.idl"], [/* 44 vars */])
 = 0
uname({sys="Linux", node="jillian", ...}) = 0
brk(0)                                  = 0x67bc8
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x700
1a000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/v9/libmcop.so.1", O
_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/v9", 0xefffeaa0) 
= -1 ENOENT (No such file or directory)
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libmcop.so.1", O_RD
ONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\4\22"..., 1024) = 10
24
fstat64(3, {st_mode=S_IFREG|0755, st_size=941665, ...}) = 0
mmap(NULL, 843008, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7002c000
mprotect(0x700da000, 130304, PROT_NONE) = 0
mmap(0x700dc000, 122880, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 
3, 0xa0000) = 0x700dc000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libgmodule-2.0.so.0
", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/v9/libgmodule-2.0.so.0", O_
RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/v9", 0xefffea90) = -1 ENO
ENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libgmodule-2.0.so.0", O_RDO
NLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
open("/usr/kde/3.2/lib/v9/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such f
ile or directory)
stat64("/usr/kde/3.2/lib/v9", 0xefffea90) = -1 ENOENT (No such file or directory
)
open("/usr/kde/3.2/lib/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file
 or directory)
stat64("/usr/kde/3.2/lib", 0xefffea90)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=59327, ...}) = 0
mmap(NULL, 59327, PROT_READ, MAP_PRIVATE, 3, 0) = 0x700fc000
close(3)                                = 0
open("/usr/lib/libgmodule-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\17"..., 1024) = 10
24
fstat64(3, {st_mode=S_IFREG|0755, st_size=15352, ...}) = 0
mmap(NULL, 76456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7010c000
mprotect(0x70110000, 60072, PROT_NONE)  = 0
mmap(0x7011c000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0) = 0x7011c000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libgthread-2.0.so.0
", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libgthread-2.0.so.0", O_RDO
NLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgthread-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\25"..., 1024) = 10
24
fstat64(3, {st_mode=S_IFREG|0755, st_size=21755, ...}) = 0
mmap(NULL, 81112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70120000
mprotect(0x70124000, 64728, PROT_NONE)  = 0
mmap(0x70130000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0) = 0x70130000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libpthread.so.0", O
_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libpthread.so.0", O_RDONLY)
 = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0@\200"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=74840, ...}) = 0
mmap(NULL, 397616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70134000
mprotect(0x70142000, 340272, PROT_NONE) = 0
mmap(0x70144000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0) = 0x70144000
mmap(0x70156000, 258352, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|M
AP_ANONYMOUS, -1, 0) = 0x70156000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libglib-2.0.so.0", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libglib-2.0.so.0", O_RDONLY
) = -1 ENOENT (No such file or directory)
open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\363"..., 1024) = 1
024
fstat64(3, {st_mode=S_IFREG|0755, st_size=563003, ...}) = 0
mmap(NULL, 578520, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70198000
mprotect(0x70212000, 78808, PROT_NONE)  = 0
mmap(0x70218000, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0x70000) = 0x70218000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libdl.so.2", O_RDON
LY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libdl.so.2", O_RDONLY) = -1
 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\34"..., 1024) = 10
24
fstat64(3, {st_mode=S_IFREG|0755, st_size=11048, ...}) = 0
mmap(NULL, 74512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70228000
mprotect(0x7022a000, 66320, PROT_NONE)  = 0
mmap(0x70238000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0) = 0x70238000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libstdc++.so.5", O_
RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libstdc++.so.5", O_RDONLY) 
= 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\3\273"..., 1024) = 1
024
fstat64(3, {st_mode=S_IFREG|0755, st_size=729336, ...}) = 0
mmap(NULL, 809280, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7023c000
mprotect(0x702e8000, 104768, PROT_NONE) = 0
mmap(0x702ec000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0xa0000) = 0x702ec000
mmap(0x702fe000, 14656, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MA
P_ANONYMOUS, -1, 0) = 0x702fe000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libgcc_s.so.1", O_R
DONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libgcc_s.so.1", O_RDONLY) =
 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\27"..., 1024) = 10
24
fstat64(3, {st_mode=S_IFREG|0644, st_size=144167, ...}) = 0
mmap(NULL, 99984, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70304000
mprotect(0x7030e000, 59024, PROT_NONE)  = 0
mmap(0x70314000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0) = 0x70314000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libm.so.6", O_RDONL
Y) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libm.so.6", O_RDONLY) = -1 
ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\234"..., 1024) = 1
024
fstat64(3, {st_mode=S_IFREG|0755, st_size=549184, ...}) = 0
mmap(NULL, 594816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70320000
mprotect(0x703a0000, 70528, PROT_NONE)  = 0
mmap(0x703a0000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0x70000) = 0x703a0000
close(3)                                = 0
open("/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/mcop/.libs/libc.so.6", O_RDONL
Y) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/libc.so.6", O_RDONLY) = -1 
ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\1\313"..., 1024) = 1
024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1415040, ...}) = 0
mmap(NULL, 1414952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x703b4000
mprotect(0x704f8000, 87848, PROT_NONE)  = 0
mmap(0x70504000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3
, 0x140000) = 0x70504000
mmap(0x7050c000, 5928, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP
_ANONYMOUS, -1, 0) = 0x7050c000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x700
1c000
munmap(0x700fc000, 59327)               = 0
getpid()                                = 29221
rt_sigaction(SIGRT_0, {0x7013c1a0, [], 0}, NULL, 0x703e8458, 8) = 0
rt_sigaction(SIGRT_1, {0x7013c1e0, [], 0}, NULL, 0x703e8458, 8) = 0
rt_sigaction(SIGRT_2, {0x7013c300, [], 0}, NULL, 0x703e8458, 8) = 0
rt_sigprocmask(SIG_BLOCK, [32], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xeffff330, 34, (nil), 0}) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "l\271\370\t\217\324\307~b\262\237\355+\347\330\212\214"..., 32) = 32
close(3)                                = 0
brk(0)                                  = 0x67bc8
brk(0x69bc8)                            = 0x69bc8
brk(0x6a000)                            = 0x6a000
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\224\242`\237n\367\340\324\22\267o\236\r\35X\247\24\224"..., 32) = 32
close(3)                                = 0
open("../flow/artsflow.idl", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=16185, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x700
1e000
read(3, "    /*\n\n    Copyright (C) 2000 S"..., 8192) = 8192
brk(0)                                  = 0x6a000
brk(0x6c000)                            = 0x6c000
brk(0)                                  = 0x6c000
brk(0x6e000)                            = 0x6e000
read(3, "ct\n *\n * Converts a synchronous "..., 8192) = 7993
brk(0)                                  = 0x6e000
brk(0x72000)                            = 0x72000
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
close(3)                                = 0
munmap(0x7001e000, 8192)                = 0
brk(0)                                  = 0x72000
brk(0x74000)                            = 0x74000
brk(0)                                  = 0x74000
brk(0x76000)                            = 0x76000
brk(0)                                  = 0x76000
brk(0x78000)                            = 0x78000
brk(0)                                  = 0x78000
brk(0x7a000)                            = 0x7a000
brk(0)                                  = 0x7a000
brk(0x7c000)                            = 0x7c000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
kill(29221, SIGABRT)                    = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Comment 5 Jason Wever (RETIRED) gentoo-dev 2004-02-25 20:30:59 UTC
Hrm, nothing is overly sticking out at me here.  How much memory do you have in RAM and swap?
Comment 6 Dave Andruczyk 2004-02-29 06:35:24 UTC
Initially ram was 512MB but swap was turned off by accident...

Installed an additional 512MB and turned on swap.

Total memory is 1024Megs +256M swap.
jillian root # free
                 total            used         free     shared    buffers     cached
Mem:       1010440     796080     214360          0     250624     118904
-/+ buffers/cache:    426552     583888
Swap:      243944          0           243944

reran compile, still dies but now with slightly more detail: (memory allocation error)

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libgslpp.la   datahandle.lo
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow/gslpp'
make[3]: Entering directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
../mcopidl/mcopidl -t ../flow/artsflow.idl
../mcopidl/mcopidl -t ../flow/artsflow.idl
free(): invalid pointer 0x7683c!
make[3]: *** [artsflow.cc] Aborted
make[3]: *** Waiting for unfinished jobs....
free(): invalid pointer 0x7683c!
make[3]: *** [artsflow.h] Aborted
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.2.0 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 7 Michael Siebecker 2004-03-13 11:35:48 UTC
Hi there,
upon suggestion in the forum, i'm adding my emerge info:

Gentoo Base System version 1.4.3.13p1
Portage 2.0.50-r1 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.3_pre20040207-r0, 2.4.25-sparc)
=================================================================
System uname: 2.4.25-sparc sparc64 sun4u
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O2 -pipe -fomit-frame-pointer"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://provider/gentoo-portage"
USE="X acl arts avi berkdb crypt cups dga dvb dvd emacs encode esd ethereal evo fbcon flash foomaticdb gd gdbm gdbmgif gif gnome g
streamer gtk imap imlib ipv6 jack java jpeg kde lcms ldap libg++ libgda libwww mad maildir mcal mikmod motif moyilla mpeg mpi mule
mysql nas ncurses nls nocardbus nocd oggvorbis opengl opie oss pam pda pdflib perl png postgres ppds python qt quicktime readline
samba sdl slang slp snmp sparc spell ssl tcltk tcpd tetex tiff truetype usb videos wmf xinerama xml xml2 xmms xosd xv zeo zlib"


If it helps, i can give acces to the box.
Comment 8 Jason Wever (RETIRED) gentoo-dev 2004-03-13 18:00:17 UTC
since arts-1.2.1 is now available in portage as ~sparc, please see if this problem is still occuring for you using the newer version.
Comment 9 Dave Andruczyk 2004-03-13 18:39:15 UTC
Also fails with arts-1.2.1  
After it failed, I went into /var/tmp/portage/arts-1.2.1/work/arts-1.2.1/mcopidl
edited the makefile manually to add the "-g" flag for debugging symbols.
Recompiled mcopidl and ran things through GDB.  From the info below it seems like
an issue inside glibc specific to the sparc64 platform.

A gentoo bugmaster may wish to send this over to the glibc team for investigation.

 jillian flow # 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 l
ibrary "/lib/libthread_db.so.1".

(gdb)set args -t ../flow/artsflow.idl
(gdb) run
Starting program: /var/tmp/portage/arts-1.2.1/work/arts-1.2.1/mcopidl/.libs/lt-mcopidl -t ../flow/artsflow.idl
free(): invalid pointer 0x76734!

Program received signal SIGABRT, Aborted.
0x703d8828 in kill () from /lib/libc.so.6
(gdb) where
#0  0x703d8828 in kill () from /lib/libc.so.6
#1  0x7012ce74 in pthread_kill () from /lib/libpthread.so.0
#2  0x7012d294 in raise () from /lib/libpthread.so.0
#3  0x703d846c in raise () from /lib/libc.so.6
(gdb) bt
#0  0x703d8828 in kill () from /lib/libc.so.6
#1  0x7012ce74 in pthread_kill () from /lib/libpthread.so.0
#2  0x7012d294 in raise () from /lib/libpthread.so.0
#3  0x703d846c in raise () from /lib/libc.so.6
(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 <kill+24>
0x703d882c <kill+12>:   nop 
0x703d8830 <kill+16>:   retl 
0x703d8834 <kill+20>:   nop 
0x703d8838 <kill+24>:   save  %sp, -96, %sp
0x703d883c <kill+28>:   call  0x704fd1e4
0x703d8840 <kill+32>:   nop 
0x703d8844 <kill+36>:   st  %i0, [ %o0 ]
0x703d8848 <kill+40>:   ret 
0x703d884c <kill+44>:   restore  %g0, -1, %o0
0x703d8850 <kill+48>:   illtrap  0
0x703d8854 <kill+52>:   illtrap  0
0x703d8858 <kill+56>:   illtrap  0
0x703d885c <kill+60>:   illtrap  0
End of assembler dump.

Glibc version  2.3.2-r9 installed
(NOTE: In trying to solve this bug I've recompiled glibc/gcc before with no positive effect)

Comment 10 Dave Andruczyk 2004-03-13 19:03:37 UTC
Also fails with arts-1.2.1  
After it failed, I went into /var/tmp/portage/arts-1.2.1/work/arts-1.2.1/mcopidl
edited the makefile manually to add the "-g" flag for debugging symbols.
Recompiled mcopidl and ran things through GDB.  From the info below it seems like
an issue inside glibc specific to the sparc64 platform.

A gentoo bugmaster may wish to send this over to the glibc team for investigation.

 jillian flow # 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 l
ibrary "/lib/libthread_db.so.1".

(gdb)set args -t ../flow/artsflow.idl
(gdb) run
Starting program: /var/tmp/portage/arts-1.2.1/work/arts-1.2.1/mcopidl/.libs/lt-mcopidl -t ../flow/artsflow.idl
free(): invalid pointer 0x76734!

Program received signal SIGABRT, Aborted.
0x703d8828 in kill () from /lib/libc.so.6
(gdb) where
#0  0x703d8828 in kill () from /lib/libc.so.6
#1  0x7012ce74 in pthread_kill () from /lib/libpthread.so.0
#2  0x7012d294 in raise () from /lib/libpthread.so.0
#3  0x703d846c in raise () from /lib/libc.so.6
(gdb) bt
#0  0x703d8828 in kill () from /lib/libc.so.6
#1  0x7012ce74 in pthread_kill () from /lib/libpthread.so.0
#2  0x7012d294 in raise () from /lib/libpthread.so.0
#3  0x703d846c in raise () from /lib/libc.so.6
(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 <kill+24>
0x703d882c <kill+12>:   nop 
0x703d8830 <kill+16>:   retl 
0x703d8834 <kill+20>:   nop 
0x703d8838 <kill+24>:   save  %sp, -96, %sp
0x703d883c <kill+28>:   call  0x704fd1e4
0x703d8840 <kill+32>:   nop 
0x703d8844 <kill+36>:   st  %i0, [ %o0 ]
0x703d8848 <kill+40>:   ret 
0x703d884c <kill+44>:   restore  %g0, -1, %o0
0x703d8850 <kill+48>:   illtrap  0
0x703d8854 <kill+52>:   illtrap  0
0x703d8858 <kill+56>:   illtrap  0
0x703d885c <kill+60>:   illtrap  0
End of assembler dump.

Glibc version  2.3.2-r9 installed
(NOTE: In trying to solve this bug I've recompiled glibc/gcc before with no positive effect)
Comment 11 Edward Montezinos 2004-03-13 23:01:37 UTC
works fine for me now
Comment 12 Dave Andruczyk 2004-03-15 05:33:23 UTC
Still fails for me: (both with arts-1.2.0 and arts-1.2.1)

make[3]: Entering directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
../mcopidl/mcopidl -t ../flow/artsflow.idl
../mcopidl/mcopidl -t ../flow/artsflow.idl
free(): invalid pointer 0x7683c!
make[3]: *** [artsflow.cc] Aborted
make[3]: *** Waiting for unfinished jobs....
free(): invalid pointer 0x7683c!
make[3]: *** [artsflow.h] Aborted
make[3]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.2.0/work/arts-1.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.2.0 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 13 Dave Andruczyk 2004-03-15 05:56:10 UTC
currently recompiling glibc with debugging symbols enabled,  will retry to compile arts afterwards and run things through gdb to see if I can find the culprit (suspecting glibc at the moment) as the current gdb runs say the fault is coming from libc.so.6


Comment 14 Dave Andruczyk 2004-03-15 07:49:18 UTC
OK:
	Recompiled glibc with debugging symbols (added -g flag to CFLAGS, and added "nostrip" to FEATURES)

Tried to re-emerge arts-1.2.0,  failed in the same place.  here's the GDB info:

 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

I'll also file a bug in glibs regarding this issue
Comment 15 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-07 08:29:54 UTC
Fails for me, too.  I have the same exact CFLAGS.  I'll try toning down the CFLAGS to see if it makes a difference.
Comment 16 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-07 09:10:58 UTC
CFLAGS="-O2 -pipe" CXXFLAGS="${CFLAGS}" emerge arts-1.2.1.ebuild worked... I'm placing $$ on the -fomit-frame-pointer, but I want to confirm it first.
Comment 17 Ciaran McCreesh 2004-04-07 09:30:20 UTC
Why are you using -fomit-frame-pointer on sparc?
Comment 18 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-07 11:10:06 UTC
-fomit-frame-pointer filtered out for sparc... in 1.2.1