Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src Retire some old clang hackarounds.
details: https://anonhg.NetBSD.org/src-all/rev/3d6a911cf284
branches: trunk
changeset: 933226:3d6a911cf284
user: Joerg Sonnenberger <joerg%bec.de@localhost>
date: Wed May 13 19:35:37 2020 +0200
description:
Retire some old clang hackarounds.
diffstat:
doc/TODO.clang | 13 -------------
external/bsd/libc++/lib/Makefile | 3 ---
tests/libexec/ld.elf_so/Makefile | 1 -
tests/libexec/ld.elf_so/Makefile.inc | 4 ----
4 files changed, 0 insertions(+), 21 deletions(-)
diffs (58 lines):
diff -r c0baedb5128f -r 3d6a911cf284 doc/TODO.clang
--- a/doc/TODO.clang Wed May 13 19:31:25 2020 +0200
+++ b/doc/TODO.clang Wed May 13 19:35:37 2020 +0200
@@ -17,21 +17,8 @@
src/external/mit/xorg/lib/pixman
uses -fno-integrated-as on ARM for the macro (ab)use.
-src/external/libc++/lib
- Avoid clang bug on earm with SSP/FORTIFY:
- rt_libelftc_dem_gnu3.c:3567:3: warning: '__builtin___memset_chk'
- will always overflow destination buffer [-Wbuiltin-memcpy-chk-size]
- memset(&f, 0, FLOAT_EXTENED_BYTES);
-
src/external/mit/xorg/lib/gallium
has atomic alignment issues and uses unknown pragma
src/external/mpl/bind/
has atomic alignment issues
-
-src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
- hack around tls_model("initial_exec") on powerpc
-
-src/tests/libexec/ld.elf_so/Makefile.inc
- use -msecure-plt on powerpc for ifuncs
-
diff -r c0baedb5128f -r 3d6a911cf284 external/bsd/libc++/lib/Makefile
--- a/external/bsd/libc++/lib/Makefile Wed May 13 19:31:25 2020 +0200
+++ b/external/bsd/libc++/lib/Makefile Wed May 13 19:35:37 2020 +0200
@@ -49,9 +49,6 @@
CWARNFLAGS.clang+= -Wno-error=missing-field-initializers -Wno-error=switch
CWARNFLAGS.clang+= -Wno-error=implicit-exception-spec-mismatch -Wno-error=format-nonliteral -Wno-error=format-security
-# with SSP and FORTIFY, on earm...
-COPTS.rt_libelftc_dem_gnu3.c += ${${ACTIVE_CC} == "clang":? -Wno-error=builtin-memcpy-chk-size :}
-
.if ${MKSANITIZER} != "yes"
LDFLAGS+= -Wl,-z,defs
.endif
diff -r c0baedb5128f -r 3d6a911cf284 tests/libexec/ld.elf_so/Makefile
--- a/tests/libexec/ld.elf_so/Makefile Wed May 13 19:31:25 2020 +0200
+++ b/tests/libexec/ld.elf_so/Makefile Wed May 13 19:35:37 2020 +0200
@@ -3,7 +3,6 @@
NOMAN= # defined
-.include "Makefile.inc"
.include <bsd.own.mk>
.if ${MKPIC} != "no"
diff -r c0baedb5128f -r 3d6a911cf284 tests/libexec/ld.elf_so/Makefile.inc
--- a/tests/libexec/ld.elf_so/Makefile.inc Wed May 13 19:31:25 2020 +0200
+++ b/tests/libexec/ld.elf_so/Makefile.inc Wed May 13 19:35:37 2020 +0200
@@ -1,5 +1,1 @@
.include "../Makefile.inc"
-
-.if ${MACHINE_ARCH} == "powerpc"
-CFLAGS += -msecure-plt
-.endif
Home |
Main Index |
Thread Index |
Old Index