[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: atexit from libc causes unexpected program termination
From: |
Gaius Mulley |
Subject: |
Re: atexit from libc causes unexpected program termination |
Date: |
Mon, 04 Mar 2024 21:50:18 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Rudolf Schubert <rudolf@muc.de> writes:
> Hi Gaius,
>
> thanks for your suggestion with InstallTerminationProcedure from M2RTS.
> This is working very fine. Just one minor question. If I call gm2 with
> -fiso like this on your modified example:
>
> gm2 -fiso glibc_test2.mod
>
> Wenn running a.out I just see as output:
>
> This is P1
>
> The output for P2 is suppressed in this case. Is this to be expected?
>
>
> BR
>
> Rudolf
Hi Rudolf,
ah many thanks for spotting this - yes a bug. Now fixed in the latest
gcc git. I've tracked it as PR 114227 InstallTerminationProcedure does
not work with -fiso on bugzilla,
regards,
Gaius