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@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.
On Sun, 7 Nov 2004 10:53:20 +1100 Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:> For now, I'm compling with --disable-asm-optimizations.Oops, now I'm getting other problems: stream_decoder.c: In function `FLAC__stream_decoder_init': stream_decoder.c:296: error: `FLAC__lpc_restore_signal' undeclared (first use in this function) stream_decoder.c:296: error: (Each undeclared identifier is reported only once stream_decoder.c:296: error: for each function it appears in.) stream_decoder.c:297: error: `FLAC__lpc_restore_signal_wide' undeclared (first use in this function) Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo nospam@mega-nerd.com (Yes it's valid) +-----------------------------------------------------------+ "The RIAA is obsessed to the point of comedy with the frustration of having its rules broken, without considering whether such rules might be standing in the way of increased revenues. Indeed, Napster and Gnutella may turn out to be the two best music-marketing gimmicks yet devised, if only the RIAA would take its head out of its ass long enough to realise it." -- Thomas C Greene on www.theregister.co.uk
yes, --disable-asm-optimizations got broken in the last release. I'm planning to put together another release soon with this and some other fixes. there was a thread about how to fix it, which you may be able to find in the archives. Josh --- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:> On Sun, 7 Nov 2004 10:53:20 +1100 > Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote: > > > For now, I'm compling with --disable-asm-optimizations. > > Oops, now I'm getting other problems: > > stream_decoder.c: In function `FLAC__stream_decoder_init': > stream_decoder.c:296: error: `FLAC__lpc_restore_signal' > undeclared (first use in this function) > stream_decoder.c:296: error: (Each undeclared identifier is > reported only once > stream_decoder.c:296: error: for each function it appears in.) > stream_decoder.c:297: error: `FLAC__lpc_restore_signal_wide' > undeclared (first use in this function) > > Erik__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:> 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:ppc/lpc_asm.s in flac-1.1.1 assembles (or should) with the native 'as' on OS X, but does not with 'gas'. I don't know why they're different. I'm still trying to figure out how to support both. altivec is enabled by default, it is not autodetected by configure, so you have to use --disable-altivec. since that disables all asm on PPC in flac-1.1.1 (since it all uses altivec) you might try that as a workaround to the problem with --disable-asm-optimizations. Josh __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
Maybe Matching Threads
- flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
- altivec lpc_restore_signal
- Altivec, automake
- flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
- Two new CVEs against FLAC