Re: Fwd: Bug#1050663: dar option --on-fly-isolate creates catalogue with broken slice_layout

John Goerzen <[email protected]> Mon, 04 Sep 2023 15:26:13 -0500
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On Sat, Sep 02 2023, Thomas wrote:

> On Wed, Aug 30, 2023 at 03:24:12PM -0500, John Goerzen wrote:
>> On Wed, Aug 30 2023, Denis Corbin wrote:
>>
> But...
> I have found a workaround for dar. The appended patch works for me with
> dar v2.7.11 and g++ v13.2.0, v12.3.0 and v11.4.0. Means, files generated
> with OnFlyIsolation are readable again with default optimizations
> activated.
> It seems the optimizer does not like the used ternary operator.

Thank you, Thomas!  I have made a new upload to Debian with this
workaround.  I will also work to get it applied to bookworm-backports
and to stable, though the latter will take some time.

- John

>
> I tested the patch with g++ v10.4.0 and 9.3.0, too without problems but
> these versions are working with or without this patch anyway.
>
> Hope this helps.
>
> Tom
>
> [2. text/x-diff; slice_layout.cpp-remove_ternary_operator.patch]...