Recently, Somebody Somewhere wrote these words > I have been playing with this for a while, but there seem to be a few > differences in the HLFS system I have and the one you used to build > Xorg6.9. The mesa patch, for instance, fails. > > package xorg:/usr/src/xorg/xc/extras/Mesa> patch -Np1 -i > /sources/mesa-6.4-pic-notextrel.patch > patching file configs/linux-dri-x86 > patching file src/mesa/x86/glapi_x86.S > Hunk #1 succeeded at 81 (offset -1 lines). > Hunk #2 FAILED at 92. > Hunk #3 succeeded at 92 (offset -12 lines). > Hunk #4 succeeded at 107 (offset -12 lines). > Hunk #5 succeeded at 131 (offset -12 lines). > 1 out of 5 hunks FAILED -- saving rejects to file > src/mesa/x86/glapi_x86.S.rej > patching file src/mesa/x86/mmx_blend.S > patching file src/mesa/x86/mmx_blendtmp.h > patching file src/mesa/x86/read_rgba_span_x86.S > package xorg:/usr/src/xorg/xc/extras/Mesa> > > Not sure whether that matters as I haven't encountered an error with any > opengl stuff (yet).
Actually that doesn't matter. One hunk failed on me as well. This battle is in January's archives, blow by blow. > I also do not have the CONFIG_PAX_NOELFRELOCS kernel option. > I checked the required patches for HLFS, but I haven't seen it in > there as well. I guess you got it yourself somehow > (or the name changed). It's in the Pax security patch for the kernel, under non-executable pages. It prevents code from relocating. As executable position is randomised, non pic code (like assembler) can't run, because Pax won't allow the kernel to relocate it. At least that's what I thought it did. > > So I just went ahead with the normal 6.8.2 book page, except for the > patches. > I used the checktextrel script, but didn't find anything with textrel in > it. I guess that is a good thing then. > When running "make World" I'm getting this error: That is the agpgart.h error I may have mentioned. Mail has a very short life here, but this might be the solution http://linuxfromscratch.org/pipermail/hlfs-dev/2006-january/002659.html That link isn't working in lynx. Bah! I'm reading the link off mozilla. Those sed commands give you a level less of interpetation in agpgart.h and the build goes through. That's probably the last error you'll get. But you may not have dri. -- With best Regards, Declan Moriarty. -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page