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

[Gambas-bugtracker] Bug #3243: Jit error, not sure why


http://gambaswiki.org/bugtracker/edit?object=BUG.3243&from=L21haW4-

Comment #5 by Brian G:

yes true Sorry,
I removed the fast unsafe from the file CreateCmdProgram.module while testing, sorry 
You need to add it back at the top of the file.
I still get this

gb.jit: error: unable to compile JIT code of 'gb':
| /run/user/1000/gambas/641473/jit/gb.c: In function ‘jit_createcmdprogram_21_’:
| /run/user/1000/gambas/641473/jit/gb.c:7343:683: error: ‘GB_OBJECT’ has no member named ‘_object’
|  7343 |   l3 = ({SP = sp;(*(int (*)())_jit_createcmdprogram_ptr[1209])(GET_STRING_ADDR(p0),CONV(({PUSH_i((({int _a = (({int _a = (({int _a = GET_i(_jit_createcmdprogram_ptr[1202]); int _b = GET_i(_jit_createcmdprogram_ptr[1203]); _a | _b;})); int _b = GET_i(_jit_createcmdprogram_ptr[1204]); _a | _b;})); int _b = GET_i(_jit_createcmdprogram_ptr[1205]); _a | _b;})));({PUSH_b((({bool _a = p1; bool _b = (-1); _a == _b;})));PUSH_i(GET_i(_jit_createcmdprogram_ptr[1206]));PUSH_i(0);CALL_SUBR_CODE(25, _jit_createcmdprogram_ptr[1207], 0x5F00);});CALL_SUBR_CODE(26, _jit_createcmdprogram_ptr[1208], 0x3900);POP_u();}), u, i, GB_T_INTEGER),CONV(NULL, n, p, GB_T_POINTER),JIT.get_object_addr((l1)._object.value));});
|       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
| /run/user/1000/gambas/641473/jit/gb.c:7365:84: error: ‘GB_OBJECT’ has no member named ‘_object’
|  7365 |   ({SP = sp;(*(void (*)())_jit_createcmdprogram_ptr[1218])(JIT.get_object_addr((l1)._object.value));});
|       |                                                                                    ^
| 

** 
** OOPS! INTERNAL ERROR. Program aborting, sorry! :-(
** Unable to compile JIT source file
** 
** gbx3: error: [gb.jit].CCompilation.Compiler_Kill.178: [45] File or directory does not exist
** 
** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2].
** [1] https://gambaswiki.org/bugtracker
** [2] https://lists.gambas-basic.org/#user

Brian G changed the state of the bug to: Accepted.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----

References:
[Gambas-bugtracker] Bug #3243: Jit error, not sure why<bugtracker@xxxxxxxxxxxxxx>