From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 11 18:20:00 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A1946AE5 for ; Fri, 11 Oct 2013 18:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CE86291A for ; Fri, 11 Oct 2013 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9BIK0w6086577 for ; Fri, 11 Oct 2013 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9BIK0CQ086576; Fri, 11 Oct 2013 18:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 11 Oct 2013 18:20:00 GMT Resent-Message-Id: <201310111820.r9BIK0CQ086576@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Julio Merino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E73F7959 for ; Fri, 11 Oct 2013 18:18:51 +0000 (UTC) (envelope-from julio@meroh.net) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id A940728F8 for ; Fri, 11 Oct 2013 18:18:51 +0000 (UTC) Received: from [108.176.158.82] ([108.176.158.82:65370] helo=portal.meroh.net) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id E4/10-15529-40148525; Fri, 11 Oct 2013 18:18:44 +0000 Received: from mastodon.meroh.net (lime-wifi.meroh.net [192.168.1.27]) by portal.meroh.net (Postfix) with ESMTP id 78C55EFE67 for ; Fri, 11 Oct 2013 14:18:40 -0400 (EDT) Received: from mastodon.meroh.net (localhost [127.0.0.1]) by mastodon.meroh.net (8.14.7/8.14.7) with ESMTP id r9BIH9J9041565 for ; Fri, 11 Oct 2013 14:17:09 -0400 (EDT) (envelope-from jmmv@mastodon.meroh.net) Received: (from jmmv@localhost) by mastodon.meroh.net (8.14.7/8.14.7/Submit) id r9BIH95q041564; Fri, 11 Oct 2013 14:17:09 -0400 (EDT) (envelope-from jmmv) Message-Id: <201310111817.r9BIH95q041564@mastodon.meroh.net> Date: Fri, 11 Oct 2013 14:17:09 -0400 (EDT) From: Julio Merino To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: powerpc/182908: Unable to build debug binaries with clang on powerpc64 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Julio Merino List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2013 18:20:00 -0000 >Number: 182908 >Category: powerpc >Synopsis: Unable to build debug binaries with clang on powerpc64 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 11 18:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Julio Merino >Release: FreeBSD 10.0-ALPHA5 powerpc >Organization: >Environment: System: FreeBSD mastodon.meroh.net 10.0-ALPHA5 FreeBSD 10.0-ALPHA5 #6 r256122M: Tue Oct 8 07:26:36 EDT 2013 jmmv@mastodon.meroh.net:/usr/obj/usr/src/sys/GENERIC64 powerpc >Description: Attempting to build the simplest program with clang and -g results in this under a powerpc64 installation: $ cat test.c int main(void) { return 0; } $ clang -g test.c /tmp/test-3U7Gsj.s: Assembler messages: /tmp/test-3U7Gsj.s:52: Error: unknown pseudo-op: `.cfi_sections' clang: error: assembler command failed with exit code 1 (use -v to see invocation) to debug other stuff >How-To-Repeat: Use clang to build anything with -g under powerpc64. Other architectures might be affected but I am not able to check. >Fix: >Release-Note: >Audit-Trail: >Unformatted: