On Sun, Feb 22, 2004 at 04:55:26AM +0300, Valeriy E. Ushakov wrote: > Welcome to the dynamic world! > > Thanks to Nick Hudson <skrll@netbsd> who did the work on libgcc > changes that were necessary to make this switch. > > Pelase, send-pr any problems. Thanks to everybody who made this possible! I don't know if this is related to dynamically/statically linked binaries, or of it was invoked by some gcc 2.x bug that's gone now, but I believe that file(1) was broken on my Dreamcast for quite a long time - however it appears to work just fine after my last upgrade from yesterday's sources. 2 (smaller) problems (the first one should be due to the gcc upgrade, the second one due to the dynamic binaries). 1) src/distrib/sets/lists/comp/md.dreamcast refers to the nonexistant file ./usr/include/dreamcast/_G_config.h, which breaks "build.sh install". The attached diff fixes that. 2) ldd `which ldd` hangs infinitely. ldd works on any other binary I've tried, but not when running it on itself. I'm running my Dreamcast with a NFS root filesystem and a swap-file on that partition. I don't know what other information might be relevant, I've therefore attached the output of "ktrace ldd `which ldd`". bye, Harold
--- src/distrib/sets/lists/comp/md.dreamcast.orig 2004-02-03 16:08:17.000000000 +0100 +++ src/distrib/sets/lists/comp/md.dreamcast 2004-02-27 22:52:46.000000000 +0100 @@ -1,6 +1,6 @@ # $NetBSD: md.dreamcast,v 1.7 2003/12/29 03:13:26 lukem Exp $ ./usr/include/dreamcast comp-c-include -./usr/include/dreamcast/_G_config.h comp-c-include +./usr/include/dreamcast/_G_config.h comp-obsolete obsolete ./usr/include/dreamcast/ansi.h comp-c-include ./usr/include/dreamcast/aout_machdep.h comp-c-include ./usr/include/dreamcast/asm.h comp-c-include
Attachment:
ktrace.out
Description: Binary data