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

Sven Hartge sven at svenhartge.de
Thu Oct 1 07:52:45 BST 2020


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x6986401191B2164B.asc
Type: application/pgp-keys
Size: 36278 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20201001/6e005733/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20201001/6e005733/attachment-0001.sig>


More information about the pkg-bacula-devel mailing list