Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash rbdoom3bfg (Ubuntu arm64) #270

Open
ArtemS2 opened this issue Nov 9, 2024 · 6 comments
Open

Crash rbdoom3bfg (Ubuntu arm64) #270

ArtemS2 opened this issue Nov 9, 2024 · 6 comments

Comments

@ArtemS2
Copy link
Contributor

ArtemS2 commented Nov 9, 2024

crash_render.log

@glKarin
Copy link
Owner

glKarin commented Nov 11, 2024 via email

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Nov 14, 2024

[ 81%] Building CXX object CMakeFiles/RBDoom3BFG.dir/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp.o
In file included from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/globaldata.h:43,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:30:
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:69: warning: "R_OK" redefined
69 | #define R_OK 0x01
|
In file included from /usr/include/aarch64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/./idlib/sys/sys_includes.h:115,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/./idlib/precompiled.h:34,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/Precompiled.h:31,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:29:
/usr/include/unistd.h:281: note: this is the location of the previous definition
281 | #define R_OK 4 /* Test for read permission. /
|
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:70: warning: "X_OK" redefined
70 | #define X_OK 0x02
|
/usr/include/unistd.h:283: note: this is the location of the previous definition
283 | #define X_OK 1 /
Test for execute permission. /
|
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:71: warning: "W_OK" redefined
71 | #define W_OK 0x04
|
/usr/include/unistd.h:282: note: this is the location of the previous definition
282 | #define W_OK 2 /
Test for write permission. */
|
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp: In function ‘void F_BunnyScroll()’:
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:23: error: ‘%i’ directive writing between 1 and 10 bytes into a region of size 7 [-Werror=format-overflow=]
769 | sprintf (name,"END%i",stage);
| ^~
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:19: note: directive argument in the range [-429496729, 6]
769 | sprintf (name,"END%i",stage);
| ^~~~~~~
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:13: note: ‘sprintf’ output between 5 and 14 bytes into a destination of size 10
769 | sprintf (name,"END%i",stage);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
gmake[2]: *** [CMakeFiles/RBDoom3BFG.dir/build.make:5984: CMakeFiles/RBDoom3BFG.dir/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp.o] Ошибка 1
gmake[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/RBDoom3BFG.dir/all] Ошибка 2
gmake: *** [Makefile:91: all] Ошибка 2
Target directory: /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo ......
Done

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Nov 14, 2024

I tried to build ReleaseWithDebInfo

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Nov 23, 2024

the error remains with the -Werror=format-overflow=1 flag

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Nov 23, 2024

[ 81%] Building CXX object CMakeFiles/RBDoom3BFG.dir/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp.o
In file included from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/globaldata.h:43,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:30:
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:69: warning: "R_OK" redefined
69 | #define R_OK 0x01
|
In file included from /usr/include/aarch64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/./idlib/sys/sys_includes.h:115,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/./idlib/precompiled.h:34,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/Precompiled.h:31,
from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:29:
/usr/include/unistd.h:281: note: this is the location of the previous definition
281 | #define R_OK 4 /* Test for read permission. /
|
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:70: warning: "X_OK" redefined
70 | #define X_OK 0x02
|
/usr/include/unistd.h:283: note: this is the location of the previous definition
283 | #define X_OK 1 /
Test for execute permission. /
|
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:71: warning: "W_OK" redefined
71 | #define W_OK 0x04
|
/usr/include/unistd.h:282: note: this is the location of the previous definition
282 | #define W_OK 2 /
Test for write permission. */
|
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp: In function ‘void F_BunnyScroll()’:
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:23: error: ‘%i’ directive writing between 1 and 10 bytes into a region of size 7 [-Werror=format-overflow=]
769 | sprintf (name,"END%i",stage);
| ^~
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:19: note: directive argument in the range [-429496729, 6]
769 | sprintf (name,"END%i",stage);
| ^~~~~~~
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:13: note: ‘sprintf’ output between 5 and 14 bytes into a destination of size 10
769 | sprintf (name,"END%i",stage);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
gmake[2]: *** [CMakeFiles/RBDoom3BFG.dir/build.make:5984: CMakeFiles/RBDoom3BFG.dir/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp.o] Ошибка 1
gmake[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/RBDoom3BFG.dir/all] Ошибка 2
gmake: *** [Makefile:91: all] Ошибка 2
Target directory: /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo ......
Done

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Nov 23, 2024

-Wno-format is the same. I don’t know what can be done here then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants