From owner-freebsd-sparc64@freebsd.org Sun Jul 19 20:55:18 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 385F19A508A for ; Sun, 19 Jul 2015 20:55:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2458C196F for ; Sun, 19 Jul 2015 20:55:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6JKtIsM097053 for ; Sun, 19 Jul 2015 20:55:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Sun, 19 Jul 2015 20:55:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 20:55:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #8 from craig001@lerwick.hopto.org --- checkout svn://svn.freebsd.org/base/projects/clang-trunk Revision: 285701 both buildworld and toolchain are falling over with; cc1plus: error: unrecognized command line option "-std=c++11" root@stinger:/home/craig # uname -a FreeBSD stinger.bsdtec.net 10.1-RELEASE FreeBSD 10.1-RELEASE #0: Tue Dec 2 08:26:19 GMT 2014 root@bulldog.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC sparc64 root@stinger:/home/craig # gcc -v Using built-in specs. Target: sparc64-undermydesk-freebsd Configured with: FreeBSD/sparc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] I'll try building with clang from 10.1...... -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Mon Jul 20 08:26:02 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F0519A6CE5 for ; Mon, 20 Jul 2015 08:26:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E44B31BF7 for ; Mon, 20 Jul 2015 08:26:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6K8Q1o9096754 for ; Mon, 20 Jul 2015 08:26:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Mon, 20 Jul 2015 08:26:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 08:26:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #9 from craig001@lerwick.hopto.org --- failing with clang also; clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/sparc64 -DNLS -I/usr/src/lib/libc/sparc64/sys -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -I/usr/src/lib/libc/sparc64/fpu -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -fno-dwarf2-cfi-asm -I/usr/src/lib/libutil -I/usr/src/lib/msun/sparc64 -I/usr/src/lib/msun/src -c /usr/src/lib/libc/sparc64/fpu/fpu.c -o fpu.o In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:72: /usr/src/lib/libc/../../include/signal.h:84:60: error: expected function body after function declarator int sigwait(const sigset_t * __restrict, int * __restrict) __nonnull_all; ^ In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:76: /usr/src/lib/libc/../../include/stdlib.h:90:44: error: expected function body after function declarator void *calloc(size_t, size_t) __malloc_like __result_use_check ^ /usr/src/lib/libc/../../include/stdlib.h:98:36: error: expected function body after function declarator void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1); ^ /usr/src/lib/libc/../../include/stdlib.h:105:31: error: expected function body after function declarator void *realloc(void *, size_t) __result_use_check __alloc_size(2); ^ /usr/src/lib/libc/../../include/stdlib.h:159:52: error: expected function body after function declarator void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1) ^ /usr/src/lib/libc/../../include/stdlib.h:175:59: error: expected function body after function declarator int posix_memalign(void **, size_t, size_t) __nonnull(1) __alloc_align(2) ^ /usr/src/lib/libc/../../include/stdlib.h:307:44: error: expected function body after function declarator void *reallocarray(void *, size_t, size_t) __result_use_check __alloc_size(2) ^ /usr/src/lib/libc/../../include/stdlib.h:309:32: error: expected function body after function declarator void *reallocf(void *, size_t) __alloc_size(2); ^ In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:77: /usr/src/lib/libc/../../include/unistd.h:330:45: error: expected function body after function declarator int execl(const char *, const char *, ...) __sentinel; ^ /usr/src/lib/libc/../../include/unistd.h:332:46: error: expected function body after function declarator int execlp(const char *, const char *, ...) __sentinel; ^ 10 errors generated. *** Error code 1 craig@stinger:~ % clang --version FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: sparc64-unknown-freebsd10.1 Thread model: posix please advise :) -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Mon Jul 20 08:27:39 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B37049A6D60 for ; Mon, 20 Jul 2015 08:27:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A01681E32 for ; Mon, 20 Jul 2015 08:27:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6K8RdaF097263 for ; Mon, 20 Jul 2015 08:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Mon, 20 Jul 2015 08:27:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 08:27:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #10 from craig001@lerwick.hopto.org --- Created attachment 159014 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159014&action=edit failed make buildworld session -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Wed Jul 22 20:21:59 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A60B99A80E8 for ; Wed, 22 Jul 2015 20:21:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B68110F6 for ; Wed, 22 Jul 2015 20:21:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6MKLx1B034434 for ; Wed, 22 Jul 2015 20:21:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Wed, 22 Jul 2015 20:21:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 20:21:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #11 from Dimitry Andric --- (In reply to craig001 from comment #8) > checkout svn://svn.freebsd.org/base/projects/clang-trunk > Revision: 285701 > > both buildworld and toolchain are falling over with; > cc1plus: error: unrecognized command line option "-std=c++11" Yes, this is expected. You cannot build clang 3.5.0 or higher with base gcc, you need gcc 4.8 or higher, or clang 3.2 or higher, and a C++11 compatible C++ library (e.g. libc++). (In reply to craig001 from comment #9) > failing with clang also; > > clang -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/sparc64 -DNLS > -I/usr/src/lib/libc/sparc64/sys -D__DBINTERFACE_PRIVATE > -I/usr/src/lib/libc/../../contrib/gdtoa > -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 > -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE > -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd > -I/usr/src/lib/libc/../../contrib/jemalloc/include > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime > -I/usr/src/lib/libc/locale -I/usr/src/lib/libc/sparc64/fpu -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body > -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function > -Wno-enum-conversion -Wno-switch -Wno-switch-enum > -Wno-knr-promoted-parameter -Qunused-arguments -fno-dwarf2-cfi-asm > -I/usr/src/lib/libutil -I/usr/src/lib/msun/sparc64 -I/usr/src/lib/msun/src > -c /usr/src/lib/libc/sparc64/fpu/fpu.c -o fpu.o > In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:72: > /usr/src/lib/libc/../../include/signal.h:84:60: error: expected function body > after function declarator > int sigwait(const sigset_t * __restrict, int * __restrict) __nonnull_all; > ^ Hm, this looks like some problem with your system headers, maybe? These __nonnull attributes were introduced recently, maybe you have a half-finished installation, or checkout? I'm currently doing a buildworld with TARGET=sparc64, and it's already gotten to the cross-tools part. When it gets to compiling libc, I will see if I get the same errors as you saw. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Wed Jul 22 21:04:11 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 037BF9A867C for ; Wed, 22 Jul 2015 21:04:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E425510E4 for ; Wed, 22 Jul 2015 21:04:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6ML4AEB050000 for ; Wed, 22 Jul 2015 21:04:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Wed, 22 Jul 2015 21:04:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 21:04:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #12 from craig001@lerwick.hopto.org --- Hello Dimitry My stinger server is a 10.1-RELEASE sparc64, with the base clang compiled (clang is not defacto on sparc64) The original /usr/src and /usr/obj where renamed, and I created an empty /usr/obj and svnlite checkout of projects/clang-trunk to /usr/src as requested. I can install a later RELEASE (maybe one of the 10.2-RC ??) or maybe a CURRENT if desired. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Wed Jul 22 21:29:07 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D55F09A8E03 for ; Wed, 22 Jul 2015 21:29:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B99821F9E for ; Wed, 22 Jul 2015 21:29:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6MLT7sW092520 for ; Wed, 22 Jul 2015 21:29:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Wed, 22 Jul 2015 21:29:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 21:29:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #13 from Dimitry Andric --- For me it also error'd out, but at compiler-rt, which complaints about invalid assembler mnemonics: --- divsi3.o --- contrib/compiler-rt/lib/builtins/sparc64/divsi3.S:52:2: error: too few operands for instruction b divide ^ contrib/compiler-rt/lib/builtins/sparc64/divsi3.S:60:2: error: invalid instruction mnemonic tst %o1 ^ and a lot more like these. I don't think the integrated assembler is very usable for sparc, so I'll try again with -no-integrated-as. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Wed Jul 22 21:33:07 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48D779A8EE8 for ; Wed, 22 Jul 2015 21:33:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F5BA11F1 for ; Wed, 22 Jul 2015 21:33:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6MLX7sH000197 for ; Wed, 22 Jul 2015 21:33:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Wed, 22 Jul 2015 21:33:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 21:33:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #14 from Dimitry Andric --- Ok, so even with -no-integrated-as, it still dies, because our copy of GNU as does not grok .cfi directives: --- cddl/lib__L --- /tmp/bplist-6222cb.s: Assembler messages: /tmp/bplist-6222cb.s:1330: Error: unknown pseudo-op: `.cfi_sections' cc: error: assembler command failed with exit code 1 (use -v to see invocation) *** [bplist.So] Error code 1 Strangely enough, this is even when using the -fno-dwarf2-cfi-asm option, and it only happens when compiling certain files. I have no clue at this point what is going wrong, and unfortunately I am out of time for the moment. If anybody else with sparc knowledge can have a try, please do so. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@freebsd.org Wed Jul 22 21:49:47 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 133839A817D for ; Wed, 22 Jul 2015 21:49:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2E561AB1 for ; Wed, 22 Jul 2015 21:49:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6MLnkrl013453 for ; Wed, 22 Jul 2015 21:49:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Wed, 22 Jul 2015 21:49:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 21:49:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 --- Comment #15 from Dimitry Andric --- 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 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.