Re: [Bacula-devel] Build fails with LTO due to ODR violations

2024-10-28 Thread Thomas Beierlein
Hi, On Sun, Oct 27, 2024 at 03:48:54PM +0100, Radosław Korzeniewski wrote: > Hi, > > pt., 25 paź 2024 o 13:35 Thomas Beierlein napisał(a): > > > Hello, > > > > building bacula-15.0.2 here on Gentoo with > > '-Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' > > failes with th

Re: [Bacula-devel] Build fails with LTO due to ODR violations

2024-10-27 Thread Radosław Korzeniewski
Hi, pt., 25 paź 2024 o 13:35 Thomas Beierlein napisał(a): > Hello, > > building bacula-15.0.2 here on Gentoo with > '-Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' > failes with the following error: > > +++ > Linking bacula-fd ... > /var/tmp/portage/app-backup/bacula-15.0.2

[Bacula-devel] Build fails with LTO due to ODR violations

2024-10-25 Thread Thomas Beierlein
Hello, building bacula-15.0.2 here on Gentoo with '-Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' failes with the following error: +++ Linking bacula-fd ... /var/tmp/portage/app-backup/bacula-15.0.2/work/bacula-15.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/x86_64