Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2013 14:17:09 -0400 (EDT)
From:      Julio Merino <julio@meroh.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   powerpc/182908: Unable to build debug binaries with clang on powerpc64
Message-ID:  <201310111817.r9BIH95q041564@mastodon.meroh.net>
Resent-Message-ID: <201310111820.r9BIK0CQ086576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310111817.r9BIH95q041564>