Build with compiler enabled through Environment Modules #10352
Replies: 2 comments 5 replies
-
This is a bug in DPDK; they do the linking completely wrong:
and similarly for They should be using dependencies, e.g., https://mesonbuild.com/Dependencies.html#dl-libdl or for older versions, using |
Beta Was this translation helpful? Give feedback.
-
These names are supposed to be specially known to the compiler which will search for them next to libc.
This really says nothing. You're getting errors detecting Also, glibc is supposed to install compatibility static libraries (libdl.a) that contain no objects, to ensure that these still resolve to files on disk if needed. All in all, it initially seems to me that something about this compiler may be fishy. Incidentally, why does it have its own libc anyway? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Attempting to build DPDK on a system with gcc 11 provided by an Environment Module, specifically the IBM Advanced Toolkit AT 15.0 on a POWER system (not cross compiled). Linking stage fails like this:
Problem appears to be related to the fact that
libpthread
andlibdl
have been merged into glibc 2.34 (see Red Hat Article but meson is looking in the wrong locations for the standard library:Is there an option that would allow meson to find the correct
libdir
when running with a compiler enabled through an environment module?Beta Was this translation helpful? Give feedback.
All reactions