[parisc-linux] crt0.S does not build

Alan Modra alan@linuxcare.com.au
Tue, 2 May 2000 12:37:19 +1000 (EST)


> I'm trying to get builds working on a new x86 box.
> I've built/installed binutils and gcc (--prefix=/opt/puffin).
> I'm able to build linux-2.3 kernels but palo dies with:
> make[1]: Leaving directory `/linux/grundler/palo/palo'
> cd ipl && make
> make[1]: Entering directory `/linux/grundler/palo/ipl'
> hppa1.1-linux-gcc -D__ASSEMBLY__  -traditional -c -o crt0.o crt0.S
> crt0.S: Assembler messages:
> crt0.S:4: Error: Unknown opcode: `execution'
> crt0.S:6: Error: Unknown opcode: `we'
> crt0.S:8: Fatal error: Unknown opcode: `$start$(interactive, endaddr)'
> make[1]: *** [crt0.o] Error 1
> make[1]: Leaving directory `/linux/grundler/palo/ipl'
> make: *** [makeipl] Error 2
> 
> It seems the assembler is not interpreting the ';' as comments.
> Is the crt0.S broken or my assembler?

Don't you mean "not interpreting `!' as comments"?  At least my copy of
palo uses `!' as the comment char, and current puffin parisc binutils also
use `!' to start a comment.

Can you check which assembler gcc is picking up by adding -v to the gcc
command line above?

-- 
Linuxcare.  Support for the Revolution.