Opened 12 years ago

Closed 12 years ago

#887 closed defect (fixed)

EGLIBC-2.15 Multilib RPC error

Reported by: William Harrington Owned by: clfs-commits@…
Priority: blocker Milestone:
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc:

Description

When building multilib 32 bit eglibc, and possibly 64 bit (haven't tested it), rpc headers are not installed since upgrading from eglibc 2.13. Therefore, when building eglibc, the included rpc headers in the eglibc source should be used, then the system will have the installed rpc headers. Since they are installed during 32 bit, perhaps 64 bit won't need the patch. Doesn't hurt to use it in both, but if it isn't needed, don't need to use it. I did not have this issue when building x86_64 pure64 and eglibc 2.15.

If we build and install eglibc without rpc, we will not have headers in /tools/include/rpc . But if we try to build eglibc with rpc this gets into a bad state due to the new rpc helpers that get cross-compiled.

The patch is here: http://pastebin.cross-lfs.org/230642

diff -Naur eglibc-2.15.orig/sunrpc/rpc_clntout.c eglibc-2.15/sunrpc/rpc_clntout.c --- eglibc-2.15.orig/sunrpc/rpc_clntout.c 2010-08-19 20:32:31.000000000 +0000 +++ eglibc-2.15/sunrpc/rpc_clntout.c 2012-07-08 14:59:15.000000000 +0000

-31,7 +31,7 @@

*/

#include <stdio.h> #include <string.h>

-#include <rpc/types.h> +#include "rpc/types.h"

#include "rpc_parse.h" #include "rpc_util.h" #include "proto.h"

Change History (2)

comment:1 by William Harrington, 12 years ago

Priority: criticalblocker

comment:2 by William Harrington, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.