From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21200 invoked by alias); 24 Sep 2009 10:39:59 -0000 Received: (qmail 21190 invoked by uid 22791); 24 Sep 2009 10:39:58 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_42 X-Spam-Check-By: sourceware.org Received: from mx5.mrv.com (HELO bos-spam.mrv.com) (140.179.254.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Sep 2009 10:39:52 +0000 X-ASG-Debug-ID: 1253788789-0a4c00440001-NbU69u Received: from bosmail.bos.mrv.com (bosmail.bos.mrv.com [140.179.176.26]) by bos-spam.mrv.com with ESMTP id uhh0Vjp4JEY4aDpx; Thu, 24 Sep 2009 06:39:49 -0400 (EDT) X-Barracuda-Envelope-From: nyet@mrv.com Received: from chmailsrv.int.mrv.com ([192.168.11.19]) by bosmail.bos.mrv.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 Sep 2009 06:40:41 -0400 Received: from jane.chatsunix.int.mrv.com ([192.168.11.80]) by chmailsrv.int.mrv.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Sep 2009 03:40:39 -0700 X-Barracuda-BBL-IP: 192.168.11.19 X-Barracuda-RBL-IP: 192.168.11.19 Received: from hobag.chatsunix.int.mrv.com ([192.168.17.19] ident=Debian-exim) by jane.chatsunix.int.mrv.com with esmtp (Exim 4.69) (envelope-from ) id 1Mqljn-0001pp-TV; Thu, 24 Sep 2009 03:39:47 -0700 Received: from nyet by hobag.chatsunix.int.mrv.com with local (Exim 4.69) (envelope-from ) id 1Mqljn-0001Yb-L9; Thu, 24 Sep 2009 03:39:47 -0700 Date: Thu, 24 Sep 2009 10:39:00 -0000 From: Nye Liu To: crossgcc@sourceware.org, yann.morin.1998@anciens.enib.fr Bcc: nyet@nyet.org X-ASG-Orig-Subj: [PATCH] crosstool-ng: missing ntp userland MOD_ macros, ecjx.o should use native compiler Subject: [PATCH] crosstool-ng: missing ntp userland MOD_ macros, ecjx.o should use native compiler Message-ID: <20090924103947.GA10587@mrv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Barracuda-Connect: bosmail.bos.mrv.com[140.179.176.26] X-Barracuda-Start-Time: 1253788789 X-Barracuda-URL: http://140.179.128.126:8000/cgi-mod/mark.cgi X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00060.txt.bz2 # HG changeset patch # User nyet@mrv.com # Date 1253788137 25200 # Node ID bf85e2f5ac55100512f26956be251c42f58068a9 # Parent 16a2eaf5fd778a6e3eb5ec6b8ec3e0d3e2a28bdb ntp uses MOD_NANO not ADJ_NANO ecjx.cc -> ecjx.o should use native compiler, not cross compiler diff -r 16a2eaf5fd77 -r bf85e2f5ac55 patches/eglibc/2_10/110-ntp-MOD-prefix.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/eglibc/2_10/110-ntp-MOD-prefix.patch Thu Sep 24 03:28:57 2009 -0700 @@ -0,0 +1,13 @@ +diff -ur eglibc-2_10-orig/sysdeps/unix/sysv/linux/sys/timex.h eglibc-2_10/sysdeps/unix/sysv/linux/sys/timex.h +--- eglibc-2_10-orig/sysdeps/unix/sysv/linux/sys/timex.h 2009-04-30 14:37:18.000000000 -0700 ++++ eglibc-2_10/sysdeps/unix/sysv/linux/sys/timex.h 2009-09-24 03:00:05.590174161 -0700 +@@ -83,6 +83,9 @@ + #define MOD_ESTERROR ADJ_ESTERROR + #define MOD_STATUS ADJ_STATUS + #define MOD_TIMECONST ADJ_TIMECONST ++#define MOD_TAI ADJ_TAI ++#define MOD_MICRO ADJ_MICRO ++#define MOD_NANO ADJ_NANO + #define MOD_CLKB ADJ_TICK + #define MOD_CLKA ADJ_OFFSET_SINGLESHOT /* 0x8000 in original */ + diff -r 16a2eaf5fd77 -r bf85e2f5ac55 patches/gcc/4.3.4/400-ecjx-host-cc.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/gcc/4.3.4/400-ecjx-host-cc.patch Thu Sep 24 03:28:57 2009 -0700 @@ -0,0 +1,13 @@ +diff -ur gcc-4.3.4-orig/libjava/Makefile.in gcc-4.3.4/libjava/Makefile.in +--- gcc-4.3.4-orig/libjava/Makefile.in 2009-08-04 04:12:27.000000000 -0700 ++++ gcc-4.3.4/libjava/Makefile.in 2009-09-23 22:03:15.750951483 -0700 +@@ -8874,6 +8874,9 @@ + ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES) + @rm -f ecjx$(EXEEXT) + $(ecjx_LINK) $(ecjx_LDFLAGS) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS) ++ecjx.$(OBJEXT): $(ecjx_SOURCES) ++ @rm -f ecjx.$(OBJEXT) ++ $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $< + gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES) + @rm -f gappletviewer$(EXEEXT) + $(gappletviewer_LINK) $(gappletviewer_LDFLAGS) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS) diff -r 16a2eaf5fd77 -r bf85e2f5ac55 patches/linux/2.6.31/100-ntp-MOD-prefix.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/linux/2.6.31/100-ntp-MOD-prefix.patch Thu Sep 24 03:28:57 2009 -0700 @@ -0,0 +1,13 @@ +diff -ur linux-2.6.31-orig/include/linux/timex.h linux-2.6.31/include/linux/timex.h +--- linux-2.6.31-orig/include/linux/timex.h 2009-09-09 15:13:59.000000000 -0700 ++++ linux-2.6.31/include/linux/timex.h 2009-09-24 03:13:13.218174137 -0700 +@@ -122,6 +122,9 @@ + #define MOD_ESTERROR ADJ_ESTERROR + #define MOD_STATUS ADJ_STATUS + #define MOD_TIMECONST ADJ_TIMECONST ++#define MOD_TAI ADJ_TAI ++#define MOD_MICRO ADJ_MICRO ++#define MOD_NANO ADJ_NANO + + + /* -- Nye Liu nliu@mrv.com (818) 772-6235x248 (818) 772-0576 fax "Who would be stupid enough to quote a fictitious character?" -- Don Quixote -- For unsubscribe information see http://sourceware.org/lists.html#faq