Package: tcc / 0.9.27-8

Metadata

Package Version Patches format
tcc 0.9.27-8 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.

0004 Fix pthread option handling.patch | (download)

tcc.c | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 fix -pthread option handling

Adding -pthread confused option parsing as the number of file counting
came out wrong.

0005 Remove asm c connect sep in tests clean target.patch | (download)

tests/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove asm-c-connect-sep in tests clean target