<html><body>
<p><tt><font size="2">Hal Finkel <hfinkel@anl.gov> wrote on 04/18/2013 03:45:45 PM:<br>
> > After increasing the verbosity (bgclang -v), the assembler call looks<br>
> > incorrect:<br>
> > "/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.<br>
> 4.6/../../../../powerpc64-bgq-linux/bin/as"<br>
> > -a64 -mppc64 -many -o start.o /tmp/start-9mU46t.s<br>
> > <br>
> > Whereas I think it should be:<br>
> > "/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.<br>
> 4.6/../../../../powerpc64-bgq-linux/bin/as"<br>
> > -a64 -ma2q -many -o start.o /tmp/start-9mU46t.s<br>
> > <br>
> > Maybe there's a way to configure this somewhere?<br>
> <br>
> I'll need to update it in the driver; thanks for investigating this!<br>
> The problem is that Clang tries to cheat, in a sense, and instead of<br>
> trying to figure out exactly which architecture to use for different<br>
> ppc64 cores, it just passes -many (which should enable all <br>
> extensions). However, this may fall down where embedded extensions <br>
> are involved. If you take the assembly file and compile it with the <br>
> default as command line, but add -mbooke, does that make it work?<br>
> <br>
>  -Hal<br>
</font></tt><br>
<tt><font size="2">Unfortunately, adding -mbooke does not help.  I get same error messages:</font></tt><br>
<br>
<tt><font size="2">/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/as -a64 -mppc64 -many -o start.o a.s -mbooke</font></tt><br>
<tt><font size="2">start.S: Assembler messages:</font></tt><br>
<tt><font size="2">start.S:278: Error: junk at end of line: `1,0'</font></tt><br>
<tt><font size="2">start.S:938: Error: junk at end of line: `1,0'</font></tt><br>
<tt><font size="2">start.S:1189: Error: junk at end of line: `1,0'</font></tt><br>
<tt><font size="2">start.S:1428: Error: junk at end of line: `1,0'</font></tt><br>
<tt><font size="2">start.S:1630: Error: junk at end of line: `1,0'</font></tt><br>
<br>
<font size="2" face="sans-serif">Tom Gooding<br>
Senior Engineer / Blue Gene Kernels<br>
507-253-0747  (internal:  553-0747)<br>
</font></body></html>