Package: tcc / 0.9.27+git20200814.62c30a4a-1

Metadata

Package Version Patches format
tcc 0.9.27+git20200814.62c30a4a-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Disable test not working on i386.patch | (download)

tests/tcctest.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 disable test not working on i386

get_asm_string function does not compile with GCC on i386 and thus makes
the testsuite fail on i386. This is a testism so it is fine do simply
disable the test on such platform while upstream fixes it.

0002 Disable stack protector in runtime library.patch | (download)

lib/Makefile | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable stack protector in runtime library

tcc fails to run when compiled by itself and its runtime library was
built with any variant of -fstack-protector. This is why test3 fails
when libtcc1.a is build with -fstack-protector.

0003 Prevent dead code on x86 in prepare_dynamic_rel.patch | (download)

tccelf.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 prevent dead code on !x86 in prepare_dynamic_rel

In prepare_dynamic_rel() on non x86 targets the count++ statements
appear before any case label and are therefore dead code. This triggers
build failure when building with -Werror. This patch adds an extra guard
around all the x86 case labels and their associated action, leaving just
the default case label for non x86 targets which builds fine.