This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
etc:users:jcmvbkbc:gcc-xtensa-call0 [2020/05/17 02:15] jcmvbkbc drop --disable-shared from configure invovcations |
etc:users:jcmvbkbc:gcc-xtensa-call0 [2020/06/09 22:53] (current) jcmvbkbc one more link |
||
---|---|---|---|
Line 19: | Line 19: | ||
RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=$TOOLCHAIN/host/usr/$TARGET/sysroot --target_board=qemu-xtensa" \ | RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=$TOOLCHAIN/host/usr/$TARGET/sysroot --target_board=qemu-xtensa" \ | ||
make -k check | make -k check | ||
- | </code> Timeouts are weird. See gcc/testsuite/lib/timeout.exp for some timeouts, the rest are TBD. | + | </code> Use check-gcc to only check the compiler. Use check-target to check target libs. Timeouts are weird. See gcc/testsuite/lib/timeout.exp for some timeouts, the rest are TBD. |
* run it on linux-user QEMU: <code> | * run it on linux-user QEMU: <code> | ||
PATH=$TOOLCHAIN/host/usr/bin:$PATH \ | PATH=$TOOLCHAIN/host/usr/bin:$PATH \ | ||
Line 38: | Line 38: | ||
make -j8 install-gcc</code> | make -j8 install-gcc</code> | ||
For --enable-valgrind-annotations to work valgrind must be installed. | For --enable-valgrind-annotations to work valgrind must be installed. | ||
+ | See also | ||
+ | * https://gcc.gnu.org/install/test.html | ||
+ | * https://gcc.gnu.org/wiki/DebuggingGCC | ||
+ | * https://gcc.gnu.org/wiki/HowToPrepareATestcase |