Source-Changes-HG archive

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

[src/trunk]: src Remove hack now it's fixed in 4.8.2



details:   https://anonhg.NetBSD.org/src/rev/1a18c883d3f7
branches:  trunk
changeset: 791408:1a18c883d3f7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Nov 16 17:14:06 2013 +0000

description:
Remove hack now it's fixed in 4.8.2

diffstat:

 doc/HACKS                  |  12 +-----------
 libexec/ld.elf_so/Makefile |   9 +--------
 2 files changed, 2 insertions(+), 19 deletions(-)

diffs (49 lines):

diff -r 6293b4789750 -r 1a18c883d3f7 doc/HACKS
--- a/doc/HACKS Sat Nov 16 17:12:35 2013 +0000
+++ b/doc/HACKS Sat Nov 16 17:14:06 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.142 2013/11/13 11:06:53 skrll Exp $
+# $NetBSD: HACKS,v 1.143 2013/11/16 17:14:06 skrll Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -891,16 +891,6 @@
                internal compiler error: in cselib_record_set, at cselib.c:1999
        kcah
 
-port   x86_64
-       hack    gcc 4.8 gcc miscompiles
-       cdate   Wed Nov 13 10:16:00 GMT 2013
-       who     skrll
-       file    libexec/ld.elf_so/Makefile:1.124
-       descr
-               Incorrect code for rtld.o is produced with -fipa-cp-clone - stack
-               becomes unaligned in _rtld_unload_object.
-       kcah
-
 hack   fallback to /usr/bin/clang-cpp in rpcgen
 cdate  Wed Jun  5 15:49:27 CEST 2013
 who    joerg
diff -r 6293b4789750 -r 1a18c883d3f7 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Sat Nov 16 17:12:35 2013 +0000
+++ b/libexec/ld.elf_so/Makefile        Sat Nov 16 17:14:06 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.124 2013/11/13 11:06:53 skrll Exp $
+#      $NetBSD: Makefile,v 1.125 2013/11/16 17:14:06 skrll Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
@@ -117,13 +117,6 @@
 COPTS.rtld.c+= -Wno-stack-protector
 COPTS.symbol.c+=-Wno-stack-protector
 
-.if ${HAVE_GCC} >= 48
-.if ${LDELFSO_MACHINE_ARCH} == "x86_64"
-# gcc 4.8.1 miscompiles rtld.c when ipa-cp-clone is included.
-COPTS.rtld.c+= -fno-ipa-cp-clone
-.endif
-.endif
-
 LDADD+=                -L${CLIBOBJ} -L${DESTDIR}${LIBDIR}
 .if ${MKPICLIB} != "no"
 LDADD+=                -lc_pic



Home | Main Index | Thread Index | Old Index