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

[Gambas-bugtracker] Bug #2880: Gambas fails to start following recent fedora 40 Beta update


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

Neil DARLOW reported a new bug.

Summary
-------

Gambas fails to start following recent fedora 40 Beta update

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


Description
-----------

I understand that fedora 40 is in beta but one of the above-listed updates has triggered this error. Attempting to start Gambas3 results in the startup screen briefly flashing and the following error output displayed in the toolbox container terminal. If no workaround is possible it might provide some useful information for addressing the problem in a future update.

Failure output:
gb.jit: error: unable to compile JIT code of 'gb':

/tmp/gambas.1000/13693/jit/gb.c: In function ‘jit_cversioncontrolgit_31_’:
/tmp/gambas.1000/13693/jit/gb.c:1360:33: error: passing argument 1 of ‘JIT_PTR->load_class’ makes pointer from integer without a cast [-Wint-conversion]
 1360 |   l0 = ((int)(({ JIT.load_class(0x557b35345728); GET_h(0x557b3534baf4); })));
      |                                 ^~~~~~~~~~~~~~
      |                                 |
      |                                 long int
/tmp/gambas.1000/13693/jit/gb.c:1360:33: note: expected ‘void *’ but argument is of type ‘long int’
In file included from /tmp/gambas.1000/13693/jit/gb.c:1:
/tmp/gambas.1000/13693/jit/gb.c:1372:152: error: passing argument 1 of ‘JIT_PTR->load_class’ makes pointer from integer without a cast [-Wint-conversion]
 1372 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(70);});PUSH_i((int)19);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(76);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(81);});CALL_UNKNOWN(82);POP_V();});
      |                                                                                                                                                        ^~~~~~~~~~~~~~
      |                                                                                                                                                        |
      |                                                                                                                                                        long int
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1372:152: note: expected ‘void *’ but argument is of type ‘long int’
 1372 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(70);});PUSH_i((int)19);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(76);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(81);});CALL_UNKNOWN(82);POP_V();});
      |                                                                                                                                                        ^~~~~~~~~~~~~~
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1380:154: error: passing argument 1 of ‘JIT_PTR->load_class’ makes pointer from integer without a cast [-Wint-conversion]
 1380 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(114);});PUSH_i((int)15);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(120);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(125);});CALL_UNKNOWN(126);POP_V();});
      |                                                                                                                                                          ^~~~~~~~~~~~~~
      |                                                                                                                                                          |
      |                                                                                                                                                          long int
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1380:154: note: expected ‘void *’ but argument is of type ‘long int’
 1380 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(114);});PUSH_i((int)15);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(120);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(125);});CALL_UNKNOWN(126);POP_V();});
      |                                                                                                                                                          ^~~~~~~~~~~~~~
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1388:154: error: passing argument 1 of ‘JIT_PTR->load_class’ makes pointer from integer without a cast [-Wint-conversion]
 1388 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(158);});PUSH_i((int)12);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(164);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(169);});CALL_UNKNOWN(170);POP_V();});
      |                                                                                                                                                          ^~~~~~~~~~~~~~
      |                                                                                                                                                          |
      |                                                                                                                                                          long int
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1388:154: note: expected ‘void *’ but argument is of type ‘long int’
 1388 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(158);});PUSH_i((int)12);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(164);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(169);});CALL_UNKNOWN(170);POP_V();});
      |                                                                                                                                                          ^~~~~~~~~~~~~~
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1395:154: error: passing argument 1 of ‘JIT_PTR->load_class’ makes pointer from integer without a cast [-Wint-conversion]
 1395 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(199);});PUSH_i((int)20);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(205);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(210);});CALL_UNKNOWN(211);POP_V();});
      |                                                                                                                                                          ^~~~~~~~~~~~~~
      |                                                                                                                                                          |
      |                                                                                                                                                          long int
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/13693/jit/gb.c:1395:154: note: expected ‘void *’ but argument is of type ‘long int’
 1395 |   ({({PUSH_C(CLASS(0x557b35345728));PUSH_UNKNOWN(199);});PUSH_i((int)20);({({PUSH_C(CLASS(0x557b3505fa18));PUSH_UNKNOWN(205);});PUSH_s(({ JIT.load_class(0x557b35345728); GET_s(0x557b3534baf8); }));CALL_UNKNOWN(210);});CALL_UNKNOWN(211);POP_V();});
      |                                                                                                                                                          ^~~~~~~~~~~~~~
/tmp/gambas.1000/13693/jit/jit.h:1592:47: note: in definition of macro ‘PUSH_s’
 1592 | #define PUSH_s(_val) ({ *((GB_STRING *)sp) = (_val); if (sp->type == GB_T_STRING) GB.RefString(sp->_string.value.addr); sp++; })
      |                                               ^~~~


** 
** OOPS! INTERNAL ERROR. Program aborting, sorry! :-(
** Unable to compile JIT source file
** 
** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2].
** [1] http://gambaswiki.org/bugtracker
** [2] https://lists.gambas-basic.org/listinfo/user
**


System information
------------------

fedora 40 Beta Silverblue edition
Gambas3 installed into a toolbox container, runnable with GTK3, Qt4 and Qt5.
Gambas3 version: 3.18.4
GCC version: 14.0.1
Git version: 2.44.0
Most recent updates associated with failure:
    Upgrade  dnf-4.19.2-1.fc40.noarch            @updates-testing
    Upgrade  dnf-data-4.19.2-1.fc40.noarch       @updates-testing
    Upgrade  libdnf-0.73.1-1.fc40.x86_64         @updates-testing
    Upgrade  libzstd-1.5.6-1.fc40.x86_64         @updates-testing
    Upgrade  python3-dnf-4.19.2-1.fc40.noarch    @updates-testing
    Upgrade  python3-hawkey-0.73.1-1.fc40.x86_64 @updates-testing
    Upgrade  python3-libdnf-0.73.1-1.fc40.x86_64 @updates-testing
    Upgrade  yum-4.19.2-1.fc40.noarch            @updates-testing
    Upgrade  zstd-1.5.6-1.fc40.x86_64            @updates-testing


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