This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: [Fwd: Error: subtraction of two symbols ....]


Alan Modra wrote:
> 
> On Mon, Nov 11, 2002 at 11:20:10AM +0530, Monojit Roy wrote:
> > Alan Modra wrote:
> > >
> > > On Fri, Nov 08, 2002 at 05:47:36PM +0530, Monojit Roy wrote:
> > > >       I am getting number of error messages like
> > > >
> > > > /var/tmp//cck237p3.s: Assembler messages:
> > > > /var/tmp//cck237p3.s:65938: Error: subtraction of two symbols in
> > > > different sections `$$dyncall' {*UND* section} - `L$8172' {.text section}
> > > > at file address 240288
> > >
> > > This is likely an error in the assembler.  What version of
> >
> > GNU assembler 2.13
> 
> Then it's probably not an assembler error.  Mainline CVS gas with
> dates between 2002-09-05 and 2002-11-01 had a bug

Hi,
	I am still wondering that the same source
code is getting build on a SunOS - 5.6 machine using 
gcc3.2 (32-bit build). Also I dont find any syntax or parse
error in the source file and in that case compiler
should error out but instead giving an assembler error.
Am I not using right assembler for the build?

		- Thanks & Regards Monojit.






 involving
> subtraction expressions, which is why I thought you may have had an
> assembler problem.
> 
> --
> Alan Modra
> IBM OzLabs - Linux Technology Centre
begin:vcard 
n:Roy;Monojit 
x-mozilla-html:FALSE
org:Interra Systems India Pvt Ltd, Calcutta;EDA,Analyzer
adr:;;;;;;
version:2.1
email;internet:monojit@cal.interrasystems.com
title:Senior Software Engineer
x-mozilla-cpt:;-8856
fn:Monojit Roy
end:vcard

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