libpci.a static library contains symver section
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pciutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When linking program statically with libpci.a, it reported:
ld.lld: error: /usr/lib/
ld.lld: error: /usr/lib/
ld.lld: error: /usr/lib/
ld.lld: error: /usr/lib/
However, static library should not contain versioning information(symver section).
objdump showed these symbols:
00000000000004f0 g F .text 0000000000000054 pci_fill_
00000000000004f0 g F .text 0000000000000054 pci_fill_
00000000000004f0 g F .text 0000000000000054 pci_fill_
00000000000004f0 g F .text 0000000000000054 pci_fill_
Probably PCI_SHARED_LIB is defined in static build. This issue existed in all Ubuntu releases.
Thanks.
Status changed to 'Confirmed' because the bug affects multiple users.