NetBSD-Users archive

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

XulRunner - SparcAsseembler.h - 64bit - error: cast from 'void*' to 'int' loses



Hello Together
Try to compile /usr/pkgsrc/devel/xulrunner on Netra X1 machine but it's appair 
the following Error

>>./assembler/assembler/SparcAssembler.h:1078: error: cast from 'void*' to 
>>'int' loses precision

# gcc -v
Using built-in specs.
Target: sparc64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.72 --host=sparc64--netbsd 
--target=sparc64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

# uname -rsa
NetBSD caloro.ch 5.1 NetBSD 5.1 (NetraX1) #0: Thu Apr  7 11:41:16 CEST 2011  
maurizio@one:/usr/src/sys/arch/sparc64/compile/NetraX1 sparc64

I'am happy for any Help
Thanks regards
Mauri

[Snip]
gmake[2]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
/usr/pkg/bin/gmake libs_tier_js
gmake[2]: Entering directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
hg: not found
libs_tier_js
gmake[3]: Entering directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake[3]: `js/src/Makefile' is up to date.
gmake[3]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
find: -not: unknown option
gmake[3]: Entering directory 
`/usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src'
jsapi.cpp
c++ -o jsapi.o -c  -fvisibility=hidden -DOSTYPE=\"NetBSD5\" -DOSARCH=NetBSD 
-DEXPORT_JS_API -DIMPL_MFBT -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES 
-DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I.  -I. -I. 
-I./../../dist/include -I./../../dist/include/nsprpub  
-I/usr/pkgsrc/devel/xulrunner/work/mozilla-release/dist/include/nspr   -I. 
-I./assembler -I./yarr  -fPIC -DPIC -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include 
-I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -fno-rtti 
-fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof 
-Wno-variadic-macros -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -fno-strict-aliasing -Dunix -pthread -pipe  
-DNDEBUG -DTRIMMED -g -O2 -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 
-DENABLE_JIT=1  -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include 
-I/usr/X11R7/include -I/usr/X11R7/include/freetype2
  -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp 
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src/jsapi.cpp
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src/jsstrinlines.h: In 
function 'bool js::CheckStringLength(JSContext*, size_t)':
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src/jsstrinlines.h:61: 
warning: converting to non-pointer type 'bool' from NULL
./assembler/assembler/SparcAssembler.h: In constructor 
'JSC::SparcAssembler::JmpDst::JmpDst()':
./assembler/assembler/SparcAssembler.h:248: warning: 
'JSC::SparcAssembler::JmpDst::m_offset' will be initialized after
./assembler/assembler/SparcAssembler.h:247: warning:   'int 
JSC::SparcAssembler::JmpDst::m_used'
./assembler/assembler/SparcAssembler.h:230: warning:   when initialized here
./assembler/assembler/SparcAssembler.h: In constructor 
'JSC::SparcAssembler::JmpDst::JmpDst(int)':
./assembler/assembler/SparcAssembler.h:248: warning: 
'JSC::SparcAssembler::JmpDst::m_offset' will be initialized after
./assembler/assembler/SparcAssembler.h:247: warning:   'int 
JSC::SparcAssembler::JmpDst::m_used'
./assembler/assembler/SparcAssembler.h:240: warning:   when initialized here
./assembler/assembler/SparcAssembler.h: In static member function 'static void 
JSC::SparcAssembler::relinkJump(void*, void*)':
./assembler/assembler/SparcAssembler.h:1078: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1083: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1083: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h: In static member function 'static void 
JSC::SparcAssembler::relinkCall(void*, void*)':
./assembler/assembler/SparcAssembler.h:1116: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1116: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1117: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1118: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h: In static member function 'static void 
JSC::SparcAssembler::linkPointer(void*, JSC::SparcAssembler::JmpDst, void*)':
./assembler/assembler/SparcAssembler.h:1135: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h: In static member function 'static void 
JSC::SparcAssembler::repatchPointer(void*, void*)':
./assembler/assembler/SparcAssembler.h:1153: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h: In static member function 'static void 
JSC::SparcAssembler::repatchLoadPtrToLEA(void*)':
./assembler/assembler/SparcAssembler.h:1159: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1162: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1163: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h: In static member function 'static void 
JSC::SparcAssembler::repatchLEAToLoadPtr(void*)':
./assembler/assembler/SparcAssembler.h:1170: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1173: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/SparcAssembler.h:1174: error: cast from 'void*' to 'int' 
loses precision
./assembler/assembler/MacroAssemblerSparc.h: In member function 'void 
JSC::MacroAssemblerSparc::store32(JSC::SparcRegisters::RegisterID, void*)':
./assembler/assembler/MacroAssemblerSparc.h:567: error: cast from 'void*' to 
'int' loses precision
./assembler/assembler/MacroAssemblerSparc.h: In member function 'void 
JSC::MacroAssemblerSparc::load32(void*, JSC::SparcRegisters::RegisterID)':
./assembler/assembler/MacroAssemblerSparc.h:1064: error: cast from 'void*' to 
'int' loses precision
./assembler/assembler/MacroAssemblerSparc.h: In member function 'void 
JSC::MacroAssemblerSparc::loadFloat(const void*, 
JSC::SparcRegisters::FPRegisterID)':
./assembler/assembler/MacroAssemblerSparc.h:1186: error: cast from 'const 
void*' to 'int' loses precision
./assembler/assembler/MacroAssemblerSparc.h: In member function 
'JSC::AbstractMacroAssembler<JSC::SparcAssembler>::DataLabelPtr 
JSC::MacroAssemblerSparc::loadDouble(const void*, 
JSC::SparcRegisters::FPRegisterID)':
./assembler/assembler/MacroAssemblerSparc.h:1211: error: cast from 'const 
void*' to 'int' loses precision
./assembler/assembler/MacroAssemblerSparc.h: In member function 'void 
JSC::MacroAssemblerSparc::convertInt32ToDouble(JSC::AbstractMacroAssembler<JSC::SparcAssembler>::AbsoluteAddress,
 JSC::SparcRegisters::FPRegisterID)':
./assembler/assembler/MacroAssemblerSparc.h:1377: error: cast from 'void*' to 
'int' loses precision
gmake[3]: *** [jsapi.o] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/xulrunner
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/xulrunner
#

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone


Home | Main Index | Thread Index | Old Index