Module Name: src Committed By: scole Date: Sat May 4 02:06:59 UTC 2019
Modified Files: src/sys/arch/ia64/conf: Makefile.ia64 Log Message: Disable optimization for pmap.c to prevent RAW assembler dependency warnings. If port ever becomes more stable, should revert this and figure out exactly why only pmap seems to have this issue in the kernel. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/ia64/conf/Makefile.ia64 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/ia64/conf/Makefile.ia64 diff -u src/sys/arch/ia64/conf/Makefile.ia64:1.6 src/sys/arch/ia64/conf/Makefile.ia64:1.7 --- src/sys/arch/ia64/conf/Makefile.ia64:1.6 Sat Sep 22 12:24:02 2018 +++ src/sys/arch/ia64/conf/Makefile.ia64 Sat May 4 02:06:59 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.ia64,v 1.6 2018/09/22 12:24:02 rin Exp $ +# $NetBSD: Makefile.ia64,v 1.7 2019/05/04 02:06:59 scole Exp $ # Makefile for NetBSD # @@ -34,6 +34,11 @@ GENASSYM_CONF= ${IA64}/ia64/genassym.cf CPPFLAGS+= -mconstant-gp -Dia64 AFLAGS+= -x assembler-with-cpp -Wa,-x +# XXX don't optimize pmap.c to get rid of assembler warnings like: +# Warning: Use of 'st8' may violate RAW dependency 'RR#' (data) +# Happening with gcc7 and iirc several years worth of prior gcc versions +COPTS.pmap.c+= -O0 + ## ## (3) libkern and compat ##