Module Name:    src
Committed By:   skrll
Date:           Sat Nov 16 17:14:06 UTC 2013

Modified Files:
        src/doc: HACKS
        src/libexec/ld.elf_so: Makefile

Log Message:
Remove hack now it's fixed in 4.8.2


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/doc/HACKS
cvs rdiff -u -r1.124 -r1.125 src/libexec/ld.elf_so/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/HACKS
diff -u src/doc/HACKS:1.142 src/doc/HACKS:1.143
--- src/doc/HACKS:1.142	Wed Nov 13 11:06:53 2013
+++ src/doc/HACKS	Sat Nov 16 17:14:06 2013
@@ -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 @@ port	x68k
 		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

Index: src/libexec/ld.elf_so/Makefile
diff -u src/libexec/ld.elf_so/Makefile:1.124 src/libexec/ld.elf_so/Makefile:1.125
--- src/libexec/ld.elf_so/Makefile:1.124	Wed Nov 13 11:06:53 2013
+++ src/libexec/ld.elf_so/Makefile	Sat Nov 16 17:14:06 2013
@@ -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 @@ CPPFLAGS+=	-DRTLD_DEFAULT_LIBRARY_PATH=\
 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

Reply via email to