Difference between revisions of "HOWTO-Debug-Endian-Issues"

Jump to navigation Jump to search
→‎Building: Mention --disable-gold; at least necessary when doing an -Og build with --enable-all-engines (/usr/bin/ld.gold: internal error in relocate, at ../../gold/powerpc.cc:6773) -- GNU gold 1.11 from binutils 2.25
m (small typo and grammar fixes)
(→‎Building: Mention --disable-gold; at least necessary when doing an -Og build with --enable-all-engines (/usr/bin/ld.gold: internal error in relocate, at ../../gold/powerpc.cc:6773) -- GNU gold 1.11 from binutils 2.25)
Line 109: Line 109:
* Everything is going to be slower than your usual environment.
* Everything is going to be slower than your usual environment.
* Since QEMU emulation is single-threaded, there is no point is running <code>make</code> with any <code>-j</code> flag for parallel compilation.
* Since QEMU emulation is single-threaded, there is no point is running <code>make</code> with any <code>-j</code> flag for parallel compilation.
* It is highly suggested to only enable the engines and features that you need for your test, e.g. <code>./configure --disable-detection-full --disable-all-engines --enable-engine=tinsel --disable-lua --disable-tinygl --disable-cloud --disable-hq-scalers --disable-optimizations --enable-debug</code> will save you a lot of time if you're only interested in testing the Tinsel engine.
* It is highly suggested to only enable the engines and features that you need for your test, e.g. <code>./configure --disable-gold --disable-detection-full --disable-all-engines --enable-engine=tinsel --disable-lua --disable-tinygl --disable-cloud --disable-hq-scalers --disable-optimizations --enable-debug</code> will save you a lot of time if you're only interested in testing the Tinsel engine.
* It is recommended to disable the use of the Gold linker (and revert to the default, older BFD linker) with the <code>--disable-gold</code> configure flag, because the version included in this old toolchain sometimes triggers internal errors.
* Some tools such as Valgrind become unbearably slow when emulated. <code>--enable-asan</code> is available, but its implementation is from 2015.
* Some tools such as Valgrind become unbearably slow when emulated. <code>--enable-asan</code> is available, but its implementation is from 2015.
* The older 1.2 branch of SDL is used, since rendering is done through an unaccelerated framebuffer at the moment, and SDL1.2 is a better option than SDL2 for this case.
* The older 1.2 branch of SDL is used, since rendering is done through an unaccelerated framebuffer at the moment, and SDL1.2 is a better option than SDL2 for this case.
192

edits

Navigation menu