On Thu, Jul 11, 2019 at 06:03:36PM +0000, Hans Malissa via blfs-support wrote: > On July 10, 2019 at 7:07 PM, Ken Moffat via blfs-support > <[email protected]> wrote: > > And if I didn't need to build LLVM for the AMD part on my > radeon|amdgpu machines, and with clang etc to use to build rust, I > would do my best to avoid LLVM ;-) > > Specifically, clang's reported strengths differ from gcc's and it > still lacks the ability to compile the linux kernel (on x86) and its > strengthening features are considered to lag behind gcc, as well as > its options being different (hit one the day before yesterday in > testing, it didn't like a -malign-data option I was trying, fixed > by telling that package to use gcc and g++). > > Thanks for the explanation! My video controller is Intel i910, does that mean > I would be able to build mesa without LLVM? It's listed as a dependency. If I > understand you correctly, without the amdgpu & radeon part, I wouldn't even > need LLVM, is that right? > Greetings, > > Hans
I don't recall. I happen to build LLVM and clang before I build Mesa. The practical answer is, I suppose: Try to build Mesa without LLVM. I assume it will build, but you might need to change the options you specify. And then build, or rebuild, Xserver (and anything else needed to get Xorg running). Then in X run glxinfo -B and review what it is telling you. Also run glxgears AND top at the same time, to see if glxgears is using a lot of CPU. But your question causes me to wonder what you have and have not built - it almost sounds as if you have not yet build Xorg. When I build for a desktop system, I build various non-graphical things that I have found useful for how I do things, e.g. nfs, fcron, postfix (to send mail from fcron to the machine where I keep my notes and sources). Then I boot the new system to check it. Because I do editing, I then build the docbook packages. But after that, my first priority is to get Xorg running. For that, I do build LLVM and Mesa. Also fluxbox, because I find twm too much of a pain to use. And normally a video driver, although I might instead use modesetting which is part of the Xserver. So, for me things like glib/gtk/rust/librsvg/firefox and my preferred windowmanager come next. ĸen -- This is magic for grown-ups; it has to be hard because we know there's no such thing as a free goblin. -- Pratchett, Stewart & Cohen - The Science of Discworld II -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
