tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] standalone backtraces


From: Herman ten Brugge
Subject: Re: [Tinycc-devel] standalone backtraces
Date: Sun, 19 Jan 2020 16:27:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2020-01-19 12:06, grischka wrote:
Herman ten Brugge wrote:

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
I could reproduce this. The attached patch fixes this.

Regards,

    Herman

Attachment: patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]