From owner-freebsd-fs@FreeBSD.ORG Sat Jul 14 18:50:11 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6BB41065688 for ; Sat, 14 Jul 2012 18:50:11 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) by mx1.freebsd.org (Postfix) with ESMTP id 73BA78FC0A for ; Sat, 14 Jul 2012 18:50:11 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.5/8.14.5) with ESMTP id q6EIo4OM054349 for ; Sat, 14 Jul 2012 11:50:04 -0700 (PDT) (envelope-from freebsd@pki2.com) From: Dennis Glatting To: freebsd-fs@freebsd.org In-Reply-To: <500099C6.6020400@FreeBSD.org> References: <1341864787.32803.43.camel@btw.pki2.com> <4FFFE82B.6010109@gmail.com> <1342187238.60733.27.camel@btw.pki2.com> <500099C6.6020400@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Sat, 14 Jul 2012 11:50:04 -0700 Message-ID: <1342291804.30589.3.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-Information: Dennis Glatting X-yoursite-MailScanner-ID: q6EIo4OM054349 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com Subject: Re: ZFS hanging X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 18:50:11 -0000 On Fri, 2012-07-13 at 23:57 +0200, Dimitry Andric wrote: > On 2012-07-13 15:47, Dennis Glatting wrote: > ... > > I am using clang except on my CVS mirrors. > > > > I found on the mirrors that the mirror itself cannot update from itself > > but other hosts can update from the mirror. Somewhere in that > > M3/assembly muck something crashes in the process. The only way around > > the problem is to compile the /OS/ using GCC. > > This is a known problem with ezm3, it aligns the stack incorrectly on > amd64. See also bin/162588. Possible workarounds are: > > - Compiling libz with clang, but with SSE disabled > - Compiling the whole system with clang, but with SSE disabled I considered this, tried it, and "make buildworld" returned: clang++ -O2 -pipe -mno-sse -mno-sse2 -mno-sse3 -mno-sse -mno-sse2 -mno-sse3 -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.0\" -DDEFAULT_SYSROOT=\"\" -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-exceptions -c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DAGDeltaAlgorithm.cpp -o DAGDeltaAlgorithm.o fatal error: error in backend: SSE register return with SSE disabled *** [APFloat.o] Error code 1 fatal error: error in backend: SSE register return with SSE disabled *** [APInt.o] Error code 1 fatal error: error in backend: SSE register return with SSE disabled *** [CommandLine.o] Error code 1 3 errors *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 1 error Perhaps My simple approach was wrong? CFLAGS+= -mno-sse -mno-sse2 -mno-sse3 > - Fixing ezm3 so it aligns the stack to 16 bytes (left as exercise for > the reader ;) > - Rewriting cvsup in C (another nice exercise...) > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"