Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind Explicitly compile libunwind with vfp3 bec...



details:   https://anonhg.NetBSD.org/src/rev/e1ccffcd5049
branches:  trunk
changeset: 461174:e1ccffcd5049
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 17 22:53:33 2019 +0000

description:
Explicitly compile libunwind with vfp3 because gcc-8 defaults to neon
and breaks exceptions.

diffstat:

 sys/lib/libunwind/Makefile.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 269c0640ea6f -r e1ccffcd5049 sys/lib/libunwind/Makefile.inc
--- a/sys/lib/libunwind/Makefile.inc    Sun Nov 17 19:51:35 2019 +0000
+++ b/sys/lib/libunwind/Makefile.inc    Sun Nov 17 22:53:33 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.11 2015/01/29 20:45:16 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.12 2019/11/17 22:53:33 christos Exp $
 
 .PATH: ${NETBSDSRCDIR}/sys/lib/libunwind
 
@@ -14,5 +14,6 @@
 CPPFLAGS.libunwind.cxx+=-I${NETBSDSRCDIR}/sys/lib/libunwind
 
 .if ${LIBC_MACHINE_CPU} == "arm"
+COPTS.libunwind.cxx+=  ${${ACTIVE_CC} == "gcc":? -mfpu=vfp3 :}
 AFLAGS.unwind_registers.S+=    ${${ACTIVE_CC} == "clang":? -mfpu=vfp3 :}
 .endif



Home | Main Index | Thread Index | Old Index