Subject: Re: sh3 ports are switched to gcc3
To: None <port-sh3@netbsd.org, port-hpcsh@netbsd.org,>
From: Harold Gutch <logix@foobar.franken.de>
List: port-dreamcast
Date: 02/27/2004 23:31:30
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="src:distrib:sets:lists:comp:md.dreamcast.diff"
--- 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
--+HP7ph2BbKc20aGI
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="ktrace.out"
Content-Transfer-Encoding: base64
BgAAAAcAAAC6AQAAa3RyYWNlAAAAAAAAAAAAAAAAAACtz45APjgCAGDCD4xuZXRic2QQAAAA
AgAAALoBAABrdHJhY2UAAAAAAAAAAAAAAAAAAK3PjkA9OAIAPN83wi0AAAAAAAAAAAAAABIA
AAAUAAAAAQAAALoBAABrdHJhY2UAAAAAAAAAAAAAAAAAAK3PjkDaqwIAQAYCwDsAAAAMAAAA
7Ob/f4Tr/3+Q6/9/DAAAAAMAAAC6AQAAa3RyYWNlAAAAAAAAAAAAAAAAAACtz45ATa4CAABA
/owvdXNyL2Jpbi9sZGQWAAAAAwAAALoBAABrdHJhY2UAAAAAAAAAAAAAAAAAAK3PjkAp/AIA
AET+jC91c3IvbGliZXhlYy9sZC5lbGZfc28GAAAABwAAALoBAABsZGQAY2UAAAAAAAAAAAAA
AAAAAK3PjkA84gUAYMIPjG5ldGJzZBAAAAACAAAAugEAAGxkZABjZQAAAAAAAAAAAAAAAAAA
rc+OQBQtBgA83zfCOwAAAP7///8AAAAA8H5CICgAAAABAAAAugEAAGxkZABjZQAAAAAAAAAA
AAAAAAAArc+OQJ9+BgBAZwnAxQAAACAAAAAAAAAAAIAAAAMAAAACEAAA/////wAAAAAAAAAA
AAAAABAAAAACAAAAugEAAGxkZABjZQAAAAAAAAAAAAAAAAAArc+OQOwaBwA83zfCxQAAAAAA
AAAAMEEgAAAAABQAAAABAAAAugEAAGxkZABjZQAAAAAAAAAAAAAAAAAArc+OQM5BBwDACgLA
BQAAAAwAAADYf0IgAAAAANh/QiAPAAAAAwAAALoBAABsZGQAY2UAAAAAAAAAAAAAAAAAAK3P
jkDhjgcAAED+jC9ldGMvbGQuc28uY29uZhAAAAACAAAAugEAAGxkZABjZQAAAAAAAAAAAAAA
AAAArc+OQBu3BwA83zfCBQAAAAIAAAAAAAAA2Or/fxQAAAABAAAAugEAAGxkZABj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