linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pciutils build failure with older binutils
@ 2022-05-12 12:59 Baruch Siach
  0 siblings, 0 replies; only message in thread
From: Baruch Siach @ 2022-05-12 12:59 UTC (permalink / raw)
  To: Martin Mares; +Cc: linux-pci

Hi Martin,

Since commit 511122b83c12 ("Filters now support partially specified
classes and also prog-if's") binutils older than 2.35 can't build
pciutils 3.8.0 when SHARED=yes.

cc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden   -c -o filter.o filter.c
/tmp/ccLtucRG.s: Assembler messages:
/tmp/ccLtucRG.s:6: Error: multiple versions [`pci_filter_init@@LIBPCI_3.8'|`pci_filter_init@LIBPCI_3.3'] for symbol `pci_filter_init_v38'
/tmp/ccLtucRG.s:8: Error: multiple versions [`pci_filter_parse_slot@@LIBPCI_3.8'|`pci_filter_parse_slot@LIBPCI_3.3'] for symbol `pci_filter_parse_slot_v38'
/tmp/ccLtucRG.s:10: Error: multiple versions [`pci_filter_parse_id@@LIBPCI_3.8'|`pci_filter_parse_id@LIBPCI_3.3'] for symbol `pci_filter_parse_id_v38'
/tmp/ccLtucRG.s:12: Error: multiple versions [`pci_filter_match@@LIBPCI_3.8'|`pci_filter_match@LIBPCI_3.3'] for symbol `pci_filter_match_v38'

The bug appears to be gas/23840[1].

binutils 2.35 was released on July 2020, so many production systems
still use broken toolchains.

Any suggestion?

Thanks,
baruch

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=23840

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-12 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 12:59 pciutils build failure with older binutils Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).