From:
[email protected]
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 depe