Subject: Re: questions about current state...
To: None <eeh@netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: port-sparc64
Date: 12/28/2000 16:30:03
[ you didn't cc sparc64 on this.... ]

> Hi Matt!
> 
> 	*finally* got around to looking at the port... netbooted 1.5 for an Ultra10. I
> 	have some stuff to check to make sure things work (namely the Qlogic isp fixes
> 	I just did for macppc)....
> 
> 	I gather that with some of the problems I've been having with the compiler
> 	that came with 1.5 and the FAQ that I need to build the 2.95 egcs compiler for
> 	sparc64 in order to build kernels?
> 
> The 1.5 release has gcc 2.95.2, however there is a problem with `cpp' where
> it does not properly define certain things when not run with the compiler
> driver (`gcc').  Beyond that it should work.

Here's what I get:

mjacob@slinx.feral.com 10 -> cat > tst.c
main()
{
printf("hello world\n");
}
mjacob@slinx.feral.com 11 -> cc tst.c
mjacob@slinx.feral.com 12 -> a.out
a.out: Shared object has no run-time symbol table
mjacob@slinx.feral.com 13 -> cc -Wl,-Bstatic tst.c
mjacob@slinx.feral.com 14 -> a.out
hello world
mjacob@slinx.feral.com 10 -> cat > tst.c
main()
{
printf("hello world\n");
}
mjacob@slinx.feral.com 11 -> cc tst.c
mjacob@slinx.feral.com 12 -> a.out
a.out: Shared object has no run-time symbol table
mjacob@slinx.feral.com 13 -> cc -Wl,-Bstatic tst.c
mjacob@slinx.feral.com 14 -> a.out
hello world
mjacob@slinx.feral.com 15 -> 


This is not properly, I suppose, a 'cc' problem. But what's up?

When trying to configure bash, say, in or out of pkgsrc, I get:

mjacob@slinx.feral.com 22 -> make
===> Configuring for bash-2.04
loading cache ./config.cache
checking host system type... sparc64--netbsd
...
checking whether getpgrp takes no argument... configure: error: cannot check
getpgrp if cross compiling
...


Again, not properly a 'cc' problem maybe.... but it points to a bunged
toolchain.

This is stuff pulled straight from the CD (I'm booted diskless).

If you say the toolchain is okay, I'll try and build a kernel.

-matt