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



>  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