powerpc/182908: Unable to build debug binaries with clang on powerpc64
Julio Merino
julio at meroh.net
Fri Oct 11 18:20:00 UTC 2013
>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 at 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:
More information about the freebsd-ppc
mailing list