Hello Radoslaw!

I've tried to compile without the flag "-O2" but unfortunately it doesn't
work!

I usually compile Bacula using "make -j 8".
Then I've done a test and run only "make" command and now it  worked!

Even with CFLAGS="-g -O2 -Wall"


Best regards

*Wanderlei Hüttel*



Em seg., 7 de set. de 2020 às 03:37, Radosław Korzeniewski <
rados...@korzeniewski.net> escreveu:

> Hello,
>
> czw., 3 wrz 2020 o 16:52 Wanderlei Huttel <wanderleihut...@gmail.com>
> napisał(a):
>
>> I'm trying to compile bacula in CentOS 7.8 and I'm getting amd error!
>>
>> It looks the error is in the dird and is a c++ bug.
>>
>> How to avoid this error?
>>
>
> Try to compile without optimizations enabled, so without -O2 compiler flag
> and see if it works.
>
> I encountered a similar problem (g++ internal compiler error) during
> XenServer Plugin development when the code was broken and g++ wanted to
> apply a small loop unwinding optimization and failed. :)
> Disabling optimization solved the problem during compilation, but I had to
> fix the broken code anyway.
>
> best regards
> --
> Radosław Korzeniewski
> rados...@korzeniewski.net
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to