[Flac-dev] Compile flac-1.1.1 on ppc Linux

Erik de Castro Lopo erikd-flac at mega-nerd.com
Sat Nov 6 15:53:20 PST 2004


Hi all,

I'm trying to compile the flac-1.1.1 tarball on a Linux PPC system (a G3 iBook
running Debian Testing).

Configure is fine, but make bombs out almost immediately with:

   lpc_asm.s: Assembler messages:
   lpc_asm.s:1: Error: junk at end of line, first unrecognized character is `l'
   lpc_asm.s:2: Error: junk at end of line, first unrecognized character is `C'
   lpc_asm.s:4: Error: junk at end of line, first unrecognized character is `R'
   lpc_asm.s:5: Error: junk at end of line, first unrecognized character is `m'
   lpc_asm.s:6: Error: junk at end of line, first unrecognized character is `a'
   lpc_asm.s:8: Error: junk at end of line, first unrecognized character is `-'
   lpc_asm.s:9: Error: junk at end of line, first unrecognized character is `n'
   <snip>

It seems that as is barfing at the comments. However, even stripping all comments
from the code results in compilation errors like:

   lpc_asm.s: Assembler messages:
   lpc_asm.s:70: Error: syntax error; found `(' but expected `,'
   lpc_asm.s:70: Error: junk at end of line: `(0xfffffc00)'
   lpc_asm.s:71: Error: syntax error; found `(' but expected `,'
   lpc_asm.s:71: Error: junk at end of line: `(0xfffffc00)'
   lpc_asm.s:85: Error: Unrecognized opcode: `lvewx'
   lpc_asm.s:86: Error: Unrecognized opcode: `vspltisb'
   lpc_asm.s:87: Error: Unrecognized opcode: `vsro'
   lpc_asm.s:90: Error: Unrecognized opcode: `lvsl'
   lpc_asm.s:91: Error: Unrecognized opcode: `vsldoi'
   lpc_asm.s:93: Error: Unrecognized opcode: `lvsl'
   lpc_asm.s:94: Error: Unrecognized opcode: `vspltisb'
   lpc_asm.s:95: Error: Unrecognized opcode: `vspltisb'
   lpc_asm.s:96: Error: Unrecognized opcode: `vmrglw'
   <snip>

At least some of those error look like Altivec instructions which of course
are not present on my G3 iBook.

For now, I'm compling with  --disable-asm-optimizations.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
Traditional capital was stuck in a company's bank account or investments.
It could not walk away in disgust. Human capital has free will. It can
walk out the door; traditional capital cannot.


More information about the Flac-dev mailing list