Andreas_Hallmann | 1 Mar 2005 13:47

Re: v8 compiled 2.0.1 dumps core in sh on SS4(110) [mirco sparc II] but not on a turbo sparc

Unfortunately, pulling up /bin/sh and usr.bin/printf sources
result in the same solid problem.

Can any one give me a quick advise, how to modify the makefile to 
build sh with debug info?
The sh used seams to be an ash.
And my SS4 seems to be the right machine to lock for that problem. sig.

As a work around an sh for a 1.6.2 Distribution can be used.
But also libtool seems to suffer. (Only now and than)

On Tue, Feb 22, 2005 at 05:55:46PM +0100, Andreas Hallmann wrote:
> Martin Husemann wrote:
> 
> >On Tue, Feb 22, 2005 at 09:34:51AM +0100, Andreas Hallmann wrote:
> > 
> >
> >>Resulting sets are working perfectly on a turbo sparc based system, 
> >>where as sh is dumping core
> >>on a micro sparc II based SS4-110.
> >>   
> >>
> >
> >There was a sh bug recently fixed in:
> > $NetBSD: expand.c,v 1.68 2005/02/14 20:46:26 dsl Exp $ 
> >This was triggered by random stack content, but I haven't seen it core
> >dump.
> > 
> >
> 
(Continue reading)

Martin Husemann | 1 Mar 2005 14:45
Picon

Re: v8 compiled 2.0.1 dumps core in sh on SS4(110) [mirco sparc II] but not on a turbo sparc

On Tue, Mar 01, 2005 at 01:47:10PM +0100, Andreas_Hallmann wrote:
> Can any one give me a quick advise, how to modify the makefile to 
> build sh with debug info?

DBG=-g 

should do the trick, either in /etc/mk.conf or with build.sh -VDBG=-g
(I think).

Martin

Christian Hattemer | 2 Mar 2005 02:32
Picon
Favicon

Build broken when using STRIPFLAG=-s

Hi,

it seems the sparc build is broken when using STRIPFLAG=-s.

I've built a full release of 2.0_STABLE as of yesterday without STRIPFLAG
and it worked fine.

Then I changed destdir and releasedir and added STRIPFLAG=-s to the
configuration. (To see how much the difference would be, I have a 1 GB HDD
in that box). But it broke on:

install ===> sys/arch/sparc/stand/bootxx
#   install  /usr/home/krille/sparc-build/dest-strip/usr/mdec/bootxx
STRIP=/usr/home/krille/sparc-build/tools/bin/sparc--netbsdelf-strip
/usr/home/krille/sparc-build/tools/bin/nbinstall -U -M
/usr/home/krille/sparc-build/dest-strip/METALOG -D
/usr/home/krille/sparc-build/dest-strip -h sha1 -N /usr/src/etc -c -p -r -o
root -g wheel -m 444  -s  bootxx
/usr/home/krille/sparc-build/dest-strip/usr/mdec/bootxx
strip: /usr/home/krille/sparc-build/dest-strip/usr/mdec/inst.16695a: File
format not recognized
nbinstall: stripping
/usr/home/krille/sparc-build/dest-strip/usr/mdec/inst.16695a: No such file
or directory

It seems there's nothing to strip in this file and strip shouldn't be run on
it because it can't handle this.

It seems the culprit is /usr/src/sys/arch/sparc/stand/bootxx/Makefile. There
is an empty definition of STRIPFLAG, but below the inclusion of
(Continue reading)

Michael Kukat | 2 Mar 2005 08:42

SparcStation with no FPU and NetBSD-2.0

Hallo,

i got some nice piece of hardware yesterday, a Synoptics LattisNet
Concentrator 3030 with Network Control Engine 3040, which is some OPUStation
Personal Mainframe 5000, a SparcStation1 clone. Booting NetBSD works fine, but
some commands give Floating Point Exceptions due to missing FPU (newfs is one
of those, which really is a problem :)

So some questions here:

Is it possible to run NetBSD 2.0 without FPU on this box?
As i have seen, FPU emulation is not yet done (and maybe never will), is this
true?
Did anyone try to build a complete 2.0 with -mno-fpu to gcc? This would be the
next try.
Or should i just forget about the hope to get the machine running as-is and
hunt for a Weitek 3170 here?

Btw... If someone wants a 2.0 release built and optimized for SuperSparc (as
in SparcStation 20 MP with 2 SM71 here), just tell me where to put it. Some
packages are also built (cyrus, sendmail, openldap, pine and so), where the
only problem occured in gmp, where gcc seems to break some optimizations,
clamav at least tells about wrong signatures. I fixed this by building gmp
without optimizations.

...Michael

--

-- 
http://www.unixiron.org/    Home Powered by: (Net|Open|Free)BSD IRIX NonStop-UX
Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX
(Continue reading)

Andrey Petrov | 2 Mar 2005 08:56
Picon

Re: Build broken when using STRIPFLAG=-s

On Wed, Mar 02, 2005 at 02:32:28AM +0100, Christian Hattemer wrote:
> Hi,
> 
> it seems the sparc build is broken when using STRIPFLAG=-s.
> 
> I've built a full release of 2.0_STABLE as of yesterday without STRIPFLAG
> and it worked fine.
> 
> Then I changed destdir and releasedir and added STRIPFLAG=-s to the
> configuration. (To see how much the difference would be, I have a 1 GB HDD
> in that box). But it broke on:
> 
> install ===> sys/arch/sparc/stand/bootxx
> #   install  /usr/home/krille/sparc-build/dest-strip/usr/mdec/bootxx
> STRIP=/usr/home/krille/sparc-build/tools/bin/sparc--netbsdelf-strip
> /usr/home/krille/sparc-build/tools/bin/nbinstall -U -M
> /usr/home/krille/sparc-build/dest-strip/METALOG -D
> /usr/home/krille/sparc-build/dest-strip -h sha1 -N /usr/src/etc -c -p -r -o
> root -g wheel -m 444  -s  bootxx
> /usr/home/krille/sparc-build/dest-strip/usr/mdec/bootxx
> strip: /usr/home/krille/sparc-build/dest-strip/usr/mdec/inst.16695a: File
> format not recognized
> nbinstall: stripping
> /usr/home/krille/sparc-build/dest-strip/usr/mdec/inst.16695a: No such file
> or directory
> 
> It seems there's nothing to strip in this file and strip shouldn't be run on
> it because it can't handle this.
> 
> It seems the culprit is /usr/src/sys/arch/sparc/stand/bootxx/Makefile. There
(Continue reading)

Bruce O'Neel | 2 Mar 2005 11:58
Picon
Favicon

Re: SparcStation with no FPU and NetBSD-2.0

Hi,

On Wed, Mar 02, 2005 at 08:42:53AM +0100, Michael Kukat wrote:
> Hallo,
> 
> i got some nice piece of hardware yesterday, a Synoptics LattisNet
> Concentrator 3030 with Network Control Engine 3040, which is some OPUStation
> Personal Mainframe 5000, a SparcStation1 clone. Booting NetBSD works fine, but
> some commands give Floating Point Exceptions due to missing FPU (newfs is one
> of those, which really is a problem :)
> 
> So some questions here:
> 
> Is it possible to run NetBSD 2.0 without FPU on this box?

I've done exactly that with the mac68k port.  You can get a tar file which 
expands overtop of 2.0 at:

ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-2.0-mac68ksoftfloat/softfloat-20040930-2.0.tar.gz

> As i have seen, FPU emulation is not yet done (and maybe never will), is this
> true?
> Did anyone try to build a complete 2.0 with -mno-fpu to gcc? This would be the
> next try.

Basically all that happens for the mac68k changes are:

-msoft-float is passed to gcc

and
(Continue reading)

Michael Kukat | 2 Mar 2005 12:14

Re: SparcStation with no FPU and NetBSD-2.0

Hello,

>> Is it possible to run NetBSD 2.0 without FPU on this box?
>
> I've done exactly that with the mac68k port.  You can get a tar file which
> expands overtop of 2.0 at:

Okay, i'll dive into this the weekend i think. As my SS20 needed 3 days to
build 2.0 (from a default 2.0), i think, it won't be too much faster wirh the
now running 2.0 for supersparc. But as i don't like cross-compiling too much,
this will be the way. Results (maybe with patches) will follow as soon as the
whole thing looks stable.

...Michael

--

-- 
http://www.unixiron.org/    Home Powered by: (Net|Open|Free)BSD IRIX NonStop-UX
Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX

Brett Lymn | 2 Mar 2005 12:32
Picon

Re: SparcStation with no FPU and NetBSD-2.0

On Wed, Mar 02, 2005 at 12:14:16PM +0100, Michael Kukat wrote:
> 
> But as i don't like cross-compiling too much,
> this will be the way.
>

Whatever suits you but you may want to keep in mind that the vast bulk
of the architectures that NetBSD 2.0 was built for were done using cross
compilation on a fast machine.

--

-- 
Brett Lymn

Christian Hattemer | 2 Mar 2005 21:41
Picon
Favicon

Re: Build broken when using STRIPFLAG=-s

Hello Andrey

On 02.03.05, you wrote:

> Try
>
> STRIPFLAG?=-s

To my surprise moving the .include didn't help, but your suggestion works.
Thanks.

Bye, Chris

Michael | 5 Mar 2005 01:51
Picon
Favicon

SPARCbook and wscons

Hello,

two questions:
1. Does anyone else here use NetBSD 2.x on a SPARCbook 3GX? I just resurrected mine and dug up some hardware info.
2. What about wscons? I recently added wscons support to the cgsix driver on sparc64, it should work on
sparc32 too but I can't really test it because the only box with SBus slots I have is an Ultra1. Volunteers? 
The reason for question 2 is - I'm playing with the SPARCbook's graphics controller, the documentation
from Tadpole is quite sketchy but the holes are filled by XFree86 3.3 so I guess it wouldn't be hard to add
acceleration to pnozz*. The obvious way to go would be rasops and wsdisplay but I don't see any wscons
support in sparc32 ( well, wscons attachments for keyboard and mouse work on sparc64, more or less, so all
that's missing is framebuffer support )

have fun
Michael

Gmane