NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[martin%duskware.de@localhost: Re: port-vax/46098: /boot compiled with gcc 4.5.3 does not work]



The following reply was made to PR port-vax/46098; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: [martin%duskware.de@localhost: 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@localhost>
 To: gnats%NetBSD.org@localhost
 Cc: Matt Thomas <matt%NetBSD.org@localhost>
 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
  
 


Home | Main Index | Thread Index | Old Index