[Bug 1245] Windows build failure with clang (unresolved external symbol)

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Jun 8 08:34:26 CEST 2023


https://bugs.dpdk.org/show_bug.cgi?id=1245

            Bug ID: 1245
           Summary: Windows build failure with clang (unresolved external
                    symbol)
           Product: DPDK
           Version: 23.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: alialnu at nvidia.com
  Target Milestone: ---

> meson.exe --werror -Dexamples=helloworld build
> ninja.exe -C build
[..]
[577/818] Linking target drivers/rte_bus_pci-23.dll
FAILED: drivers/rte_bus_pci-23.dll
clang @drivers/rte_bus_pci-23.dll.rsp
rte_bus_pci_exports.def : error LNK2001: unresolved external symbol
rte_pci_mmio_read
rte_bus_pci_exports.def : error LNK2001: unresolved external symbol
rte_pci_mmio_write
drivers\rte_bus_pci.lib : fatal error LNK1120: 2 unresolved externals
clang: error: linker command failed with exit code 1120 (use -v to see
invocation)
[..]

Git bisect points to 095cf6e68b28 ("bus/pci: introduce MMIO read/write")

Meson: 0.54.3
Clang: 11.0.0
Clang link: 14.28.29335.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20230608/53d1192b/attachment.htm>


More information about the dev mailing list