util-linux-2.41 breaks static build of btrfs-progs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Static build of btrfs-progs fails with util-linux-2.41 with a simple problem: Symbol parse_range becomes visible in libblkid.a, breaking parse-utils.c in btrfs-progs, using the same symbol.

The question is:
Should be this fixed by util-linux by prefixing of ul_ to all symbols that are not declared as static?
Or should it be fixed by btrfs-progs?
Or could there be applied any type of symbol hiding in the static library?

/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/14/../../../../lib64/libblkid.a(libcommon_la-strutils.o): in function `parse_range': [   29s] /home/abuild/rpmbuild/BUILD/util-linux-2.41-build/util-linux-2.41/lib/strutils.c:867: multiple definition of `parse_range'; common/parse-utils.static.o (symbol from plugin):(.text+0x0): first defined here

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                         e-mail: sbrabec@xxxxxxxx
Křižíkova 148/34 (Corso IIa)                    tel: +420 284 084 060
186 00 Praha 8-Karlín                          fax:  +420 284 084 001
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux