linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Assembler Error
@ 1999-04-17 14:26 Josh Hudson
  1999-04-17 20:48 ` Gary Thomas
  1999-04-18 11:11 ` Franz Sirl
  0 siblings, 2 replies; 3+ messages in thread
From: Josh Hudson @ 1999-04-17 14:26 UTC (permalink / raw)
  To: linuxppc-dev


When I try to compile big codes with lots of lines I get this:

/tmp/cca00758.s: Assembler messages:
/tmp/cca00758.s:40303: Error: Bad expression
/tmp/cca00758.s:40303: Error: Rest of line ignored. First ignored
character is `M'.
make: *** [act_comm.o] Error 1  


Can anyone help me fix this problem???


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Assembler Error
  1999-04-17 14:26 Assembler Error Josh Hudson
@ 1999-04-17 20:48 ` Gary Thomas
  1999-04-18 11:11 ` Franz Sirl
  1 sibling, 0 replies; 3+ messages in thread
From: Gary Thomas @ 1999-04-17 20:48 UTC (permalink / raw)
  To: Josh_Hudson; +Cc: linuxppc-dev



On 17-Apr-99 Josh Hudson wrote:
> 
> When I try to compile big codes with lots of lines I get this:
> 
> /tmp/cca00758.s: Assembler messages:
> /tmp/cca00758.s:40303: Error: Bad expression
> /tmp/cca00758.s:40303: Error: Rest of line ignored. First ignored
> character is `M'.
> make: *** [act_comm.o] Error 1  
> 
> 
> Can anyone help me fix this problem???
> 

Which version of the compiler/binutils?  You can get this via:
  rpm -qif `which cc`
  rpm -qif `which as`

Can you provide example code with a repeatable failing case?

------------------------------------------------------------------------
Gary Thomas                              |
email: gdt@linuxppc.org                  | "Fine wine is a necessity of
   ... opinions expressed here are mine  |        life for me"
       and no one else would claim them! |
                                         |      Thomas Jefferson
------------------------------------------------------------------------



[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Assembler Error
  1999-04-17 14:26 Assembler Error Josh Hudson
  1999-04-17 20:48 ` Gary Thomas
@ 1999-04-18 11:11 ` Franz Sirl
  1 sibling, 0 replies; 3+ messages in thread
From: Franz Sirl @ 1999-04-18 11:11 UTC (permalink / raw)
  To: linuxppc-dev, Josh Hudson


Am Sat, 17 Apr 1999 schrieb Josh Hudson:
>When I try to compile big codes with lots of lines I get this:
>
>/tmp/cca00758.s: Assembler messages:
>/tmp/cca00758.s:40303: Error: Bad expression
>/tmp/cca00758.s:40303: Error: Rest of line ignored. First ignored
>character is `M'.
>make: *** [act_comm.o] Error 1  

Any chance you are compiling with -ggdb? If so, turn it into a simple -g option
and it should work.
Another possibility might be that the sources you are trying to compile contain
inline assembler for a non-PPC processor.

If the above isn't true for you, post more information, like the exact options
used to compile the sourcefile, the preprocessed source file and/or the
assembler file. You can get the latter 2 if you add -save-temps to the compiler
options. If you compile a .c/.cc/.C file with -save-temps, you will get
the intermediate .i/.ii (preprocessed) and .s (assembler) files, which
are usually not visible.

Franz.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-04-18 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-17 14:26 Assembler Error Josh Hudson
1999-04-17 20:48 ` Gary Thomas
1999-04-18 11:11 ` Franz Sirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).