Date: Wed, 22 Jul 2015 21:49:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Message-ID: <bug-195934-14-Y5OCfw4G5Q@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195934-14@https.bugs.freebsd.org/bugzilla/> References: <bug-195934-14@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #15 from Dimitry Andric <dim@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195934-14-Y5OCfw4G5Q>