[glibc] 01/01: debian/sysdeps/sh4.mk: build with -fno-delete-null-pointer-checks to workaround a missing SH4 specific __builtin_trap implementation in GCC.
This is an automated email from the git hooks/post-receive script.
aurel32 pushed a commit to branch sid
in repository glibc.
commit eaa3701cd7dfc3cb7381373e8a068c209e63070d
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Thu Mar 10 22:38:50 2016 +0100
debian/sysdeps/sh4.mk: build with -fno-delete-null-pointer-checks to workaround a missing SH4 specific __builtin_trap implementation in GCC.
---
debian/changelog | 7 +++++++
debian/sysdeps/sh4.mk | 5 +++++
2 files changed, 12 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fc07f90..f616a6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.22-3) UNRELEASED; urgency=medium
+
+ * debian/sysdeps/sh4.mk: build with -fno-delete-null-pointer-checks to
+ workaround a missing SH4 specific __builtin_trap implementation in GCC.
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 10 Mar 2016 22:29:17 +0100
+
glibc (2.22-2) unstable; urgency=medium
[ Aurelien Jarno ]
diff --git a/debian/sysdeps/sh4.mk b/debian/sysdeps/sh4.mk
index 4ab1e5a..412008c 100644
--- a/debian/sysdeps/sh4.mk
+++ b/debian/sysdeps/sh4.mk
@@ -1,2 +1,7 @@
# Renesas SH enabled -ffinte-math-only. Some software need -mieee.
extra_cflags = -mieee
+
+# GCC 5 and later emits calls to abort() when there is no target specific
+# __builtin_trap() implementation. This is not possible to do so in ld.so
+# so we need to pass the -fno-delete-null-pointer-checks option to GCC.
+extra_cflags += -fno-delete-null-pointer-checks
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Reply to: