==948== Memcheck, a memory error detector ==948== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==948== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==948== Command: /home/steffen/code.arena/tinycc.git/tcc -Wl,-rpath=/home/steffen/usr/lib -Wl,-rpath=/home/steffen/usr/opt/tcc-mob/lib -Wl,-rpath=/home/steffen/usr/opt/pcc/lib -Wl,-rpath=/lib -Wl,-rpath=/usr/local/lib -Wl,-rpath=/usr/lib -o s-nail-bmta bmta.o -L/home/steffen/usr/lib -L/home/steffen/usr/opt/tcc-mob/lib -L/home/steffen/usr/opt/pcc/lib -L/lib -L/usr/local/lib -L/usr/lib ==948== ==948== Invalid read of size 1 ==948== at 0x415B14: read16le (tcc.h:1414) ==948== by 0x415B14: read32le (tcc.h:1420) ==948== by 0x415B14: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa34 is 4 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid read of size 1 ==948== at 0x415B1E: read16le (tcc.h:1414) ==948== by 0x415B1E: read32le (tcc.h:1420) ==948== by 0x415B1E: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa33 is 3 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid read of size 1 ==948== at 0x415B28: read16le (tcc.h:1414) ==948== by 0x415B28: read32le (tcc.h:1420) ==948== by 0x415B28: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa32 is 2 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid read of size 1 ==948== at 0x415B34: read16le (tcc.h:1414) ==948== by 0x415B34: read32le (tcc.h:1420) ==948== by 0x415B34: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa31 is 1 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid write of size 1 ==948== at 0x415B45: write16le (tcc.h:1417) ==948== by 0x415B45: write32le (tcc.h:1423) ==948== by 0x415B45: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa31 is 1 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid write of size 1 ==948== at 0x415B4F: write16le (tcc.h:1417) ==948== by 0x415B4F: write32le (tcc.h:1423) ==948== by 0x415B4F: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa32 is 2 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid write of size 1 ==948== at 0x415B56: write16le (tcc.h:1417) ==948== by 0x415B56: write32le (tcc.h:1423) ==948== by 0x415B56: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa33 is 3 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid write of size 1 ==948== at 0x415B5F: write16le (tcc.h:1417) ==948== by 0x415B5F: write32le (tcc.h:1423) ==948== by 0x415B5F: relocate_section (tccelf.c:1124) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa34 is 4 bytes after a block of size 2,048 alloc'd ==948== at 0x4C2AACE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x4C2CC81: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402747: tcc_realloc (libtcc.c:221) ==948== by 0x414A4E: section_realloc (tccelf.c:174) ==948== by 0x414AA0: section_ptr_add (tccelf.c:189) ==948== by 0x418201: tcc_load_object_file (tccelf.c:3087) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== ==948== Invalid read of size 1 ==948== at 0x4159B5: read16le (tcc.h:1414) ==948== by 0x4159B5: read32le (tcc.h:1420) ==948== by 0x4159B5: read64le (tcc.h:1426) ==948== by 0x4159B5: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa63 is 13 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x4159BF: read16le (tcc.h:1414) ==948== by 0x4159BF: read32le (tcc.h:1420) ==948== by 0x4159BF: read64le (tcc.h:1426) ==948== by 0x4159BF: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa62 is 14 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x4159C9: read16le (tcc.h:1414) ==948== by 0x4159C9: read32le (tcc.h:1420) ==948== by 0x4159C9: read64le (tcc.h:1426) ==948== by 0x4159C9: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa61 is 15 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x4159D5: read16le (tcc.h:1414) ==948== by 0x4159D5: read32le (tcc.h:1420) ==948== by 0x4159D5: read64le (tcc.h:1426) ==948== by 0x4159D5: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa60 is 16 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x4159E8: read16le (tcc.h:1414) ==948== by 0x4159E8: read32le (tcc.h:1420) ==948== by 0x4159E8: read64le (tcc.h:1426) ==948== by 0x4159E8: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5f is 17 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x4159F1: read16le (tcc.h:1414) ==948== by 0x4159F1: read32le (tcc.h:1420) ==948== by 0x4159F1: read64le (tcc.h:1426) ==948== by 0x4159F1: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5e is 18 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x415A00: read16le (tcc.h:1414) ==948== by 0x415A00: read32le (tcc.h:1420) ==948== by 0x415A00: read64le (tcc.h:1426) ==948== by 0x415A00: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5d is 19 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid read of size 1 ==948== at 0x415A09: read16le (tcc.h:1414) ==948== by 0x415A09: read32le (tcc.h:1420) ==948== by 0x415A09: read64le (tcc.h:1426) ==948== by 0x415A09: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5c is 20 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A1D: write16le (tcc.h:1417) ==948== by 0x415A1D: write32le (tcc.h:1423) ==948== by 0x415A1D: write64le (tcc.h:1429) ==948== by 0x415A1D: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5c is 20 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A27: write16le (tcc.h:1417) ==948== by 0x415A27: write32le (tcc.h:1423) ==948== by 0x415A27: write64le (tcc.h:1429) ==948== by 0x415A27: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5d is 19 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A30: write16le (tcc.h:1417) ==948== by 0x415A30: write32le (tcc.h:1423) ==948== by 0x415A30: write64le (tcc.h:1429) ==948== by 0x415A30: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5e is 18 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A37: write16le (tcc.h:1417) ==948== by 0x415A37: write32le (tcc.h:1423) ==948== by 0x415A37: write64le (tcc.h:1429) ==948== by 0x415A37: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa5f is 17 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A3E: write16le (tcc.h:1417) ==948== by 0x415A3E: write32le (tcc.h:1423) ==948== by 0x415A3E: write64le (tcc.h:1429) ==948== by 0x415A3E: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa60 is 16 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A49: write16le (tcc.h:1417) ==948== by 0x415A49: write32le (tcc.h:1423) ==948== by 0x415A49: write64le (tcc.h:1429) ==948== by 0x415A49: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa61 is 15 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A50: write16le (tcc.h:1417) ==948== by 0x415A50: write32le (tcc.h:1423) ==948== by 0x415A50: write64le (tcc.h:1429) ==948== by 0x415A50: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa62 is 14 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== Invalid write of size 1 ==948== at 0x415A59: write16le (tcc.h:1417) ==948== by 0x415A59: write32le (tcc.h:1423) ==948== by 0x415A59: write64le (tcc.h:1429) ==948== by 0x415A59: relocate_section (tccelf.c:1112) ==948== by 0x4176AE: final_sections_reloc (tccelf.c:2530) ==948== by 0x4176AE: elf_output_file (tccelf.c:2877) ==948== by 0x4176AE: tcc_output_file (tccelf.c:2905) ==948== by 0x401E37: main (tcc.c:356) ==948== Address 0x593aa63 is 13 bytes before a block of size 144 alloc'd ==948== at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==948== by 0x402685: tcc_malloc (libtcc.c:204) ==948== by 0x4026A9: tcc_mallocz (libtcc.c:213) ==948== by 0x414955: new_section (tccelf.c:132) ==948== by 0x4182D4: tcc_load_object_file (tccelf.c:3050) ==948== by 0x4187E1: tcc_load_alacarte (tccelf.c:3275) ==948== by 0x418A48: tcc_load_archive (tccelf.c:3326) ==948== by 0x4030CE: tcc_add_file_internal (libtcc.c:1090) ==948== by 0x403226: tcc_add_file (libtcc.c:1118) ==948== by 0x414401: tcc_add_support (tccelf.c:1772) ==948== by 0x416306: tcc_add_runtime (tccelf.c:1819) ==948== by 0x4167D8: elf_output_file (tccelf.c:2715) ==948== by 0x4167D8: tcc_output_file (tccelf.c:2905) ==948== ==948== ==948== HEAP SUMMARY: ==948== in use at exit: 0 bytes in 0 blocks ==948== total heap usage: 378 allocs, 378 frees, 2,506,851 bytes allocated ==948== ==948== All heap blocks were freed -- no leaks are possible ==948== ==948== For counts of detected and suppressed errors, rerun with: -v ==948== ERROR SUMMARY: 88 errors from 24 contexts (suppressed: 0 from 0)