From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22640 invoked by alias); 22 Nov 2011 07:07:08 -0000 Received: (qmail 22624 invoked by uid 22791); 22 Nov 2011 07:07:06 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f43.google.com (HELO mail-ww0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Nov 2011 07:06:49 +0000 Received: by wwp14 with SMTP id 14so9206204wwp.12 for ; Mon, 21 Nov 2011 23:06:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.197.10 with SMTP id ei10mr11032247wbb.9.1321945607490; Mon, 21 Nov 2011 23:06:47 -0800 (PST) Received: by 10.216.38.10 with HTTP; Mon, 21 Nov 2011 23:06:47 -0800 (PST) In-Reply-To: <201111212347.50339.yann.morin.1998@anciens.enib.fr> References: <1321904970-2889-1-git-send-email-antonynpavlov@gmail.com> <201111212347.50339.yann.morin.1998@anciens.enib.fr> Date: Tue, 22 Nov 2011 07:07:00 -0000 Message-ID: Subject: Re: [PATCH 1/2] update mips-malta-linux-gnu sample From: Antony Pavlov To: "Yann E. MORIN" Cc: crossgcc@sourceware.org, Khem Raj Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2011-11/txt/msg00112.txt.bz2 On 22 November 2011 02:47, Yann E. MORIN wrote: > Antony, Khem, All, > > On Monday 21 November 2011 23:38:32 Khem Raj wrote: >> On Mon, Nov 21, 2011 at 11:49 AM, Antony Pavlov wrote: >> > --- >> > =A0samples/mips-malta-linux-gnu/crosstool.config | =A0 41 ++++++++++++= +----------- >> > =A01 files changed, 22 insertions(+), 19 deletions(-) >> > >> > diff --git a/samples/mips-malta-linux-gnu/crosstool.config b/samples/m= ips-malta-linux-gnu/crosstool.config >> > index 47cf010..35815b7 100644 >> > --- a/samples/mips-malta-linux-gnu/crosstool.config >> > +++ b/samples/mips-malta-linux-gnu/crosstool.config >> > @@ -1,7 +1,7 @@ >> > =A0# >> > =A0# Automatically generated make config: don't edit >> > -# crosstool-NG hg_default@2721_7b64746b0ab3 Configuration >> > -# Sun Oct 16 17:29:33 2011 >> > +# crosstool-NG 1.13.1 Configuration >> > +# Wed Nov 16 10:42:30 2011 >> > =A0# >> > =A0CT_CONFIGURE_has_xzutils=3Dy >> > =A0CT_CONFIGURE_has_cvs=3Dy >> > @@ -17,7 +17,11 @@ CT_MODULES=3Dy >> > =A0# >> > =A0# CT_OBSOLETE is not set >> > =A0CT_EXPERIMENTAL=3Dy >> > -# CT_DEBUG_CT is not set >> > +CT_DEBUG_CT=3Dy >> > +# CT_DEBUG_PAUSE_STEPS is not set >> > +CT_DEBUG_CT_SAVE_STEPS=3Dy >> > +CT_DEBUG_CT_SAVE_STEPS_GZIP=3Dy >> > +# CT_NO_OVERIDE_LC_MESSAGES is not set >> > >> > =A0# >> > =A0# Paths >> > @@ -59,7 +63,7 @@ CT_PATCH_ORDER=3D"bundled" >> > =A0# >> > =A0# Build behavior >> > =A0# >> > -CT_PARALLEL_JOBS=3D0 >> > +CT_PARALLEL_JOBS=3D1 >> > =A0CT_LOAD=3D0 >> > =A0CT_USE_PIPES=3Dy >> > =A0CT_EXTRA_FLAGS_FOR_HOST=3D"" >> > @@ -156,7 +160,7 @@ CT_USE_SYSROOT=3Dy >> > =A0CT_SYSROOT_NAME=3D"sysroot" >> > =A0CT_SYSROOT_DIR_PREFIX=3D"" >> > =A0CT_WANTS_STATIC_LINK=3Dy >> > -# CT_STATIC_TOOLCHAIN is not set >> > +CT_STATIC_TOOLCHAIN=3Dy >> > =A0CT_TOOLCHAIN_PKGVERSION=3D"" >> > =A0CT_TOOLCHAIN_BUGURL=3D"" >> > >> > @@ -188,18 +192,18 @@ CT_BUILD_SUFFIX=3D"" >> > =A0# >> > =A0CT_KERNEL_SUPPORTS_SHARED_LIBS=3Dy >> > =A0CT_KERNEL=3D"linux" >> > -CT_KERNEL_VERSION=3D"2.6.38.8" >> > +CT_KERNEL_VERSION=3D"3.0.4" >> > =A0# CT_KERNEL_bare_metal is not set >> > =A0CT_KERNEL_linux=3Dy >> > =A0CT_KERNEL_bare_metal_AVAILABLE=3Dy >> > =A0CT_KERNEL_linux_AVAILABLE=3Dy >> > -# CT_KERNEL_V_3_0_4 is not set >> > +CT_KERNEL_V_3_0_4=3Dy >> > =A0# CT_KERNEL_V_3_0_3 is not set >> > =A0# CT_KERNEL_V_3_0_2 is not set >> > =A0# CT_KERNEL_V_3_0_1 is not set >> > =A0# CT_KERNEL_V_3_0 is not set >> > =A0# CT_KERNEL_V_2_6_39_4 is not set >> > -CT_KERNEL_V_2_6_38_8=3Dy >> > +# CT_KERNEL_V_2_6_38_8 is not set >> > =A0# CT_KERNEL_V_2_6_37_6 is not set >> > =A0# CT_KERNEL_V_2_6_36_4 is not set >> > =A0# CT_KERNEL_V_2_6_35_14 is not set >> > @@ -250,7 +254,6 @@ CT_BINUTILS_FORCE_LD_BFD=3Dy >> > =A0CT_BINUTILS_LINKER_LD=3Dy >> > =A0CT_BINUTILS_LINKERS_LIST=3D"ld" >> > =A0CT_BINUTILS_LINKER_DEFAULT=3D"bfd" >> > -# CT_BINUTILS_PLUGINS is not set >> > =A0CT_BINUTILS_EXTRA_CONFIG_ARRAY=3D"" >> > =A0# CT_BINUTILS_FOR_TARGET is not set >> > >> > @@ -348,18 +351,19 @@ CT_CC_GCC_mips_synci=3Dm >> > =A0# C-library >> > =A0# >> > =A0CT_LIBC=3D"eglibc" >> > -CT_LIBC_VERSION=3D"2_13" >> > +CT_LIBC_VERSION=3D"2_14" >> > =A0CT_LIBC_eglibc=3Dy >> > =A0# CT_LIBC_glibc is not set >> > =A0# CT_LIBC_uClibc is not set >> > =A0CT_LIBC_eglibc_AVAILABLE=3Dy >> > -# CT_LIBC_EGLIBC_V_2_14 is not set >> > -CT_LIBC_EGLIBC_V_2_13=3Dy >> > +CT_LIBC_EGLIBC_V_2_14=3Dy >> > +# CT_LIBC_EGLIBC_V_2_13 is not set >> > =A0# CT_LIBC_EGLIBC_V_2_12 is not set >> > =A0# CT_LIBC_EGLIBC_V_2_11 is not set >> > =A0# CT_LIBC_EGLIBC_V_2_10 is not set >> > =A0# CT_LIBC_EGLIBC_V_2_9 is not set >> > =A0# CT_LIBC_EGLIBC_V_TRUNK is not set >> > +CT_LIBC_EGLIBC_2_14_or_later=3Dy >> > =A0CT_LIBC_EGLIBC_2_13_or_later=3Dy >> > =A0CT_LIBC_EGLIBC_2_12_or_later=3Dy >> > =A0CT_LIBC_EGLIBC_2_11_or_later=3Dy >> > @@ -427,7 +431,7 @@ CT_LIBC_ADDONS_LIST=3D"" >> > =A0# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set >> > =A0CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=3Dy >> > =A0# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set >> > -CT_LIBC_GLIBC_MIN_KERNEL=3D"2.6.38.8" >> > +CT_LIBC_GLIBC_MIN_KERNEL=3D"3.0.4" >> > >> > =A0# >> > =A0# Debug facilities >> > @@ -436,11 +440,10 @@ CT_LIBC_GLIBC_MIN_KERNEL=3D"2.6.38.8" >> > =A0# CT_DEBUG_duma is not set >> > =A0CT_DEBUG_gdb=3Dy >> > =A0CT_GDB_CROSS=3Dy >> > -# CT_GDB_CROSS_STATIC is not set >> > -CT_GDB_CROSS_PYTHON=3Dy >> > +CT_GDB_CROSS_STATIC=3Dy >> > =A0# CT_GDB_NATIVE is not set >> > =A0CT_GDB_GDBSERVER=3Dy >> > -# CT_GDB_GDBSERVER_STATIC is not set >> > +CT_GDB_GDBSERVER_STATIC=3Dy >> > >> > =A0# >> > =A0# gdb version >> > @@ -474,12 +477,12 @@ CT_GMP_V_5_0_1=3Dy >> > =A0# CT_GMP_V_4_3_1 is not set >> > =A0# CT_GMP_V_4_3_0 is not set >> > =A0CT_GMP_VERSION=3D"5.0.1" >> > -# CT_MPFR_V_3_0_1 is not set >> > -CT_MPFR_V_3_0_0=3Dy >> > +CT_MPFR_V_3_0_1=3Dy >> > +# CT_MPFR_V_3_0_0 is not set >> > =A0# CT_MPFR_V_2_4_2 is not set >> > =A0# CT_MPFR_V_2_4_1 is not set >> > =A0# CT_MPFR_V_2_4_0 is not set >> > -CT_MPFR_VERSION=3D"3.0.0" >> > +CT_MPFR_VERSION=3D"3.0.1" >> >> >> why does this patch changes the defaults for this combo to generate >> static toolchain ? >> additionally it enables CT debug hooks which I think should be disabled = too > > Khem, you are right; I noticed those after my initial reply. > > Antony, the debug hook CT_DEBUG_CT must be disabled in a sample. > > And while we are at it, any reason you force CT_PARALLEL_JOBS=3D1 ? This > means parallel build is disabled, and will take a looong time to build. > If the build breaks with // builds, it should be fixed. > > I consider the static toolchain to be an advanced setting, as not all > systems have the necessary stuff installed by default. So it should not > be set in a sample. Yann, Khem! Thans for your review. I shall fix the configuration and resend hg patches in a few days. --=20 Best regards, =A0 Antony Pavlov -- For unsubscribe information see http://sourceware.org/lists.html#faq