Cross-compilation ARM and D issues : episode 2
Vincent Richomme
forumer at smartmobili.com
Wed Jul 9 14:48:58 PDT 2008
9) Same error as 5) in libphobos/internal/gc/win32.d due to x86 ASM
/d/Professionnel/Projets/cegcc/src/gcc/libphobos/internal/gc/win32.d
/d/Professionnel/Projets/cegcc/src/gcc/libphobos/internal/gc/win32.d:75:
function win32.os_query_stackBottom expected to return a value of type void*
make[3]: *** [internal/gc/win32.o] Error 1
------------------------------------------------------------------------------
10) BAD INSN in libphobos/internal/gc/win32.d:69
pthread_t pthread_self()
{
//printf("pthread_self() = %x\n", GetCurrentThreadId());
return cast(pthread_t) GetCurrentThreadId();
}
/d/Professionnel/Projets/cegcc/src/gcc/libphobos/internal/gc/win32.d: In
function 'pthread_self':
/d/Professionnel/Projets/cegcc/src/gcc/libphobos/internal/gc/win32.d:69:
error: unrecognizable insn:
(call_insn/j 10 9 11 0
/d/Professionnel/Projets/cegcc/src/gcc/libphobos/internal/gc/win32.d:68
(parallel [
(set (reg:SI 0 r0)
(call (mem:SI (reg/f:SI 103) [0 S4 A32])
(const_int 0 [0x0])))
(return)
(use (const_int 0 [0x0]))
]) -1 (nil)
(nil)
(nil))
/d/Professionnel/Projets/cegcc/src/gcc/libphobos/internal/gc/win32.d:69:
internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
------------------------------------------------------------------------------
11) COMPILATION DONE - NO MORE ERRORS :-)
More information about the D.gnu
mailing list