[RTEMS Project] #4169: Link problem of C++ tests when using libpci in BSP
RTEMS trac
trac at rtems.org
Thu Oct 29 13:19:02 UTC 2020
#4169: Link problem of C++ tests when using libpci in BSP
-------------------------+--------------------
Reporter: Jan Sommer | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 5.2
Component: lib | Version: 5
Severity: normal | Keywords:
Blocked By: | Blocking:
-------------------------+--------------------
When using libpci in a custom BSP we experienced linking problems for C++
test (e.g. spcxx01).
The reason is the missing extern C include guards for confdefs/libpci.h.
Therefore, the reference to pci_config_lib_init is mangled.
A patch fixing this problem is provided here:
https://lists.rtems.org/pipermail/devel/2020-October/062981.html
--
Ticket URL: <http://devel.rtems.org/ticket/4169>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list