NetBSD-Help archive

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

gnustep base on NetBSD 4.0 i386

I get this on NetBSD 4.0 i386

it seems like GNUstep/objc threads are broken on NetBSD 4.0

(gdb) r
Starting program: 
exception NSInternalInconsistencyException, reason: Unable to detach thread 
(perhaps No such file or 

Program received signal SIGABRT, Aborted.
0xbb63022f in kill () from /usr/lib/
(gdb) bt
#0  0xbb63022f in kill () from /usr/lib/
#1  0xbb6cc338 in abort () from /usr/lib/
#2  0xbb96802c in _terminate () at NSException.m:692
#3  0xbb968267 in _NSFoundationUncaughtExceptionHandler (exception=0x80d24e8) 
#4  0xbb9689ce in -[NSException raise] (self=0x80d24e8, _cmd=0xbbb91160) at 
#5  0xbb968404 in +[NSException raise:format:arguments:] (self=0xbbb90f40, 
name=0xbbb90cd8, format=0xbbbbb380, 
    argList=0xbfbfe0a0 "H$\r\bp???") at NSException.m:762
#6  0xbb96834f in +[NSException raise:format:] (self=0xbbb90f40, 
name=0xbbb90cd8, format=0xbbbbb380) at NSException.m:748
#7  0xbba0f046 in -[NSThread start] (self=0x805ec88, _cmd=0xbbbbb938) at 
#8  0xbba0e154 in +[NSThread detachNewThreadSelector:toTarget:withObject:] 
_cmd=0x804d9b8, aSelector=0x804d9a8, aTarget=0x80796a8, 
    anArgument=0x8079d08) at NSThread.m:559
#9  0x080492b9 in gnustep_base_user_main () at diningPhilosophers.m:141
#10 0xbb9ce089 in main (argc=1, argv=0xbfbfe1f0, env=0xbfbfe1f8) at 
#11 0x08048bd4 in ___start ()
#12 0x08048b37 in _start ()

digest-20070803     Message digest wrapper utility
tcsh-6.15.00        Extended C-shell with many useful features
libtool-base-1.5.24nb5 Generic shared library support script (the script itself)
gmake-3.81          GNU version of 'make' utility
expat-2.0.1         XML parser library written in C
apr-1.2.12          Apache Portable Runtime
pkg-config-0.22     System for managing library compile/link flags
neon-0.26.3nb1      HTTP and WebDAV client library
apr-util-1.2.10     Apache Portable Runtime utilities
subversion-base-1.4.6nb1 Version control system, base programs and libraries
xmlcatmgr-2.2nb1    XML and SGML catalog manager
libxml2-2.6.30      XML parser library from the GNOME project
perl-5.8.8nb6       Practical Extraction and Report Language
ddclient-3.6.6nb1   Client to update dynamic DNS entries
jpeg-6bnb4          IJG's jpeg compression utilities
tiff-3.8.2nb3       Library and tools for reading and writing TIFF data files
png-1.2.23          Library for manipulating PNG images
libffi-2.0betanb2   Foreign function interface

dave@sandbox>gcc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-
multilib --enable-threads --disable-symvers 
--build=i386-unknown-netbsdelf4.99.3 --host=i386-
-netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 4.1.2 20061021 prerelease (NetBSD nb3 20061125)


On NetBSD 3.1 it works.

dave@alice>gcc -v
Using built-in specs.
Configured with: 
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-
long-long --disable-multilib --enable-threads --disable-symvers 
netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)

Any ideas?


Home | Main Index | Thread Index | Old Index