On July 11, 2019 at 2:30 PM, Ken Moffat via blfs-support
<[email protected]> wrote:
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.
I admit that my build order is a bit chaotic. I have not built xorg yet. I've
heard that rustc and LLVM can be troublesome to build, so I decided to try
building those at an early stage.
Regarding Mesa without LLVM (my video controller is Intel i915): the book
(http://linuxfromscratch.org/blfs/view/stable-systemd/x/mesa.html) states that
the build instructions need to be modified if LLVM is not installed, but
details are not given. I assume that means that I should use
GLL_DRV="i915,svga,swrast"
instead of
GLL_DRV="i915,nouveau,radeonsi,svga,swrast"
and omit the LDFLAGS=-lLLVM in the configure command, correct? Or are other
changes necessary as well?
Greetings,
Hans
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page