Module Name: src Committed By: rin Date: Wed Dec 16 01:21:32 UTC 2020
Modified Files: src/external/bsd/jemalloc/lib: Makefile.inc Log Message: For alpha, apply -O0 hack again to rtree.c for GCC9. Otherwise, GDB11 crashes in strange ways. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/bsd/jemalloc/lib/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/jemalloc/lib/Makefile.inc diff -u src/external/bsd/jemalloc/lib/Makefile.inc:1.12 src/external/bsd/jemalloc/lib/Makefile.inc:1.13 --- src/external/bsd/jemalloc/lib/Makefile.inc:1.12 Wed Oct 7 07:35:28 2020 +++ src/external/bsd/jemalloc/lib/Makefile.inc Wed Dec 16 01:21:32 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.12 2020/10/07 07:35:28 rin Exp $ +# $NetBSD: Makefile.inc,v 1.13 2020/12/16 01:21:32 rin Exp $ JEMALLOC:=${.PARSEDIR}/.. @@ -55,7 +55,7 @@ COPTS.tcache.c+=-Wno-error=stack-protect # These files need to be compiled with -O0, or build everything with # -DJEMALLOC_DEBUG. Otherwise, userland binaries crash randomly, as # reported in port-alpha/54307. -COPTS.rtree.c+= ${${HAVE_GCC:U0} < 9:? -O0 :} +COPTS.rtree.c+= -O0 COPTS.tcache.c+=-O0 .endif