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

Denis Corbin <[email protected]> Wed, 30 Aug 2023 21:51:09 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>

On 30/08/2023 21:30, Denis Corbin wrote:
> On 30/08/2023 21:03, Thomas wrote:
>> Hi again!
>>
>> A quick update about my compiler runs today.
>>
> [...]
>>
>> All tests today are done with DAR 2.7.11 from git.
>>
>> Onflyisolation works/fails with these compiler/compileflags:
>>
>> export LDFLAGS=-g # does not matter. I'm skipping this in later tests.
>> export CFLAGS=-g # does not matter. I'm skipping this in later tests.
>>
>> g++ 13.1.0 with export CXXFLAGS=-O ---> fails
>> g++ 13.1.0 with export CXXFLAGS=-g ---> works
>>
>> g++ 12.3.0 with export CXX="g++-12" ---> fails
>> g++ 12.3.0 with export CXX="g++-12" and export CXXFLAGS=-g ---> works
>>
>> g++ 11.4.0 with export CXX="g++-11" ---> fails
>> g++ 11.4.0 with export CXX="g++-11" and export CXXFLAGS=-g ---> works
>>
>> g++ 10.4.0 with export CXX="g++-10" ---> works
>>
>> Summary
>> =======
>> g++ 10 works fine with optimization.
>> g++ 11 or newer work only without optimization.
>>
>> Hope this helps.
> 
> Thanks for confirming this is a gcc issue. I don't know what should be 
> the next step, if someone fills a bug report to gcc Debian maintainer?

What is weird is that there is no issue compiling dar using gcc-12.2.0 
with default -O2 optimization under voidLinux distro.

> 
>>
>> Tom
>>
>>
> 
> Cheers,
> Denis
>
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed