# HG changeset patch # User Christophe Lincoln # Date 1338298971 0 # Node ID e16bd8c22d549c6b0e08e8a3cc31db0be81ae520 # Parent 91b32bc2e34d8b516958ff6f6a526bdc77beb4c6 cross: use eglibc 2.13 (rpc support is dropped and workaround is needed for 2.15) diff -r 91b32bc2e34d -r e16bd8c22d54 cross --- a/cross Tue May 29 09:29:07 2012 +0000 +++ b/cross Tue May 29 13:42:51 2012 +0000 @@ -253,6 +253,18 @@ $EGLIBC_ARGS && make || exit 1 make install_root=$sysroot install + # The rpc headers (RPC is no longer in eglibc <2.13 + # + #if [ "$EGLIBC_VERSION" -gt "2.13" ]; then + #rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \ + #yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \ + #rusers.x spray.x nfs_prot.x rquota.x key_prot.x" + #cd sunrpc/rpcsvc + #for r in ${rpcsvc}; do + #h=`echo $r|sed -e's,\.x$,.h,'` + #rpcgen -h $r -o $h || oewarn "unable to generate header for $r" + #done + #fi } # 5. GCC final diff -r 91b32bc2e34d -r e16bd8c22d54 cross.conf --- a/cross.conf Tue May 29 09:29:07 2012 +0000 +++ b/cross.conf Tue May 29 13:42:51 2012 +0000 @@ -12,7 +12,7 @@ BINUTILS_VERSION="2.22" LINUX_VERSION="3.2.14" GLIBC_VERSION="2.13" -EGLIBC_VERSION="2.15" +EGLIBC_VERSION="2.13" GCC_VERSION="4.6.3" # Cross-tools tarballs @@ -26,7 +26,7 @@ BINUTILS_WGET="http://ftp.gnu.org/gnu/binutils/$BINUTILS_TARBALL" LINUX_WGET="http://www.kernel.org/pub/linux/kernel/v3.x/$LINUX_TARBALL" GLIBC_WGET="http://ftp.gnu.org/gnu/libc/$GLIBC_TARBALL" -EGLIBC_WGET="svn://svn.eglibc.org/branches/eglibc-2_15" +EGLIBC_WGET="svn://svn.eglibc.org/branches/eglibc-2_13" GCC_WGET="http://ftp.gnu.org/gnu/gcc/gcc-$GCC_VERSION/$GCC_TARBALL" # Peer package configure arguments