NetBSD-Bugs archive

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

Re: port-i386/49725 (pxeboot_ia32.bin built with amd64 toolchain crashes on some i386 CPUs)



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: jdbaker%mylinuxisp.com@localhost
Subject: Re: port-i386/49725 (pxeboot_ia32.bin built with amd64 toolchain crashes on some i386 CPUs)
Date: Fri, 6 Mar 2015 08:58:52 +0100

 Can you test if the patch below fixes it? I can provide a amd64-built binary,
 contact me off-list if you need that.
 
 Martin
 
 
 Index: Makefile.booters
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/i386/stand/Makefile.booters,v
 retrieving revision 1.89
 diff -u -r1.89 Makefile.booters
 --- Makefile.booters	12 Jan 2014 15:26:29 -0000	1.89
 +++ Makefile.booters	6 Mar 2015 07:55:52 -0000
 @@ -14,7 +14,7 @@
  # Make sure we override any optimization options specified by the
  # user.
  .if ${MACHINE_ARCH} == "x86_64"
 -CPUFLAGS= -m32
 +CPUFLAGS= -m32 -march=i386 -mtune=i386
  .else
  CPUFLAGS=  -march=i386 -mtune=i386
  .endif
 


Home | Main Index | Thread Index | Old Index