Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/arch/atari/stand/installboot Pull up following revisi...



details:   https://anonhg.NetBSD.org/src/rev/68663cc2e1f8
branches:  netbsd-7
changeset: 798941:68663cc2e1f8
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Feb 04 06:50:46 2015 +0000

description:
Pull up following revision(s) (requested by chs in ticket #482):
        sys/arch/atari/stand/installboot/Makefile: revision 1.7
Specify -fno-strict-aliasing as a temporary workaround for gcc48.
The existing abcksum() also violates strict-aliasing rule
(while current gcc48 doesn't warn it) and fixing all violations
strictly requires whole reorganization of boot sector structures.
But it won't happen soon and this MD installboot should be integrated
into MI installboot(8) in future, and it requires whole overhaul anyway.
See long discussion in source-changes-d@ for details.
Should be pulled up to netbsd-7 if we switches m68k to using gcc48.

diffstat:

 sys/arch/atari/stand/installboot/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c45cba525ce1 -r 68663cc2e1f8 sys/arch/atari/stand/installboot/Makefile
--- a/sys/arch/atari/stand/installboot/Makefile Wed Feb 04 06:48:13 2015 +0000
+++ b/sys/arch/atari/stand/installboot/Makefile Wed Feb 04 06:50:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2011/11/01 13:19:53 chs Exp $
+#      $NetBSD: Makefile,v 1.6.28.1 2015/02/04 06:50:46 snj Exp $
 
 WARNS= 4
 PROG=  installboot
@@ -7,4 +7,7 @@
 BINDIR=        /usr/mdec
 LDADD= -lkvm
 
+# XXX needs proper struct or union to calculate boot sector uint16_t cksums
+CFLAGS+=       -fno-strict-aliasing
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index