Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/jemalloc/lib Remove -O0 hack for alpha; root ca...



details:   https://anonhg.NetBSD.org/src/rev/f945b0de041b
branches:  trunk
changeset: 1022157:f945b0de041b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 06 12:40:24 2021 +0000

description:
Remove -O0 hack for alpha; root cause has been addressed.

diffstat:

 external/bsd/jemalloc/lib/Makefile.inc |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r 3807c18b71d0 -r f945b0de041b external/bsd/jemalloc/lib/Makefile.inc
--- a/external/bsd/jemalloc/lib/Makefile.inc    Tue Jul 06 12:38:40 2021 +0000
+++ b/external/bsd/jemalloc/lib/Makefile.inc    Tue Jul 06 12:40:24 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.13 2020/12/16 01:21:32 rin Exp $
+#      $NetBSD: Makefile.inc,v 1.14 2021/07/06 12:40:24 thorpej Exp $
 
 JEMALLOC:=${.PARSEDIR}/..
 
@@ -51,14 +51,6 @@
 COPTS.stats.c+=-Wno-error=stack-protector
 COPTS.tcache.c+=-Wno-error=stack-protector
 
-.if ${MACHINE} == "alpha" && ${ACTIVE_CC} == "gcc"
-# 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+=        -O0
-COPTS.tcache.c+=-O0
-.endif
-
 .if ${MACHINE_ARCH} == "vax"
 # in merge_overlapping_regs, at regrename.c
 COPTS.arena.c+=-O0



Home | Main Index | Thread Index | Old Index