Your message dated Sun, 05 Jul 2009 15:46:52 +0200
with message-id <[email protected]>
and subject line Re: PowerPC assembly failure with -Wa,-mregnames
has caused the Debian Bug report #267156,
regarding PowerPC assembly failure with -Wa,-mregnames
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
267156: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=267156
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: binutils
Version: 2.15-1
Severity: important

A recent upgrade of binutils started causing some of my builds of
gst-plugins fail.  gst-plugins is a little bit odd, since it uses
inline assembly that is intended to be portable to OS/X, so it
uses -Wa,-mregnames in CFLAGS.  It appears that the new binutils
on powerpc really does not like variables named 'dec' (and probably
others) if -mregnames is used.

I'm not sure if this change was intended or not.  If so, this new
inability to assemble the output of gcc should be documented.

Example code:
---
#include <stdio.h>

void *dec;

int main(int argc, char *argv[])
{
  dec = stdin;
  printf("%p\n", dec);
  return 0;
}
---

Compile log of 'gcc -Wa,-mregnames -c it.c':

---
/tmp/cc8ONBDo.s: Assembler messages:
/tmp/cc8ONBDo.s:18: Error: syntax error; found `@' but expected `,'
/tmp/cc8ONBDo.s:18: Error: junk at end of line: `...@ha'
/tmp/cc8ONBDo.s:21: Error: syntax error; found `@' but expected `('
/tmp/cc8ONBDo.s:21: Error: junk at end of line: `...@l(11)'
/tmp/cc8ONBDo.s:22: Error: syntax error; found `@' but expected `,'
/tmp/cc8ONBDo.s:22: Error: junk at end of line: `...@ha'
/tmp/cc8ONBDo.s:25: Error: syntax error; found `@' but expected `('
/tmp/cc8ONBDo.s:25: Error: junk at end of line: `...@l(11)'
---



dave...


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.19-powerpc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages binutils depends on:
ii  libc6                       2.3.2.ds1-15 GNU C Library: Shared libraries an

-- debconf information:
  binutils/oformat_warning:
* binutils/kernel_link_warning:


--- End Message ---
--- Begin Message ---
not a bug. -mregnames needs to be passed to the compiler as well.


--- End Message ---

Reply via email to