Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Building gcc 2.95.2
@ 2000-03-03  6:50 W Bauske
  2000-03-03 13:44 ` Phillip Ezolt
  0 siblings, 1 reply; 4+ messages in thread
From: W Bauske @ 2000-03-03  6:50 UTC (permalink / raw)
  To: axp-list@redhat.com


I'm trying to build gcc on my XP1000 and get the following
errors:

/z/home/src/gcc-2.95.2/gcc/xgcc -B/z/home/src/gcc-2.95.2/gcc/
-B/z/home/alpha264/alphaev6-unknown-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates  -mieee -I. -I./stl -I../libio
-I./../libio -nostdinc++ -D_IO_MTSAFE_IO -DF `for N in MAIN ADDCC ADDCF ADDFC
SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC
NECC NECF NEFC ABS ARG POLAR CONJ
NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}";
done` \
  ./cinst.cc -o fcomplex.o
/tmp/ccYM9zYc.s: Assembler messages:
/tmp/ccYM9zYc.s:3626: Error: unknown opcode `sqrttsu'
/tmp/ccYM9zYc.s:3696: Error: unknown opcode `sqrttsu'
make[3]: *** [bigstmp-complx] Error 1
make[3]: Leaving directory
`/z/home/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/ieee/libstdc++'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/z/home/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++'
make[1]: *** [multi-all] Error 2
make[1]: Leaving directory
`/z/home/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++'
make: *** [all-target-libstdc++] Error 2

So, it seems the assembler doesn't know about EV6 having
sqrt instructions. Either that or this is an invalid form
of the sqrt instruction?? Anyway, anyone got a patch for
the assembler to allow the compiler to build??

Thanks,

Wes


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

* Re: Building gcc 2.95.2
  2000-03-03  6:50 W Bauske
@ 2000-03-03 13:44 ` Phillip Ezolt
  0 siblings, 0 replies; 4+ messages in thread
From: Phillip Ezolt @ 2000-03-03 13:44 UTC (permalink / raw)
  To: axp-list@redhat.com

Wes,

I think this would be solved with a newer version of binutils. ('as'
in particular)  As for where to find them, I'm not sure....

--Phil

Compaq:  High Performance Server Division/Benchmark Performance Engineering 
---------------- Alpha, The Fastest Processor on Earth --------------------
Phillip.Ezolt@compaq.com        |C|O|M|P|A|Q|        ezolt@perf.zko.dec.com
------------------- See the results at www.spec.org -----------------------

On Fri, 3 Mar 2000, W Bauske wrote:

> 
> I'm trying to build gcc on my XP1000 and get the following
> errors:
> 
> /z/home/src/gcc-2.95.2/gcc/xgcc -B/z/home/src/gcc-2.95.2/gcc/
> -B/z/home/alpha264/alphaev6-unknown-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
> -D_GNU_SOURCE -fno-implicit-templates  -mieee -I. -I./stl -I../libio
> -I./../libio -nostdinc++ -D_IO_MTSAFE_IO -DF `for N in MAIN ADDCC ADDCF ADDFC
> SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC
> NECC NECF NEFC ABS ARG POLAR CONJ
> NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}";
> done` \
>   ./cinst.cc -o fcomplex.o
> /tmp/ccYM9zYc.s: Assembler messages:
> /tmp/ccYM9zYc.s:3626: Error: unknown opcode `sqrttsu'
> /tmp/ccYM9zYc.s:3696: Error: unknown opcode `sqrttsu'
> make[3]: *** [bigstmp-complx] Error 1
> make[3]: Leaving directory
> `/z/home/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/ieee/libstdc++'
> make[2]: *** [multi-do] Error 1
> make[2]: Leaving directory
> `/z/home/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++'
> make[1]: *** [multi-all] Error 2
> make[1]: Leaving directory
> `/z/home/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++'
> make: *** [all-target-libstdc++] Error 2
> 
> So, it seems the assembler doesn't know about EV6 having
> sqrt instructions. Either that or this is an invalid form
> of the sqrt instruction?? Anyway, anyone got a patch for
> the assembler to allow the compiler to build??
> 
> Thanks,
> 
> Wes
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 
> 


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

* Re: Building gcc 2.95.2
@ 2000-03-03 14:10 Brad Lucier
  0 siblings, 0 replies; 4+ messages in thread
From: Brad Lucier @ 2000-03-03 14:10 UTC (permalink / raw)
  To: axp-list, wsb; +Cc: lucier

Get the latest binutils from

ftp://ftp.valinux.com/pub/support/hjl

You need a version of 2.9.5.

Brad Lucier


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

* Re: Building gcc 2.95.2
       [not found] <200003031559.IAA18456@ellpspace.math.ualberta.ca>
@ 2000-03-03 17:34 ` W Bauske
  0 siblings, 0 replies; 4+ messages in thread
From: W Bauske @ 2000-03-03 17:34 UTC (permalink / raw)
  To: axp-list@redhat.com

Michal Jaegermann wrote:
> 
> > /tmp/ccYM9zYc.s: Assembler messages:
> > /tmp/ccYM9zYc.s:3626: Error: unknown opcode `sqrttsu'
> > /tmp/ccYM9zYc.s:3696: Error: unknown opcode `sqrttsu'
> 
> It smells like you need an updated 'binutils' package
> ftp://ftp.varesearch.com/pub/support/hjl/
> Which one you are using?
> 
> Once at it you may probably want to check if patches posted recently
> by Andrea Arcangeli are still required.
> 
>    Michal

Brad/Michal,

Thanks for the pointer.

I suspected that but hadn't downladed a new binutils yet.


Wes


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

end of thread, other threads:[~2000-03-03 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-03 14:10 Building gcc 2.95.2 Brad Lucier
     [not found] <200003031559.IAA18456@ellpspace.math.ualberta.ca>
2000-03-03 17:34 ` W Bauske
  -- strict thread matches above, loose matches on Subject: below --
2000-03-03  6:50 W Bauske
2000-03-03 13:44 ` Phillip Ezolt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox