NetBSD Problem Report #46098

From martin@duskware.de  Sat Feb 25 20:34:21 2012
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id A5B8F63BA17
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Feb 2012 20:34:21 +0000 (UTC)
Message-Id: <20120225203421.A5B8F63BA17@www.NetBSD.org>
Date: Sat, 25 Feb 2012 20:34:21 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: /boot compiled with gcc 4.5.3 does not work
X-Send-Pr-Version: 3.95

>Number:         46098
>Category:       port-vax
>Synopsis:       /boot compiled with gcc 4.5.3 does not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 25 20:35:00 +0000 2012
>Last-Modified:  Sun Mar 04 01:25:01 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.65
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD dead-to-the-world.duskware.de 5.99.65 NetBSD 5.99.65 (DEAD) #51: Tue Feb 14 22:38:47 CET 2012 martin@night-porter.duskware.de:/usr/src/sys/arch/vax/compile/DEAD vax
Architecture: vax
Machine: vax
>Description:

When compiling /usr/mdec/boot from -current it does not work. It does not
even make it past consinit() - the first place where I could add printfs,
so this is beyound me - vax experts?

>How-To-Repeat:

cp /usr/mdec/boot /
on a -current sysytem, reboot - watch it fail.

>Fix:
n/a

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: [martin@duskware.de: Re: port-vax/46098: /boot compiled with gcc
 4.5.3 does not work]
Date: Sun, 4 Mar 2012 01:24:42 +0000

 Not sent to gnats. (needs to be gnats-bugs)

    ------

 From: Martin Husemann <martin@duskware.de>
 To: gnats@NetBSD.org
 Cc: Matt Thomas <matt@NetBSD.org>
 Subject: Re: port-vax/46098: /boot compiled with gcc 4.5.3 does not work
 Date: Sun, 4 Mar 2012 01:31:57 +0100

 With the following hack I get a /boot working for me.

 Martin


 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/vax/boot/boot/Makefile,v
 retrieving revision 1.38
 diff -c -u -r1.38 Makefile
 --- Makefile	22 Jan 2011 19:19:24 -0000	1.38
 +++ Makefile	4 Mar 2012 00:24:08 -0000
 @@ -10,11 +10,15 @@
  	consio.c consio2.S str.S ${DEVS} findcpu.c vers.c
  LIBC=

 +COPTS.boot.c = -O1
 +COPTS.devopen.c = -O1
 +
  CLEANFILES+=${PROG} ${PROG}.sym vers.c
  CPPFLAGS+=-DSUPPORT_BOOTPARAMS -DSUPPORT_BOOTP -DSUPPORT_DHCP -D_STANDALONE \
  	-DNO_MID_CHECK
  #CPPFLAGS+=-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DDEV_DEBUG \
  #	-DRPC_DEBUG -DRARP_DEBUG -DPARANOID
 +CPPFLAGS+= -DDEV_DEBUG -DPARANOID
  BINDIR=	
  MDEC_DIR=/usr/mdec

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.