On Fri, Dec 15, 2006 at 09:27:35AM -0800, Janis Stipins wrote: > > Ken Moffat <[EMAIL PROTECTED]> wrote: > on x86_64 pure64 I do some extra seds before 'make linux-dri' : > sed -i -e 's/savage //' \ > -i -e 's/ ffb$//' configs/linux-dri >
> Sure, that's what I ended up doing... but I'm still confused about > the message about recompiling with -fPIC. Is it just that the code > for the ffb driver uses some machine instructions that don't work > with the AMD64 processor? I was worried that maybe there was > something wrong with my GCC, because the error message didn't > seem to match the problem, somehow. > I can't answer _what_ is wrong, although I think I reached a similar conclusion. Anything to do with Mesa scares me - in my first build of X-7 everything apparently built ok, but I couldn't get anything to run, not even the background+pointer from trying to run a minimal X. [ That turned out to be missing fonts, which is why I now build all the core fonts. ] I wasted a lot of time looking at all the cannot find include file "stddef.h" messages in the Mesa build log (they are actually harmless) because no other errors showed anywhere. When I moved onto ppc64 the byzantine nature of the Mesa build really got to me. Now, I just assume it won't all build (at least in ppc, the "this hasn't been ported" messages are a bit of a giveaway) if I'm not on x86. Just taking a look at my most recent x86_64 multilib build I can see that it compiled ppc/common_ppc.c (with a warning about a missing prototype) with -DUSE_X86_64_ASM - I dread to think what horrible result that produced. Even on x86 Mesa seems to need more adjustment than anything else in X-7. As in many blfs packages, I now take the easy way out - if it seems to work, thats good enough. Ken -- das eine Mal als Tragödie, das andere Mal als Farce _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
