NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: toolchain/48630: sun4v support causes sparc/sparc64 build failure on netbsd-5/i386 host



The following reply was made to PR toolchain/48630; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, jdbaker%mylinuxisp.com@localhost
Subject: re: toolchain/48630: sun4v support causes sparc/sparc64 build failure 
on netbsd-5/i386 host
Date: Mon, 03 Mar 2014 13:18:12 +1100

 >  But: I can not reproduce the problem.
 >  
 >  I tried sparc64--netbsd-as -32 --warn test.s on this file:
 >  
 >          sethi   %hh(0x1000000000000000ULL), %o2
 >          sethi   %hh(1152921504606846976), %o1
 >           ret
 >  
 >  on a 32 bit host, and it creates proper object code without any warning.
 >  
 >  Now I'm a bit puzzzled.
 
 it requires both a 32bit-host *and* building 32 bit sparc64 kernels.
 eg, build.sh -m sparc kernel=GENERIC_SUN4U on an i386.  with that
 i get the same problem:
 
 /usr/src/sys/arch/sparc64/sparc64/locore.s: Assembler messages:
 /usr/src/sys/arch/sparc64/sparc64/locore.s:5958: Error: bignum invalid
 
    5958         sethi   %hh(A_SUN4V_TLB_TSB_LOCK), %g5
 
 i agree with martin earlier in the thread -- binutils problem.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index