IPC baut mit Emu nicht durch!!!

Hat bei mir soeben mit Ubuntu 18.04 wunderbar geklappt
Sie müssen registriert sein, um angehängte Bilder zu sehen
 

Anhänge

Sie müssen registriert sein, um die Liste der Anhänge zu sehen
bitte beachten neue betriebssysteme bringen neue compiler mit verschärften compiler optionen mit
zb gcc 10 schaltet hartes function inlining an ab -O2 oder auch -O1
der emu code ist aber nicht darauf angepasst deshalb das makefile ändern in -O0 dann sollten keine fehler kommen
wer wie o compile cmake einsetzt muss das mit cmake umgebungsvariablen machen und die cmake files anpassen
Code:
<------>set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O0 -pipe -ffunction-sections -fdata-sections -fexpensive-optimizations")
<------>set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O0 -pipe -ffunction-sections -fdata-sections -fexpensive-optimizations")
<------>set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ggdb -pipe -ffunction-sections -fdata-sections -fexpensive-optimizations")
<------>set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -ggdb -pipe -ffunction-sections -fdata-sections -fexpensive-optimizations")

hier das
Code:
In function ‘create_data_unmask_emm_mode_03’,
    inlined from ‘unmask_emm’ at module-emulator-powervu.c:2384:3,
    inlined from ‘powervu_emm’ at module-emulator-powervu.c:2470:3:
module-emulator-powervu.c:2254:2: warning: writing 24 bytes into a region of size 1 [-Wstringop-overflow=]
 2254 |  memcpy(data + 0x28, padding, 0x18);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-emulator-powervu.c: In function ‘powervu_emm’:
module-emulator-powervu.c:2338:35: note: at offset 40 to object ‘data’ with size 41 declared here
 2338 |  uint8_t hashModeEmm, modeUnmask, data[41], mask[16];
      |                                   ^~~~
 
Zuletzt bearbeitet:
Hi,

ich danke euch für die Aufklärung.

mfg
60plus
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…