tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Question about in-memory compilation, target


From: Eric Raible
Subject: Re: [Tinycc-devel] Question about in-memory compilation, target
Date: Tue, 13 Feb 2024 22:45:07 -0800

That is nice, I wish I had thought of it.

Any thoughts about my suggestion from a few days back that tcc_relocate()
could be dropped from libtcc.h, and instead be automatically called on the first
call to tcc_get_symbol()?

On Tue, Feb 13, 2024 at 4:15 PM grischka <grishka@gmx.de> wrote:
On 11.02.2024 11:08, draco via Tinycc-devel wrote:
> You're right, I didn't verify closely, but the ABI is still intact. Sorry...

To be nice I've made tcc_relocate() abort with a notice
when it's called with the former two-step method ;)

-- gr

>
> Am 10.02.24 um 22:12 schrieb Eric Raible:
>> > This means, that not only the public API changes, but also the
>> > libtcc.dll/so ABI, making all programs using libtcc crash without warning.
>> >
>> > Is this intended?
>> >
>> > Michael
>> I just tried it.  It looks like only programs that _don't_ use
>> TCC_RELOCATE_AUTO would be affected (at least on my x86_64 debian box).
>> Looks like the breakage would only be in a program uses manual memory management,
>> that uses the system tcc (instead of a private  version), and where the system tcc is
>> updated w/out rebuilding the application.  Anyone out there who would be in that situation?
>> - Eric
>
>
> _______________________________________________
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>


reply via email to

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