[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] standalone backtraces
From: |
grischka |
Subject: |
Re: [Tinycc-devel] standalone backtraces |
Date: |
Sun, 19 Jan 2020 12:06:15 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Herman ten Brugge wrote:
I need only 1. I modified the code. See attached patch.
I don't think so.
Basically, in tinycc, before you add new code, always try if you
can solve the problem by just removing old code first.
(Also, please don't make changes to existing code without any
comments, unless really obvious for everybody).
Anyway, should work now. See
https://repo.or.cz/tinycc.git/commitdiff/d79e1dee
Btw, there seems to be a bug in the sym-version code that crashes
tcc when it tries to link with a .so, for example:
echo "void f() {}" | tcc - -shared -o a.so
echo "main() {}" | tcc - a.so
<segmentation fault>
I cannot reproduce this. I checkout a fresh copy and see no problem.
I use Fedora 31 with all updates.
see for example
https://gitlab.com/giomasce/tinycc/-/jobs/408014593
+./a.exe: error while loading shared libraries: ./a1.so: unsupported version
25960 of Verneed record
--- grischka
Regards,
Herman
- [Tinycc-devel] standalone backtraces, grischka, 2020/01/17
- Re: [Tinycc-devel] standalone backtraces, Christian Jullien, 2020/01/18
- Re: [Tinycc-devel] standalone backtraces, Herman ten Brugge, 2020/01/18
- Re: [Tinycc-devel] standalone backtraces, grischka, 2020/01/18
- Re: [Tinycc-devel] standalone backtraces, Herman ten Brugge, 2020/01/19
- Re: [Tinycc-devel] standalone backtraces,
grischka <=
- Re: [Tinycc-devel] standalone backtraces, Christian Jullien, 2020/01/19
- Re: [Tinycc-devel] standalone backtraces, Herman ten Brugge, 2020/01/19
- Re: [Tinycc-devel] standalone backtraces, Herman ten Brugge, 2020/01/19
- Re: [Tinycc-devel] standalone backtraces, Michael Matz, 2020/01/20