building gcc3 on x86/solaris: "Illegal subtraction"

Chris Majewski majewski@cs.ubc.ca
Wed Jul 4 10:46:00 GMT 2001


Oh, one more thing. How do I tell gcc 3.0 to use GNU as? --with-as=? 
export AS=? 
-chris

On Wed, 4 Jul 2001, Chris Majewski wrote:

> Does it have to be binutils-2.11.2? How about 2.11? OK, how about 2.11
> and you can keep the car?  OK, 2.11, you keep the Ford, and we split the 40
> thousand. How's that? 
> 
> -chris
> 
> On 3 Jul 2001, Alexandre Oliva wrote:
> 
> > On Jul  3, 2001, Chris Majewski <majewski@cs.ubc.ca> wrote:
> > 
> > > Building gcc3 with 2.95.2 on an x86/solaris box:
> > > Assembler: unwind-dw2.c
> > >         aline 4252      : Illegal subtraction
> > >         aline 4275      : Illegal subtraction
> > > 	[ ... ]
> > 
> > Yep, known problem, already fixed for 3.0.1.  You'll have to tell GCC
> > 3.0 to use GNU as from binutils 2.11.2.
> > 
> > The patch that fixed the problem was:
> > 
> > 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
> > 
> > 	* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
> > 	Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
> > 
> > -- 
> > Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> > Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> > CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> > Free Software Evangelist    *Please* write to mailing lists, not to me
> > 
> 
> 



More information about the Gcc-help mailing list