tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Add elf version support


From: Herman ten Brugge
Subject: Re: [Tinycc-devel] Add elf version support
Date: Thu, 24 Oct 2019 15:28:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

See the testcase 106_pthread.c. This uses a mutex in a shared memory (not in the testcode).
This is not supported when versioning is not used.

There are some more problems because I fixed this one temporary with dlsym.
After that I decided to implement elf versioning.

    Herman

On 2019-10-24 15:18, Michael Matz wrote:
Hi,

On Tue, 22 Oct 2019, Herman ten Brugge via Tinycc-devel wrote:

I had some problems using pthread code in tinycc.

The problem was that not the correct version of the pthread-library was
used because tinycc did not support elf versions.
I wonder what the specific problem was, out of curiosity.

I created a branch (elf_version) and implemented elf versions.

It solved my problems and I can now run a very large application without
a problem.
That's fairly cool.  I never could quite bring myself to add ELF
versioning for real, so: super!  :)


Ciao,
Michael.




reply via email to

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