free(): double free detected in tcache 2

Johan j at j.nl
Wed Aug 25 09:18:56 UTC 2021


On Wednesday, 25 August 2021 at 06:55:40 UTC, workman wrote:
> On Tuesday, 24 August 2021 at 11:10:47 UTC, Johan wrote:
>>
>> Probably the same as this bug: 
>> https://github.com/ldc-developers/ldc/issues/3786
>>
>> -Johan
>
> I use ld.ldd to do the link, try -flto=full and -flto=thin, has 
> same problem:  `free(): double free detected in tcache 2`

Then it's the same bug as I mentioned.
If you have the option to try with other linkers, then please 
try. It should work with ld.gold.

-Johan



More information about the digitalmars-d-ldc mailing list