[pkg-bacula-devel] [Bug 1898006] [NEW] -Bsymbolic-functions linker flag causes bdirjson output problem

Marcin Haba marcin.haba at bacula.pl
Thu Oct 1 08:01:45 BST 2020


Hello Sven,

Thanks for your answer.

Yes, on Debian bdirjson works well. This problem occurs on Ubuntu Focal.

Best regards,
Marcin Haba (gani)

On 01.10.2020 08:52, Sven Hartge wrote:
> On 01.10.20 06:51, Marcin Haba wrote:
> 
>> In Ubuntu Focal the Bacula binaries are prepared with the
>> following linker flag:
>> 
>> -Wl,-Bsymbolic-functions
>> 
>> It causes a problem because when this flag is used then in
>> bdirjson output all "Storage" directive values are "null". More
>> information about this problem you can see in the following
>> ticket in the Bacula Bug tracker:
>> 
>> https://bugs.bacula.org/view.php?id=2557#c8234
> 
> Debian does not use this flag at the moment, see "dpkg-buildflags
> --get LDFLAGS"
> 
> Maybe we should add some check into d/rules that directly breaks
> the build if LDFLAGS ever contains "symbolic-functions" to be
> prepared.
> 
> Grüße, Sven.
> 
> _______________________________________________ pkg-bacula-devel
> mailing list pkg-bacula-devel at alioth-lists.debian.net 
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-bacula-devel
>



More information about the pkg-bacula-devel mailing list