Re: Qube2 gcc 2.7.2 compiler error (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 05, 2001 at 12:59:23PM +0000, John Heil wrote:
> Date: Sun, 5 Aug 2001 12:59:23 +0000 (   )
> From: John Heil <mipsdev@scsoftware.sc-software.com>
> To: cobalt-22@devel.alal.com, cobalt-developers@list.cobalt.com,
>         linux-mips@oss.sgi.com
> Subject: Qube2 gcc 2.7.2 compiler error (fwd)
> 
> 
> On the Qube2, gcc 2.7.2, option -s, to generate MIPS assembler
> corresponding to the input C code, generates invalid assembler
> by virtue of generating duplicate labels. The resultant 
> assembler will not assemble, of course, due to the duplicate
> labels.  The code (linux kernel's printk.c) compiles cleanly
> from C to object code.
> 
> Q: How do I get valid assembler from gcc on Qube2 ?
> (My ultimate goal here is to be able to get listings out
> of gas.)

gcc 2.7.2 creates a duplicate label for each function label.  That is no
problem as both always have the same value.  But I assume you're talking
about a different type of label?  Can you send a piece of small piece of
source code and the assembler code generated from it to demonstrate the
problem?

Anyway, these days gcc 2.7.2 is so old these days it's not even funny.  You
really should upgrade.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux