Re: m68k ports vs. libgcc_pic?

"John D. Baker" <[email protected]> Sun, 13 Nov 2011 13:44:26 -0600 (CST)
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.ports.mvme68k
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---2139810480-646409777-1321213466=:19214
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Sat, 5 Nov 2011, John D. Baker wrote:

> On Mon, 31 Oct 2011, Chuck Silvers wrote:
>
>> could you try again with a build that has gcc 4.5?
>
> I was finally able to test this and building packages (at least dependcie=
s
> leading to security/sudo) works just fine.
>
> There seems to be a problem with "usr/mdec/netboot" built with the new
> toolchain.  It causes a (potentially) unending stream of garbage to the
> console port and doesn't appear to boot.  I've rebuilt a few times since
> I last tried, so I'll have to check it again when I'm next within reach
> of the reset button.  "netboot" from before the compiler switch works fin=
e.

mvme68k "/usr/mdec/netboot" definitely fails when built with the new
compiler, etc.:

----------
Copyright Motorola Inc. 1988 - 1992, All Rights Reserved

MVME167 Debugger/Diagnostics Release Version 1.4 - 07/22/92
COLD Start

Local Memory Found =3D00800000 (&8388608)

MPU Clock Speed =3D25Mhz

167-Bug>nbh
Network Booting from: VME167, Controller 0, Device 0
Loading: netboot.mvme68k

Client IP Address      =3D 192.168.17.167
Server IP Address      =3D 192.168.17.43
Gateway IP Address     =3D 0.0.0.0
Subnet IP Address Mask =3D 255.255.255.0
Boot File Name         =3D netboot.mvme68k
Argument File Name     =3D

Network Boot File load in progress... To abort hit <BREAK>

Bytes Received =3D&23736, Bytes Loaded =3D&23736
Bytes/Second   =3D&23736, Elapsed Time =3D1 Second(s)
PC   =3D003F0008 SR   =3D2700=3DTR:OFF_S._7_....
VBR  =3DFFE00000 USP  =3DFFE10000 MSP  =3DFFE10000 ISP* =3DFFE10000
SFC  =3D1=3DUD     DFC  =3D1=3DUD     CACR =3D00000000=3DD:._I:.
D0   =3D00000000 D1   =3D00000000 D2   =3D00000000 D3   =3D00000000
D4   =3D49504C2C D5   =3D00000000 D6   =3D00000000 D7   =3D00000000
A0   =3DFFF46000 A1   =3D003F0008 A2   =3DFFE06620 A3   =3DFFE06520
A4   =3DFFE06520 A5   =3DFFE06420 A6   =3DFFE0642F A7   =3DFFE10000
003F0008 48E78080          MOVEM.L     D0/A0,-(A7)
167-Bug>g
Effective address: 003F0008
P$.=FF=F8N^Nu / //NO!NuNqB=A7NO r=E2=A8NuNq y?Z=E8JgBN=B9?O=B4B0(
                                                  #=C0?Z=ECN=B9?=A8N=B9?ONq=
NOcHy?Z=BCHy?ZN=B9?IP`=FENqB=A7NOp  @Nu>> %s MVME%x netboot (via %s) [%s]
                                                  sbootboot: %s: %s
                                                                   boot: ER=
ROR: ethernet address not set!netie%d: ie_probe called
                                                 ie%d: send %d to %x:%x:%x:=
%x:%x:%x
   ie%d: ie_match --> %d
                        ie%d: ie_match --> 0
                                            ie%d: unknown errorie%d: ie_res=
et cal[...]
[Seemingly continuous stream of garbage output]
[Reset button pressed]


Meanwhile, the older versions of the netboot binary (from 4.0, 5.1, and
-current before the compiler change) all work properly.  Maybe need to
keep "-O2" for the netboot binary?

Once booted with the older versions of "netboot", everything else seems
to work properly.

--=20
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
---2139810480-646409777-1321213466=:19214--