This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: warning: "cpu" re-asserted


Hi,

You could try running the cross-gcc with the verbose mode switched on, that 
is, with a switch -v in the command line. This will tell you exactly how your 
compiler core is being called by the driver program & with what command line. 
I personally think that the problem you are facing is because of multiple 
definitions for 'cpu' & 'machine' somewhere.

Regards
Supratik

On Thursday 16 May 2002 03:50, Paulo Eduardo Ferreira de Castro wrote:
> Hi there,
>
> When building gcc 3.0.4 from host i686-linux (host compiler gcc 2.95.3)
> for target sparc-elf, I receive dozens of messages equal the one below
> during the execution of "make":
>
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
>
> Note: the string "<command line>:" is part of the message just as shown!
>
> But that is not main the problem. The main problem is that those messages
> keep appearing when I am *using* the compiled gcc. For instance:
>
> ----------------------------------------------------
> bash$ sparc-elf-gcc -o test test.c
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> bash$
> ----------------------------------------------------
>
> The code is compiled successfully, though.
>
> Does anyone know what those messages mean and why they always appear?
>
> Thanks in advance,
>
> Paulo Eduardo Ferreira de Castro
>
>
>
> ------
> Want more information?  See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sources.redhat.com

-- 
****************************************************************
      _/_/_/  _/      _/  | Supratik Majumder 
   _/        _/_/  _/_/   | Graduate Research Consultant
    _/_/    _/  _/  _/    | Dept. of CSE, IIT Kharagpur
       _/  _/      _/     | email: supratik@cse.iitkgp.ernet.in
_/_/_/    _/      _/      | Mobile: 098321-95638

"It's not the size of the dog in the fight, it's the size of the 
fight in the dog."
                                - Mark Twain (1835-1910)
****************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]