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

Jump to navigation Jump to search
→‎Building: mention that some of our required libraries are not available (or too outdated) in default Debian 8 packages
(→‎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)
(→‎Building: mention that some of our required libraries are not available (or too outdated) in default Debian 8 packages)
 
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.
* Some of the external libraries listed in the link above may be too old, or not been available at all in this old Debian release (e.g. libvpx). As of late 2024, the few missing librairies shouldn't cause an issue for the cases covered by big-endian debugging.
* 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 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.
* 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.
186

edits

Navigation menu