[Bug 195934] clang350-import branch not working on sparc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 22 21:49:47 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934

--- Comment #15 from Dimitry Andric <dim at FreeBSD.org> ---
It actually helped to disable the -g flag used while building libzpool.  I
think compiling with debug info is out of the question for now...

The diff I'm using now is this:

Index: cddl/lib/libzpool/Makefile
===================================================================
--- cddl/lib/libzpool/Makefile  (revision 285803)
+++ cddl/lib/libzpool/Makefile  (working copy)
@@ -68,6 +68,7 @@
 # Since there are many asserts in this library, it makes no sense to compile
 # it without debugging.

-CFLAGS+=       -g -DDEBUG=1
+#CFLAGS+=      -g
+CFLAGS+=       -DDEBUG=1

 .include <bsd.lib.mk>
Index: share/mk/bsd.sys.mk
===================================================================
--- share/mk/bsd.sys.mk (revision 285803)
+++ share/mk/bsd.sys.mk (working copy)
@@ -137,7 +137,7 @@
 CFLAGS.clang+=  -Qunused-arguments
 .if ${MACHINE_CPUARCH} == "sparc64"
 # Don't emit .cfi directives, since we must use GNU as on sparc64, for now.
-CFLAGS.clang+=  -fno-dwarf2-cfi-asm
+CFLAGS.clang+=  -fno-dwarf2-cfi-asm -no-integrated-as
 .endif # SPARC64
 # The libc++ headers use c++11 extensions.  These are normally silenced
because
 # they are treated as system headers, but we explicitly disable that warning

It's still building, I'll see tomorrow how it has fared.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-sparc64 mailing list