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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 25 20:35:00 +0000 2012
>Closed-Date:    Mon Mar 19 17:37:33 +0000 2018
>Last-Modified:  Mon Mar 19 17:37:33 +0000 2018
>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

>Release-Note:

>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


State-Changed-From-To: open->closed
State-Changed-By: ragge@NetBSD.org
State-Changed-When: Mon, 19 Mar 2018 17:37:33 +0000
State-Changed-Why:
Gcc 5.5 do not have this problem (which is used now).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.