On Sun, Aug 26, 2012 at 07:59:25PM -0700, Bryan Kadzban wrote:
> 
> Pulling in a reply from the other thread...
> 
> Ken Moffat wrote:
> > but I'm still expecting to see moans about this new requirement,
> 
> Yeah, that's understandable.  Hmm.
> 
> Well, looking at the original commit, it simply turned on the build of
> librpcsvc (for cross-compiles), and added a bunch of extra stuff to make
> it build in a cross-compile setup.  It seems like the chapter 5 glibc
> shouldn't need librpcsvc anyway -- though I have not tried turning it
> off, and don't know if there's another easy way to disable it or not.
> 
> Digging through a few of the glibc Makefiles, what happens if you try,
> without /usr/include/rpc/*.h, and with just the current state of the
> book (no other workarounds), this:
> 
> make need-export-routines="" cross-rpcgen-objs=""
> 
> The first should cause rpc-compat-routines, rpc-compat-routines.os, and
> extra-objs to all become empty; that, in turn, *should* cause
> librpc_compat_pic.a to become empty, which should (I hope) cause this
> all to stop getting built in chapter 5?
> 
> And the .c file in question is built twice; once for cross-rpcgen and
> once for rpcgen.  Setting cross-rpcgen-objs to "" will -- assuming that
> actually works :-) -- avoid compiling that file, at least.  It *should*
> also stop building rpcgen the binary (since it no longer depends on
> anything).
> 
 Dunno - with that patch, which I still think is not the sort of
thing we want to maintain, chapter 5 built ok without rpc headers,
and chapter 6 has just installed.  For chapter 6, the new configure
option appears to be working [ _not_ needed in chapter 5 ], but I'll
leave it running through to the end of chapter 6.

 Will possibly try what you have suggested tomorrow, but I'm
inceasingly not convinced it is necessary : if upstream require the
rpc headers when cross-compiling, and those do not pollute the
build, then working around it seems to be a waste of time ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to