[csw-maintainers] SPARC issues

Trygve Laugstøl trygvel at opencsw.org
Tue Dec 23 19:45:06 CET 2008


Hei!

I'm trying to build ghc[1] and while it work just fine on x86, I'm 
getting these issues when it is trying to build its libraries after the 
compiler itself has been bootstrapped:

/usr/ccs/bin/as: "/tmp/ghc24757_0/ghc24757_0.split__1.s", line 22: 
error: cannot use v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/tmp/ghc24757_0/ghc24757_0.split__1.s", line 28: 
error: cannot use v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/tmp/ghc24757_0/ghc24757_0.split__1.s", line 41: 
error: cannot use v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/tmp/ghc24757_0/ghc24757_0.split__1.s", line 56: 
error: cannot use v8plus instructions in a non-v8plus target binary

Anyone have a clue on what I can do?

I've set ISA_DEFAULT_sparc = sparcv8plus in the Makefile, and I did get 
a "work/build-isa-sparcv8plus/" directory so I think at least GAR is 
trying to build binaries with the sparcv8plus instruction set. But it 
still didn't work.

[1]: Glasgow Haskell Compiler

--
Trygve



More information about the maintainers mailing list