Cannot rebuild mesa from official slackbuild in latest current, problems with openmpi
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cannot rebuild mesa from official slackbuild in latest current, problems with openmpi
Hi,
I know this sounds crazy, but I was having segfaults with openmpi and, after many investigations, hair pulling, redoing the virtual machines, etc, I found that the segfault goes away if I remove the mesa package. Then I though I could just recompile it to check if it works, so I downloaded the official current slackbuild and surprisingly mesa does not build succesfully. I am using the latest current slackware64 version (Wed 26 2022). How can I track the root problem, which is very strange? I also has suspicions on the llvm packages since mesa also says something like "undefined reference to `LLVMInitializeBPFTarget" but this goes way out of my league.
FULL DETAILS
This is the original segfault from mpi (version 4.1.0 and 4.1.2 tested, installed with sbopkg, even after recompiling and using the latest version for hwloc)
```
The, after just `slackpkg remove mesa` (a tip after running gdb mpirun), the output from the same command is
Quote:
❯ mpirun -np 2 /bin/hostname
sala36
sala36
So mpirun works without mesa. Then, I downloaded the mesa.SlackBuild stuff from https://mirrors.slackware.com/slackw...source/x/mesa/ , I tried to recompile mesa (tested 21.3.{1,2,...,5} versions) and I get an error with libMesaOpenCL
Excellent search skills thanks.
Yes, after following the links you posted, I recompiled LLVM with DLYB on, and then mesa compiled in current! But the problem with openmpi persists. I tried also recompiling llvm, then mesa, then openmpi, same problem. There must be some interdependence which is above my understanding. For now, and given that we are using the computers remotely, I will just keep mesa uninstalled. Also I will use the opempi implementation from spack.
Thanks for your help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.