From - Tue May 31 07:36:10 2005 X-UIDL: 4ea81ccf4acd8a0f X-Mozilla-Status: 0003 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 68196 invoked by uid 3177); 31 May 2005 14:05:57 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 68192 invoked from network); 31 May 2005 14:05:56 -0000 Received: from smtp07.dti.ne.jp (202.216.228.143) by vroo.pair.com with SMTP; 31 May 2005 14:05:56 -0000 Received: from [127.0.0.1] (bh169.opt2.point.ne.jp [210.249.144.169]) by smtp07.dti.ne.jp (3.10s) with ESMTP AUTH id j4VE5qFO014044 for ; Tue, 31 May 2005 23:05:55 +0900 (JST) Message-ID: <429C6F40.9090000@saturn.dti.ne.jp> Date: Tue, 31 May 2005 23:05:52 +0900 From: akio idehara User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: dank@kegel.com Subject: [PATCH] crosstool rpmbuild error Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Spam-Status: No, hits=-1.5 required=5.0 tests=OPT_HEADER,BAYES_00,FROM_ENDS_IN_NUMS X-Spam-Flag: NO X-Spam-Level: Hi, Dan. crosstool is good tool. But I had problem with building powerpc-XXXX rpm package. ~ So I made patch. Thanks -- Akio IDEHARA =========================== diff -r -c crosstool/crosstool.spec.in crosstool_edit/crosstool.spec.in *** crosstool/crosstool.spec.in 2005-05-15 01:41:20.000000000 +0900 --- crosstool_edit/crosstool.spec.in 2005-05-31 22:37:57.000000000 +0900 *************** *** 147,152 **** --- 147,154 ---- # fix embedded paths so they'll work outside the buildroot for CPU in %{CPUS}; do if test $CPU = dummy; then continue; fi + # Fix up broken CPU name (RPM does not allow dashes in variable names) + CPU=`echo $CPU | sed 's/_/-/;s/x86-64/x86_64/'` TARGET=`cat $CPU.dat | grep TARGET= | sed 's/.*=//'` REALPREFIX=%{RESULT_TOP}/%{TOOLCOMBO}/$TARGET From - Thu Jun 2 17:47:07 2005 X-UIDL: 4a1511780267e217 X-Mozilla-Status: 0013 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 17367 invoked by uid 3177); 2 Jun 2005 18:02:31 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 17364 invoked from network); 2 Jun 2005 18:02:31 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 2 Jun 2005 18:02:31 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 97AA492D44 for ; Thu, 2 Jun 2005 14:02:31 -0400 (EDT) Received: from email.thorlo.com (nsc216.176.238-3.newsouth.net [216.176.238.3]) by mailwash1.pair.com (Postfix) with ESMTP id 52E6492D3B for ; Thu, 2 Jun 2005 14:02:31 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: crosstool question Date: Thu, 2 Jun 2005 14:02:29 -0400 Message-ID: <08618011ED5B9F45AD79AE8FA090C87694C061@email.thorlo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: crosstool question Thread-Index: AcVnNDzuvoUri9EwSd+p7IMItIyhUQAZ6eFg From: "Mark Ford" To: "Dan Kegel" Hi Dan, Thanks for the reply. I went back to your how-to page and downloaded the tag.gz file directly from there instead of doing the wget. On the page, the instructions state: wget http://kegel.com/crosstool/crosstool-0.29.tar.gz tar -xzvf crosstool-0.29.tar.gz cd crosstool-0.29 But the download links to crosstool-0.35 (instead of 0.29) which is what I downloaded this time. This seems to have made a difference. I do have one more question for you if you have a moment. I am trying to create a setup for developing for a legacy 68k system that will not have an O/S. When everything is complete, can this toolchain produce a Motorola Hex output file directly (to burn to ROM or Flash) or will I need to create another utility to convert the elf/coff file(s) to a hex file? Thanks again for your work; I cannot begin to tell you how much I appreciate it!!!!! Mark From - Mon Jun 27 10:43:08 2005 X-UIDL: 0d5c1cc1f6102535 X-Mozilla-Status: 0011 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 77053 invoked by uid 3177); 27 Jun 2005 17:43:27 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 77050 invoked from network); 27 Jun 2005 17:43:27 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 27 Jun 2005 17:43:27 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id AC8C892DAE for ; Mon, 27 Jun 2005 13:43:27 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 71F9192DA5 for ; Mon, 27 Jun 2005 13:43:27 -0400 (EDT) Received: (qmail 25837 invoked by alias); 27 Jun 2005 17:43:26 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 25825 invoked by uid 22791); 27 Jun 2005 17:43:21 -0000 Received: from saturn.billgatliff.com (HELO saturn.billgatliff.com) (209.251.101.200) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 27 Jun 2005 17:43:21 +0000 Received: from [192.168.2.10] (metarb1-1-adsl-106.mtco.com [::ffff:72.34.6.107]) (AUTH: LOGIN bgat, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by saturn.billgatliff.com with esmtp; Mon, 27 Jun 2005 12:46:02 -0500 id 00A2C58C.42C03B5B.00006F11 Message-ID: <42C03AA7.1020706@billgatliff.com> Date: Mon, 27 Jun 2005 12:43:03 -0500 From: Bill Gatliff User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_saturn-28433-1119894363-0001-2" To: Allan Clark CC: Marius Groeger , crossgcc Subject: Re: crosstool OS X host -> i686/linux target ? References: <42BE2153.2080408@billgatliff.com> <42BECB64.1040602@chickenandporn.com> In-Reply-To: <42BECB64.1040602@chickenandporn.com> --=_saturn-28433-1119894363-0001-2 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Allan: Allan Clark wrote: > I made some changes for crosstool to address these, and I thought I > sent them to Dan, but if they aren't there, then there's a > disconnect. I still owe some Sendmail changes before I do anything > more.. > > The as and ld version checks can be skipped; my patch basically causes > the builds to skip these checks. Attached is my attempt at the same thing. Seems to work for me. b.g. -- Bill Gatliff bgat@billgatliff.com So what part of make clean all install do you not understand? --=_saturn-28433-1119894363-0001-2 Content-Type: text/x-patch; name="glibc-ignore-as-ld-versions-patch.diff"; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="glibc-ignore-as-ld-versions-patch.diff" This simple patch tells the glibc configuration machinery to ignore version information reported by GNU as, ld and gcc. It seems as though OS X versions of these tools either don't respond to --version, or respond in a way that confuses the configure script. An obvious bug in this patch is that it is a gross hack that causes the configure script to ignore version information on ALL build hosts, not just OS X. So unless you know your toolchain versions are ok a-priori, do not install this patch on any host other than OS X. b.g. Bill Gatliff --- configure.bgat.orig 2005-06-27 12:34:06.456802377 -0500 +++ configure 2005-06-27 12:34:06.429807756 -0500 @@ -3916,10 +3916,10 @@ echo $ECHO_N "checking version of $AS... $ECHO_C" >&6 ac_prog_version=`$AS -v &1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + '') ac_prog_version="v. ?.??, bad (ignored)"; ac_verc_fail=no;; 2.1[3-9]*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + *) ac_prog_version="$ac_prog_version, bad (ignored)"; ac_verc_fail=no;; esac echo "$as_me:$LINENO: result: $ac_prog_version" >&5 @@ -3977,10 +3977,10 @@ echo $ECHO_N "checking version of $LD... $ECHO_C" >&6 ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + '') ac_prog_version="v. ?.??, bad (ignored)"; ac_verc_fail=no;; 2.1[3-9]*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + *) ac_prog_version="$ac_prog_version, bad (ignored)"; ac_verc_fail=no;; esac echo "$as_me:$LINENO: result: $ac_prog_version" >&5 @@ -4092,10 +4092,10 @@ echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'` case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + '') ac_prog_version="v. ?.??, bad (ignored)"; ac_verc_fail=no;; 3.[2-9]* | 4.[0-9]* ) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + *) ac_prog_version="$ac_prog_version, bad (ignored)"; ac_verc_fail=no;; esac echo "$as_me:$LINENO: result: $ac_prog_version" >&5 --=_saturn-28433-1119894363-0001-2 Content-Type: text/plain; charset=us-ascii ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com --=_saturn-28433-1119894363-0001-2-- From - Wed Jun 29 18:35:58 2005 X-UIDL: b83c3845cebb092d X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 84292 invoked by uid 3177); 30 Jun 2005 01:13:05 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 84289 invoked from network); 30 Jun 2005 01:13:05 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 30 Jun 2005 01:13:05 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 6DF1792D53 for ; Wed, 29 Jun 2005 21:13:05 -0400 (EDT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mailwash1.pair.com (Postfix) with ESMTP id C41A892D4C for ; Wed, 29 Jun 2005 21:13:04 -0400 (EDT) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j5U1D3QB014196; Thu, 30 Jun 2005 11:13:03 +1000 Received: from tigers-lfs.local (ppp2D28.dsl.pacific.net.au [202.7.74.40]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j5U1D1sE013354; Thu, 30 Jun 2005 11:13:01 +1000 Received: from gws by tigers-lfs.local with local (Exim 4.22) id 1Dnnbt-0003B2-RI; Thu, 30 Jun 2005 11:12:57 +1000 Date: Thu, 30 Jun 2005 11:12:57 +1000 From: Greg Schafer To: Daniel Kegel Cc: Khem Raj , Leon Woestenberg , crossgcc@sources.redhat.com Subject: [PATCH] Re: crosstool-0.35 w/ NPTL patch running demo-i686-nptl.sh fails building libc Message-ID: <20050630011257.GA12190@tigers-lfs.nsw.bigpond.net.au> References: <42C31F82.3080208@mailcan.com> <42C336DE.3090305@mvista.com> <42C337C3.6000602@kegel.com> <20050630003438.GA11987@tigers-lfs.nsw.bigpond.net.au> <42C33FAB.8030904@kegel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <42C33FAB.8030904@kegel.com> User-Agent: Mutt/1.4.1i --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 29, 2005 at 05:41:15PM -0700, Daniel Kegel wrote: > Patches gratefully accepted any time. Try this on for size. Of course it's completely untested... NOTE, I've only ever studied Crosstool.. never actually run it :-) You'd also want to drop the Glibc `make-install-lib-all.patch'. Regards Greg --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="crosstool.patch" diff -Naur crosstool-0.35.orig/crosstool.sh crosstool-0.35/crosstool.sh --- crosstool-0.35.orig/crosstool.sh 2005-05-20 16:43:47.000000000 +1000 +++ crosstool-0.35/crosstool.sh 2005-06-30 11:07:56.000000000 +1000 @@ -386,6 +386,10 @@ test -x $CORE_PREFIX/bin/${TARGET}-gcc${EXEEXT} || abort Build failed during gcc-core +# A libgcc_eh.a symlink is needed to satisfy the upcoming Glibc build. Please +# see http://sources.redhat.com/ml/crossgcc/2005-06/msg00070.html +ln -s libgcc.a `$TARGET-gcc -print-search-dirs | head -n 1 | awk '{ print $2 }'`libgcc_eh.a + #--------------------------------------------------------- echo Build glibc and linuxthreads @@ -420,29 +424,14 @@ --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR fi -if grep -l '^install-lib-all:' ${GLIBC_DIR}/Makerules > /dev/null; then - # nptl-era glibc. - # If the install-lib-all target (which is added by our make-install-lib-all.patch) is present, - # it means we're building glibc-2.3.3 or later, and we can't build programs yet, - # as they require libeh, which won't be installed until full build of gcc - GLIBC_INITIAL_BUILD_RULE=lib - GLIBC_INITIAL_INSTALL_RULE="install-lib-all install-headers" - GLIBC_INSTALL_APPS_LATER=yes -else - # classic glibc. - # We can build and install everything with the bootstrap compiler. - GLIBC_INITIAL_BUILD_RULE=all - GLIBC_INITIAL_INSTALL_RULE=install - GLIBC_INSTALL_APPS_LATER=no -fi # If this fails with an error like this: # ... linux/autoconf.h: No such file or directory # then you need to set the KERNELCONFIG variable to point to a .config file for this arch. # The following architectures are known to need kernel .config: alpha, arm, ia64, s390, sh, sparc # Note: LD and RANLIB needed by glibc-2.1.3's c_stub directory, at least on macosx # No need for PARALLELMFLAGS here, Makefile already reads this environment variable -make LD=${TARGET}-ld RANLIB=${TARGET}-ranlib $GLIBC_INITIAL_BUILD_RULE -make install_root=${SYSROOT} $GLIBC_SYSROOT_ARG $GLIBC_INITIAL_INSTALL_RULE +make LD=${TARGET}-ld RANLIB=${TARGET}-ranlib +make install_root=${SYSROOT} $GLIBC_SYSROOT_ARG # This doesn't seem to work when building a crosscompiler, # as it tries to execute localedef using the just-built ld.so!? @@ -550,18 +539,6 @@ test -x ${PREFIX}/bin/${TARGET}-gcc${EXEEXT} || Build failed during final gcc -# Finally, build and install glibc programs, now that libeh (if any) is installed -# Don't do this unless needed, 'cause it causes glibc-2.{1.3,2.2} to fail here with -# .../gcc-3.4.1-glibc-2.1.3/build-glibc/libc.so.6: undefined reference to `__deregister_frame_info' -# .../gcc-3.4.1-glibc-2.1.3/build-glibc/libc.so.6: undefined reference to `__register_frame_info' -if test x$GLIBC_INSTALL_APPS_LATER = xyes; -then - cd build-glibc - make LD=${TARGET}-ld RANLIB=${TARGET}-ranlib - # note: should do full install and then fix linker scripts, but this is faster - make install_root=${SYSROOT} $GLIBC_SYSROOT_ARG install-bin install-rootsbin install-sbin install-data install-others -fi - # Create masquerade directory $PREFIX/distributed/bin for distcc # Relies on $EXEEXT being set to .exe if the compilers run on cygwin export EXEEXT --M9NhX3UHpAaciwkO-- From - Wed May 18 15:46:11 2005 X-UIDL: 8f50ee2355aee15d X-Mozilla-Status: 1003 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 95167 invoked by uid 3177); 18 May 2005 22:47:59 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 95164 invoked from network); 18 May 2005 22:47:59 -0000 Received: from sourceware.org (12.107.209.250) by vroo.pair.com with SMTP; 18 May 2005 22:47:59 -0000 Received: (qmail 7354 invoked by alias); 18 May 2005 22:47:59 -0000 Date: 18 May 2005 22:47:59 -0000 Message-ID: <20050518224759.7352.qmail@sourceware.org> From: "hubicka at ucw dot cz" To: dank@kegel.com In-Reply-To: <20050407215701.20815.dank@kegel.com> References: <20050407215701.20815.dank@kegel.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug gcov/profile/20815] -fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'." X-Bugzilla-Reason: Reporter X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 X-Spam-Flag: NO X-Spam-Level: ------- Additional Comments From hubicka at ucw dot cz 2005-05-18 22:47 ------- Subject: Re: [Bug gcov/profile/20815] -fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'." > > ------- Additional Comments From hubicka at ucw dot cz 2005-05-18 22:22 ------- > Subject: Re: [Bug gcov/profile/20815] -fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'." > > coverage_checksum_string already knows a bit about ignoring random seed > produced mess. It looks like this needs to be extended somehow to > handle namespaces too... This seems to solve the missmatch. Would it be possible to test it on bigger testcase and if it works distile a testcase that don't use file IO so it is more suitable for gcc regtesting? Index: coverage.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/coverage.c,v retrieving revision 1.6.2.12.2.12 diff -c -3 -p -r1.6.2.12.2.12 coverage.c *** coverage.c 18 May 2005 07:37:31 -0000 1.6.2.12.2.12 --- coverage.c 18 May 2005 22:45:36 -0000 *************** coverage_checksum_string (unsigned chksu *** 471,505 **** as the checksums are used only for sanity checking. */ for (i = 0; string[i]; i++) { if (!strncmp (string + i, "_GLOBAL__", 9)) ! for (i = i + 9; string[i]; i++) ! if (string[i]=='_') ! { ! int y; ! unsigned seed; ! int scan; ! ! for (y = 1; y < 9; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 9 || string[i + 9] != '_') ! continue; ! for (y = 10; y < 18; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 18) ! continue; ! scan = sscanf (string + i + 10, "%X", &seed); ! gcc_assert (scan); ! if (seed != crc32_string (0, flag_random_seed)) ! continue; ! string = dup = xstrdup (string); ! for (y = 10; y < 18; y++) ! dup[i + y] = '0'; ! break; ! } break; } --- 471,511 ---- as the checksums are used only for sanity checking. */ for (i = 0; string[i]; i++) { + int offset = 0; + if (!strncmp (string + i, "_GLOBAL__N_", 11)) + offset = 11; if (!strncmp (string + i, "_GLOBAL__", 9)) ! offset = 9; ! ! /* C++ namespaces do have scheme: ! _GLOBAL__N___functionname ! since filename might contain extra underscores there seems ! to be no better chance then walk all possible offsets looking ! for magicnuber. */ ! if (offset) ! for (;string[offset]; offset++) ! for (i = i + offset; string[i]; i++) ! if (string[i]=='_') ! { ! int y; ! ! for (y = 1; y < 9; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 9 || string[i + 9] != '_') ! continue; ! for (y = 10; y < 18; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 18) ! continue; ! if (!dup) ! string = dup = xstrdup (string); ! for (y = 10; y < 18; y++) ! dup[i + y] = '0'; ! } break; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20815 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. From - Fri Jul 1 07:05:28 2005 X-UIDL: 0f4617fbd8000030 X-Mozilla-Status: 0011 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 20626 invoked by uid 3177); 1 Jul 2005 14:05:30 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 20623 invoked from network); 1 Jul 2005 14:05:30 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 1 Jul 2005 14:05:30 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 4D3EB92D3F for ; Fri, 1 Jul 2005 10:05:30 -0400 (EDT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mailwash1.pair.com (Postfix) with ESMTP id 11F9092D34 for ; Fri, 1 Jul 2005 10:05:30 -0400 (EDT) Received: by wproxy.gmail.com with SMTP id i24so304599wra for ; Fri, 01 Jul 2005 07:05:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Tru24KHFgu2ktK0e/vUMdXDlr95Lo3gHYTskLjlYsssTzBZ7/0KxXx0Rfb6PSQEyCZTVsBVi6xbRp3btoCw9cnNLKovpbXHTeL4E0FHD4yH+CgG8lvyAI82Wqsumufpg6S2GJoE+edW391s1DlZUrhwlS3EPn6/fQWaQgv3I26A= Received: by 10.54.115.4 with SMTP id n4mr1571997wrc; Fri, 01 Jul 2005 07:05:29 -0700 (PDT) Received: by 10.54.101.13 with HTTP; Fri, 1 Jul 2005 07:05:28 -0700 (PDT) Message-ID: Date: Fri, 1 Jul 2005 23:35:28 +0930 From: Paul Schulz Reply-To: paul@mawsonlakes.org To: Dan Kegel Subject: Re: crosstool-0.36 coming up soonish Cc: crossgcc In-Reply-To: <42C4E300.5050204@kegel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5422_29488021.1120226728902" References: <42C4E300.5050204@kegel.com> ------=_Part_5422_29488021.1120226728902 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dan, Please find attached a patch to 'crosstools-0.35' which stores the build configuration variables in the=20 resulting directory (eg. for future reference). during the build process. eg. echo "TARGET=3D$TARGET" > $PREFIX/configuration Cheers, Paul On 7/1/05, Dan Kegel wrote: > I'm going to try to use the long weekend to > put out crosstool-0.36. The list of changes > in my tree so far is below. I also plan to apply one > of the gdb contrib patches, and update gcc-4.0.0 to binutils-2.16.1. >=20 > If you have anything else that's tested, > ready to go, and suitable for mainline, > get it to me in the next day or so and I'll slip it in > before I start the regression test builds. >=20 > crosstool.sh: > * fixed bug in GCC_CORE_DIR; it was using local ar, as, and ld :-( > * fixed bug building gcj-4.0.0 (thanks Tim Hayman) >=20 > crosstool.spec.in: > * don't strip executables; let fedora's buildrpm do that > (it splits the debug info off into separate debug info rpms) > * fix install scriptlet bug for ppc and x86_64 (thanks to akio ideha= ra) >=20 > gcc: > * gcc-4.0.0/pr21951.patch fixes problem with -fno-exceptions > * copied applicable patches from patches/gcc-3.4.3 to patches/gcc-3.= 4.4 > (tested by Alice Corbin on Arm) >=20 > glibc: > * added {i686,x86_64}-static.dat to demo --enable-static-nss > * added glibc-2.3.5-fix-pr631.patch to fix problem building > glibc-2.3.5 with --enable-static-nss > See http://sources.redhat.com/bugzilla/show_bug.cgi?id=3D631 >=20 > clean.sh: > * config.guess was not properly marked executable, which caused > strange configure failures. >=20 > doc: > * updated crosstool-howto.html to reflect new rpm build > and new regression test build >=20 >=20 >=20 > -- > Trying to get a job as a c++ developer? See http://kegel.com/academy/get= ting-hired.html >=20 > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossG= CC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.c= om >=20 > ------=_Part_5422_29488021.1120226728902 Content-Type: application/octet-stream; name="patch-crosstool-0.35-status" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-crosstool-0.35-status" SW5kZXg6IGNyb3NzdG9vbC0wLjM1LndvcmsvYWxsLnNoCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGNyb3NzdG9v bC0wLjM1Lndvcmsub3JpZy9hbGwuc2gJMjAwNS0wNy0wMSAyMTozMzo1Ni40MzE2MjU5NDQgKzA5 MzAKKysrIGNyb3NzdG9vbC0wLjM1LndvcmsvYWxsLnNoCTIwMDUtMDctMDEgMjE6MzQ6MTguNDg1 MjczMjgwICswOTMwCkBAIC0xMTQsNiArMTE0LDIxIEBACiAgICAgIyBCdWlsZAogICAgIHJtICAt cmYgICRQUkVGSVgKICAgICBta2RpciAtcCAkUFJFRklYCisKKyAgICAjIE91dHB1dCBjb25maWd1 cmF0aW9uIG9wdGlvbnMuCisgICAgZWNobyAiVEFSR0VUPSRUQVJHRVQiID4gJFBSRUZJWC9jb25m aWd1cmF0aW9uCisgICAgZWNobyAiVEFSR0VUX0NGTEFHUz0kVEFSR0VUX0NGTEFHUyIgPj4gJFBS RUZJWC9jb25maWd1cmF0aW9uCisgICAgZWNobyAiQklOVVRJTFNfRElSPSRCSU5VVElMU19ESVIi ID4+ICRQUkVGSVgvY29uZmlndXJhdGlvbgorICAgIGVjaG8gIkdDQ19ESVI9JEdDQ19ESVIiID4+ ICRQUkVGSVgvY29uZmlndXJhdGlvbgorICAgIGVjaG8gIkNZR1dJTl9ESVI9JENZR1dJTl9ESVIi ID4+ICRQUkVGSVgvY29uZmlndXJhdGlvbgorICAgIGVjaG8gIkdMSUJDX0RJUj0kR0xJQkNfRElS IiA+PiAkUFJFRklYL2NvbmZpZ3VyYXRpb24KKyAgICBlY2hvICJMSU5VWF9ESVI9JExJTlVYX0RJ UiIgPj4gJFBSRUZJWC9jb25maWd1cmF0aW9uCisgICAgZWNobyAiTElOVVhfU0FOSVRJU0VEX0hF QURFUl9ESVI9JExJTlVYX1NBTklUSVNFRF9IRUFERVJfRElSIiA+PiAkUFJFRklYL2NvbmZpZ3Vy YXRpb24KKyAgICBlY2hvICJERUpBR05VPSRERUpBR05VIiA+PiAkUFJFRklYL2NvbmZpZ3VyYXRp b24KKyAgICBlY2hvICJHQ0NfRVhUUkFfQ09ORklHPSRHQ0NfRVhUUkFfQ09ORklHIiA+PiAkUFJF RklYL2NvbmZpZ3VyYXRpb24KKyAgICBlY2hvICJHTElCQ19BRERPTl9PUFRJT05TPSRHTElCQ19B RERPTl9PUFRJT05TIiA+PiAkUFJFRklYL2NvbmZpZ3VyYXRpb24KKyAgICBlY2hvICJLRVJORUxD T05GSUc9JEtFUk5FTENPTkZJRyIgPj4gJFBSRUZJWC9jb25maWd1cmF0aW9uCisKICAgICBta2Rp ciAtcCAkQlVJTERfRElSCiAgICAgY2QgJEJVSUxEX0RJUgogICAgIGlmIHRlc3QgIiR7Q1lHV0lO X0RJUn0iID0gIiI7IHRoZW4K ------=_Part_5422_29488021.1120226728902-- From - Thu Jun 16 22:00:48 2005 X-UIDL: 339d4479dde0bf8a X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 5506 invoked by uid 3177); 17 Jun 2005 04:02:53 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 5503 invoked from network); 17 Jun 2005 04:02:53 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 17 Jun 2005 04:02:53 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 730A292D39 for ; Fri, 17 Jun 2005 00:02:53 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 3303492D33 for ; Fri, 17 Jun 2005 00:02:53 -0400 (EDT) Received: (qmail 11574 invoked by alias); 17 Jun 2005 04:02:20 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 11311 invoked by uid 22791); 17 Jun 2005 04:01:30 -0000 Received: from eth13.com-link.com (HELO real.realitydiluted.com) (208.242.241.164) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 17 Jun 2005 04:01:30 +0000 Received: from localhost ([127.0.0.1]) by real.realitydiluted.com with esmtp (Exim 4.50 #1 (Debian)) id 1Dj76x-0001ag-DE for ; Thu, 16 Jun 2005 22:01:40 -0500 Message-ID: <42B24B16.9000004@realitydiluted.com> Date: Thu, 16 Jun 2005 23:01:26 -0500 From: "Steven J. Hill" User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) MIME-Version: 1.0 To: crosstool Subject: [PATCH] Updated GDB patch for 0.35... Content-Type: multipart/mixed; boundary="------------060807010903010306050106" --------------060807010903010306050106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Greetings. Attached is an update for the GDB patch that works with the latest crosstool-0.35 and GDB-6.3 release. Tested for MIPS target only. -Steve --------------060807010903010306050106 Content-Type: text/x-patch; name="crosstool-0.35-gdb.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="crosstool-0.35-gdb.patch" diff -urN crosstool-0.35/all.sh crosstool-0.35-patched/all.sh --- crosstool-0.35/all.sh 2005-05-08 00:50:54.000000000 -0500 +++ crosstool-0.35-patched/all.sh 2005-06-16 22:39:35.000000000 -0500 @@ -87,6 +87,9 @@ --builduserland|-builduserland) opt_builduserland=1 ;; + --buildgdb|-buildgdb) + opt_buildgdb=1 + ;; --notest|-notest) opt_no_test=1 ;; @@ -129,6 +132,10 @@ # Build a Linux kernel to see if we can sh testlinux.sh fi +if test "$opt_buildgdb" = "1"; then + # Build gdb + sh gdb.sh +fi if test "$opt_builduserland" = "1"; then # Build /bin/sh and any other non-toolchain things configured in ptx.config diff -urN crosstool-0.35/gdb.sh crosstool-0.35-patched/gdb.sh --- crosstool-0.35/gdb.sh 1969-12-31 18:00:00.000000000 -0600 +++ crosstool-0.35-patched/gdb.sh 2005-06-16 22:58:18.000000000 -0500 @@ -0,0 +1,35 @@ +#! /bin/sh + +abort() { + echo $@ + exec false +} + +test -z "$GDB_DIR" && abort "Please set GDB_DIR" + +set -ex + +rm -rf $BUILD_DIR/build-gdb +mkdir $BUILD_DIR/build-gdb +cd $BUILD_DIR/build-gdb +../$GDB_DIR/configure --prefix=$PREFIX --target=$TARGET --srcdir=$BUILD_DIR/$GDB_DIR +make $PARALLELMFLAGS all +make install + +if test -z "$USE_SYSROOT"; then + SYSROOT=$PREFIX/$TARGET +else + SYSROOT=$PREFIX/target +fi + +rm -rf $BUILD_DIR/build-gdbserver +mkdir $BUILD_DIR/build-gdbserver +cd $BUILD_DIR/build-gdbserver +CC=$PREFIX/bin/$TARGET-gcc ../$GDB_DIR/gdb/gdbserver/configure --prefix=$SYSROOT --host=$TARGET --srcdir=$BUILD_DIR/$GDB_DIR/gdb/gdbserver +make $PARALLELMFLAGS all +make install + +# GDB install leaves some cruft... +rm -f $PREFIX/lib/libiberty.a +rm -f $PREFIX/lib/libmmalloc.a +rm -f $PREFIX/lib/lib${TARGET}-sim.a diff -urN crosstool-0.35/getandpatch.sh crosstool-0.35-patched/getandpatch.sh --- crosstool-0.35/getandpatch.sh 2005-05-19 12:58:29.000000000 -0500 +++ crosstool-0.35-patched/getandpatch.sh 2005-06-16 22:39:35.000000000 -0500 @@ -181,6 +181,12 @@ # Download, unpack, and patch all the needed source tarballs, +if test -n "$GDB_DIR" ; then + getUnpackAndPatch \ + ftp://sources.redhat.com/pub/gdb/old-releases/$GDB_DIR.tar.bz2 \ + ftp://sources.redhat.com/pub/gdb/releases/$GDB_DIR.tar.bz2 +fi + # Grab it if we want to build userland... if test -n "$PTXDIST_DIR" ; then getUnpackAndPatch http://www.kegel.com/crosstool/$PTXDIST_DIR.tar.gz --------------060807010903010306050106 Content-Type: text/plain; charset=us-ascii ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com --------------060807010903010306050106-- From - Tue Jul 5 07:17:17 2005 X-UIDL: c7efa8a0f074c210 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 78363 invoked by uid 3177); 5 Jul 2005 08:05:45 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 78360 invoked from network); 5 Jul 2005 08:05:45 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 5 Jul 2005 08:05:45 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 45FEA92D66 for ; Tue, 5 Jul 2005 04:05:45 -0400 (EDT) Received: from deliver-1.mx.triera.net (deliver-1.mx.triera.net [213.161.0.31]) by mailwash1.pair.com (Postfix) with ESMTP id 0B63992D65 for ; Tue, 5 Jul 2005 04:05:45 -0400 (EDT) Received: from localhost (in-2.mx.triera.net [213.161.0.26]) by deliver-1.mx.triera.net (Postfix) with ESMTP id 52455BFEB; Tue, 5 Jul 2005 10:05:39 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-2.mx.triera.net (Postfix) with SMTP id 63AD51BC089; Tue, 5 Jul 2005 10:05:40 +0200 (CEST) Received: from [172.18.1.53] (unknown [213.161.20.162]) by smtp.triera.net (Postfix) with ESMTP id D363D1A18AA; Tue, 5 Jul 2005 10:05:40 +0200 (CEST) Subject: MIPS(el) Toolchain From: Matej Kupljen To: dank@kegel.com Cc: crossgcc@sources.redhat.com Content-Type: text/plain Date: Tue, 05 Jul 2005 10:05:37 +0200 Message-Id: <1120550737.28563.34.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Triera AV Service Hi Dan I am using crosstool to build ARM (hard and soft float), PPC and recently MIPS toolchain. It worked great for both the ARM and PPC, but failed with the MIPS. I found this post by TheNop: http://sources.redhat.com/ml/crossgcc/2005-05/msg00121.html I followed TheNop's suggestions and I was able to build gcc-3.3.5 and glibc-2.3.5 with kernel 2.4.26 for mips and mipsel. However those patches do not appear in official crosstool. Do you plan to use the patches? This way maybe the build matrix can be updated, now it just red and yellow. :-( BR, Matej From - Tue Jul 5 23:10:24 2005 X-UIDL: 74835b9cfed63d96 X-Mozilla-Status: 0011 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 75763 invoked by uid 3177); 6 Jul 2005 06:12:07 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 75760 invoked from network); 6 Jul 2005 06:12:07 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Jul 2005 06:12:07 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 9730A92D4A for ; Wed, 6 Jul 2005 02:12:07 -0400 (EDT) Received: from deliver-1.mx.triera.net (deliver-1.mx.triera.net [213.161.0.31]) by mailwash1.pair.com (Postfix) with ESMTP id 1905D92D48 for ; Wed, 6 Jul 2005 02:12:07 -0400 (EDT) Received: from localhost (in-1.mx.triera.net [213.161.0.25]) by deliver-1.mx.triera.net (Postfix) with ESMTP id 06702C05E; Wed, 6 Jul 2005 08:12:02 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-1.mx.triera.net (Postfix) with SMTP id AC5B91BC08A; Wed, 6 Jul 2005 08:12:03 +0200 (CEST) Received: from [172.18.1.53] (unknown [213.161.20.162]) by smtp.triera.net (Postfix) with ESMTP id 1B9BB1A18A9; Wed, 6 Jul 2005 08:12:02 +0200 (CEST) Subject: Re: MIPS(el) Toolchain From: Matej Kupljen To: Daniel Kegel Cc: crossgcc@sources.redhat.com In-Reply-To: <42CB0626.6010206@kegel.com> References: <1120550737.28563.34.camel@localhost.localdomain> <42CB0626.6010206@kegel.com> Content-Type: multipart/mixed; boundary="=-Rt0btvmjAZoMXxYa7RLI" Date: Wed, 06 Jul 2005 08:11:55 +0200 Message-Id: <1120630315.21684.8.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 X-Virus-Scanned: Triera AV Service --=-Rt0btvmjAZoMXxYa7RLI Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi > > I followed TheNop's suggestions and I was able to build > > gcc-3.3.5 and glibc-2.3.5 with kernel 2.4.26 for mips and > > mipsel. However those patches do not appear in official crosstool. > > > > Do you plan to use the patches? > > This way maybe the build matrix can be updated, now it just > > red and yellow. :-( > > I just added the patch from > http://sources.redhat.com/bugzilla/show_bug.cgi?id=758 > to patchs/glibc-2.3.[45]. Hopefully that's enough. > If not, let me know. No it is not :-( You have to apply one more patch to the glibc and one patch to crosstool.sh. Although they are included in the mail I have tested them with the glibc-2.3.5, modified a little and attached them to this mail for your convenience. BR, Matej --=-Rt0btvmjAZoMXxYa7RLI Content-Disposition: attachment; filename=glibc-2.3.5-mipsel-Makefile.patch Content-Type: text/x-patch; name=glibc-2.3.5-mipsel-Makefile.patch; charset=us-ascii Content-Transfer-Encoding: 7bit --- glibc-2.3.5/sysdeps/mips/mips32/Makefile 2005-06-28 08:11:09.000000000 +0200 +++ glibc-2.3.5-matej/sysdeps/mips/mips32/Makefile 2005-07-06 08:07:15.014653176 +0200 @@ -1,3 +1,7 @@ +ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),) ifeq ($(filter -mabi=32,$(CC)),) CC += -mabi=32 endif +else +CC += -D"_MIPS_SZPTR=32" +endif --=-Rt0btvmjAZoMXxYa7RLI Content-Disposition: attachment; filename=crosstool-0.35-bootstrap_gcc.patch Content-Type: text/x-patch; name=crosstool-0.35-bootstrap_gcc.patch; charset=us-ascii Content-Transfer-Encoding: 7bit --- crosstool-0.35/crosstool.sh 2005-05-20 08:43:47.000000000 +0200 +++ crosstool-0.35-matej/crosstool.sh 2005-07-01 12:15:23.000000000 +0200 @@ -330,7 +330,7 @@ # Another workaround might be to tell configure to not use any cross options to $(CC). # The real fix would be to get install-headers to not generate errlist-compat.c. libc_cv_ppc_machine=yes \ - make sysdeps/gnu/errlist.c + make CFLAGS=-DBOOTSTRAP_GCC sysdeps/gnu/errlist.c mkdir -p stdio-common # sleep for 2 seconds for benefit of filesystems with lousy time resolution, like FAT, # so make knows for sure errlist-compat.c doesn't need generating @@ -338,7 +338,7 @@ touch stdio-common/errlist-compat.c fi libc_cv_ppc_machine=yes \ - make cross-compiling=yes install_root=${SYSROOT} $GLIBC_SYSROOT_ARG install-headers + make cross-compiling=yes install_root=${SYSROOT} CFLAGS=-DBOOTSTRAP_GCC $GLIBC_SYSROOT_ARG install-headers # Two headers -- stubs.h and features.h -- aren't installed by install-headers, # so do them by hand. We can tolerate an empty stubs.h for the moment. --=-Rt0btvmjAZoMXxYa7RLI-- From - Wed Jul 6 18:20:00 2005 X-UIDL: a1eb8bf098c2d006 X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 30745 invoked by uid 3177); 6 Jul 2005 17:23:24 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 30742 invoked from network); 6 Jul 2005 17:23:24 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Jul 2005 17:23:24 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 8E65592D61 for ; Wed, 6 Jul 2005 13:23:24 -0400 (EDT) Received: from digidescorp.com (core0.db3net.net [12.161.152.2]) by mailwash1.pair.com (Postfix) with ESMTP id 35F0592D80 for ; Wed, 6 Jul 2005 13:23:24 -0400 (EDT) Received: from banana by digidescorp.com (MDaemon.PRO.v8.0.3.R) with ESMTP id md50000054832.msg for ; Wed, 06 Jul 2005 12:21:25 -0500 From: "Steven J. Magnani" To: , Subject: glibc-2.3.4-cygwin patch Date: Wed, 6 Jul 2005 12:24:01 -0500 Message-ID: <000901c5824f$83b45cf0$6ffea8c0@banana> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000A_01C58225.9ADE54F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Spam-Processed: digidescorp.com, Wed, 06 Jul 2005 12:21:25 -0500 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.254.111 X-Return-Path: steve@digidescorp.com X-MDaemon-Deliver-To: dank@kegel.com X-MDAV-Processed: digidescorp.com, Wed, 06 Jul 2005 12:21:27 -0500 This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C58225.9ADE54F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Dan, For inclusion in a future crosstool release - I forward/back-ported patches to allow glibc-2.3.4 to build under cygwin. I'm able to build an i686 toolchain with them. Thanks again for all the work you do to maintain crosstool. It's much appreciated. Regards, Steve Magnani www.digidescorp.com ------=_NextPart_000_000A_01C58225.9ADE54F0 Content-Type: application/x-zip-compressed; name="glibc-2.3.4-cygwin.ZIP" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="glibc-2.3.4-cygwin.ZIP" UEsDBBQAAgAIAKRC5DK3jNW7nQgAAEwaAAAYAAAAZ2xpYmMtMi4zLjQtY3lnd2luLnBhdGNovVh7 b9s4Ev87+hQD1EGsypRlObYT7+XQtHvtFdhti42LPeByyNISZXMjk1qSSmIc7rsfH5L8dhLs4YzW ssiZ4bznx3ykT0R6JM+6OZ0Klachl2P4zCArWaIoZ/BbIXhCpLwj7OEBC3k2hjGULCUZZSQFQTIi CEsIKA6/3d3hxBCfeWEYeo9zwmBa0jylbAYzfUKC4rAfnoOWmyxnj5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GeNks9pyQkZfWpl+kNoXdTlT2kK7S04/KtXDj2IsU9UiwiEseIc7myBjg5P CZI/InetmgZrEFuRMnlyl38SQlIZqOgdnG327VbxRnzBRmmE70h4HkUopT/YaFJyfkH5FS0voeTr 1dX6gjP+OIDyS87JfD7/f4IS+4ouOeUlLJfri8h+9Q/2zQbo8ueXi0uYj9NmQyClKbRew3SWPu9j 91q5PL3G3diFeUv+tZqw0nadNdRWn3fNIW+s60RguvZwR2AymcAwprNT/Ql8OnuypHt0XlmTRyj9 Bvqk/3S2E8H3lQ/w02IgCMcdMvshX9yR+Q+jbhMs6Uxj1OOwUYf8JCv/m415NCgxj3szlK2FrHgB r99+BF2Dl07tQvbqboz75cUQ9zCluCcwAiJNaPH0tiD9+oQ7LsBbCO4YSyKAR2lNLZzSRwbwokic ES9jafrLq0HRiez1+5uP72AWhflnL+hcwtkQ8WgqGw59L9znsslS4v+d5PYsCzyyDMJgksOvMN0w gw9x0e2BNqdlnMhXUEsBAi0AFAACAAgApELkMreM1budCAAATBoAABgAJAAAAAAAAAAgAAAAAAAA AGdsaWJjLTIuMy40LWN5Z3dpbi5wYXRjaAoAIAAAAAAAAQAYAICjTjybgMUBlK3If0+CxQHxz8kT aYHFAVBLAQItABQAAgAIAFGUZzKpTgIQwwIAADgGAAAlACQAAAAAAAAAIAAAANMIAABnbGliYy1s aW51eHRocmVhZHMtMi4zLjMtY3lnd2luLnBhdGNoCgAgAAAAAAABABgAAOHUN24jxQH6/3l/T4LF AfHPyRNpgcUBUEsFBgAAAAACAAIA4QAAANkLAAAAAA== ------=_NextPart_000_000A_01C58225.9ADE54F0-- From - Wed Jul 6 07:01:29 2005 X-UIDL: eb6ad9cd63e9360f X-Mozilla-Status: 0000 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 76471 invoked by uid 3177); 6 Jul 2005 14:06:32 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 76463 invoked from network); 6 Jul 2005 14:06:32 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Jul 2005 14:06:32 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 20DB192D32 for ; Wed, 6 Jul 2005 10:06:32 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id A990292D27 for ; Wed, 6 Jul 2005 10:06:31 -0400 (EDT) Received: (qmail 30415 invoked by alias); 6 Jul 2005 14:06:30 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 30387 invoked by uid 22791); 6 Jul 2005 14:06:23 -0000 Received: from gatekeeper.vitk.vossloh.com (HELO gatekeeper.vitk.vossloh.com) (62.154.243.10) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 06 Jul 2005 14:06:23 +0000 Received: from [198.120.73.9] (helo=KA-S-EX1.karlsfeld.vst-vossloh.com) by gatekeeper.vitk.vossloh.com with esmtp (Exim 4.22) id 1DqAXd-0007Kx-4b for crossgcc@sources.redhat.com; Wed, 06 Jul 2005 16:06:21 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: gcc 4.x series arm-softfloat-linux showstopper... Date: Wed, 6 Jul 2005 16:06:21 +0200 Message-ID: From: "Michelsen, Robert" To: X-Scan-Signature: 0291f35663f063e85bc50daee1476c3c Hello again, i've been tinkering with gcc 4.x builds for quite some time now, getting it compiled for my arm-softfloat-linux target. I want to make some tests how C++ specific optimization has improved vs. gcc 3.4.x series. I am using binutils 2.15 and 2.16.x series and gcc 4.0.0 release gcc-4.0.1-20050702 pre 4.1 snapshot. and glibc 2.3.x combinations $ ls patches/gcc-4.0.1-20050702/ gcc-3.4.0-arm-lib1asm.patch gcc-4.0-arm-bigendian.patch gcc-4.0-arm-nolibfloat.patch (and some a little quick-hack for glibc, removing some unneeded weak_aliases which stop compiler from building) I got stuck in glibc on all three 4.x versions... ---------- snip -------------- arm-softfloat-linux-gnu-gcc ../sysdeps/ieee754/dbl-64/s_erf.c -c -std=3Dgnu99 -O -Wall=20 -Winline -Wstrict-prototypes -Wwrite-strings -Wno-uninitialized -D__NO_MATH_INLINES=20 -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE = -D_Mlong_double_=3Ddouble -I../include=20 -I. -I/opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/gcc-4. 0.1-20050702-glibc-2.3.3/ build-glibc/math -I.. -I../libio =20 -I/opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/gcc-4. 0.1-20050702-glibc-2.3.3/build-glibc -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix /sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm=20 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix=20 -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64=20 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc=20 -isystem /opt/crosstool/gcc-4.0.1-20050702-glibc-2.3.3/arm-softfloat-linux-gnu/li b/gcc/ arm-softfloat-linux-gnu/4.0.1/include -isystem /opt/crosstool/gcc-4.0.1-20050702-glibc-2.3.3/ arm-softfloat-linux-gnu/arm-softfloat-linux-gnu/include=20 -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=3D1 -DIS_IN_libm=3D1 =20 -o /opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/ gcc-4.0.1-20050702-glibc-2.3.3/build-glibc/math/s_erf.o=20 -MD -MP -MF /opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/ gcc-4.0.1-20050702-glibc-2.3.3/build-glibc/math/s_erf.o.dt /cygdrive/c/Temp/ccKPWOnF.s: Assembler messages: /cygdrive/c/Temp/ccKPWOnF.s:1708: Error: invalid constant (fffffbfc) after fixup make[2]: *** [/opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/ gcc-4.0.1-20050702-glibc-2.3.3/build-glibc /math/s_erf.o] Error 1 make[2]: Leaving directory `/opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/ gcc-4.0.1-20050702-glibc-2.3 .3/glibc-2.3.3/math' make[1]: *** [math/others] Error 2 make[1]: Leaving directory `/opt/crosstool/src/crosstool-0.36/build/arm-softfloat-linux-gnu/ gcc-4.0.1-20050702-glibc-2.3 .3/glibc-2.3.3' make: *** [all] Error 2 ---------- snip -------------- The offending file seems to be "../sysdeps/ieee754/dbl-64/s_erf.c" for which=20 invalid code is generated for (assembler: "Error: invalid constant (xxxx) after fixup?") I'm not really experienced in compiler/toolchain bugfixing so i dont know if this is caused by binutils (assembler?) or gcc itself? I've tested with binutils 2.15, 2.16, 2.16.x and glibc 2.3.3, 2.3.4, 2.3.5 ... same everywhere. Maybe someone can shed any light on this... I've come that far and that seems to be the only showstopper before i can build and run _real_ software with it ;-) Regards, Robert ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com From - Thu Jul 7 20:36:45 2005 X-UIDL: 7d059af08e18ba6a X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 79192 invoked by uid 3177); 7 Jul 2005 21:13:36 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 79189 invoked from network); 7 Jul 2005 21:13:36 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 7 Jul 2005 21:13:36 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id D3D0E92D35 for ; Thu, 7 Jul 2005 17:13:36 -0400 (EDT) Received: from npri54mai02.npt.nuwc.navy.mil (npri54mai02.npt.nuwc.navy.mil [164.223.1.101]) by mailwash1.pair.com (Postfix) with ESMTP id B122992D27 for ; Thu, 7 Jul 2005 17:13:36 -0400 (EDT) Received: from npri54exc24.npt.nuwc.navy.mil (npri54exc24.npt.nuwc.navy.mil [129.190.70.87]) by npri54mai02.npt.nuwc.navy.mil (PMDF V6.2-X17 #30632) with ESMTP id <4TBS08Q0W2508901S0@npri54mai02.npt.nuwc.navy.mil> for dank@kegel.com; Thu, 07 Jul 2005 17:13:32 -0400 (Eastern Daylight Time) Received: from npri54exc24.npt.nuwc.navy.mil ([129.190.70.87]) by npri54exc24.npt.nuwc.navy.mil with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 3KJ7VQ0B; Thu, 07 Jul 2005 17:13:30 -0400 Received: from 129.190.213.216 by npri54exc24.npt.nuwc.navy.mil (InterScan E-Mail VirusWall NT); Thu, 07 Jul 2005 17:13:24 -0400 Received: from quahog.npt.nuwc.navy.mil (localhost.localdomain [127.0.0.1]) by quahog.npt.nuwc.navy.mil (8.12.8/8.12.8) with ESMTP id j67LBibG014067; Thu, 07 Jul 2005 17:11:44 -0400 Received: (from waz@localhost) by quahog.npt.nuwc.navy.mil (8.12.8/8.12.8/Submit) id j67LBiir014063; Thu, 07 Jul 2005 17:11:44 -0400 Date: Thu, 07 Jul 2005 17:11:44 -0400 From: Tom Warzeka Subject: more successes with crosstool-0.35 To: dank@kegel.com Reply-to: waz@quahog.npt.nuwc.navy.mil Message-id: <200507072111.j67LBiir014063@quahog.npt.nuwc.navy.mil> By copying my "patches/gcc-3.3.4/gcc-3.3.4-ppc-asm-spec.patch" into new patch subdirectories for gcc-3.3.5 and gcc-3.3.6, I was able to achieve successful builds of a PowerPC 7450 toolchain with GLIBC 2.3.5. (Actually, I called the patch file "gcc-3.3.X-ppc-asm-spec.patch", since it applies for GCC 3.3.[456], and that branch has been closed by the GNU Project.) Also, using GCC 3.3.5, I successfully built toolchains with GLIBC 2.2.5 and 2.3.[234]. In addition, GCC 3.4.4 w/o patches builds fine with GLIBC 2.[23].5. In all configurations, I used kernel version 2.4.26 and binutils-2.1.5. Unfortunately, I no longer have a development board to actually _test_ the code compiled with the toolchain but, though the kernel build still fails due to lack of a config file, this should change some red to yellow on your chart! -- Tom From - Mon Jul 11 09:15:09 2005 X-UIDL: 7ae5ebc664ef30eb X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 81884 invoked by uid 3177); 11 Jul 2005 16:19:42 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 81881 invoked from network); 11 Jul 2005 16:19:42 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 11 Jul 2005 16:19:42 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id CA0CE92D46 for ; Mon, 11 Jul 2005 12:19:42 -0400 (EDT) Received: from n066.sc1.cp.net (sp0212.sc1.cp.net [64.97.136.212]) by mailwash1.pair.com (Postfix) with ESMTP id A696E92D42 for ; Mon, 11 Jul 2005 12:19:42 -0400 (EDT) Received: from zee2.com (82.12.244.47) by n066.sc1.cp.net (7.0.038) id 42C9AA9F0020C195; Mon, 11 Jul 2005 16:19:41 +0000 Message-ID: <42D29BF7.4030707@zee2.com> Date: Mon, 11 Jul 2005 17:19:03 +0100 From: Steve Papacharalambous Organization: Zee2 Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Kegel CC: crossgcc list Subject: ldd & ldconfig missing Content-Type: multipart/mixed; boundary="------------020703060201040002000800" This is a multi-part message in MIME format. --------------020703060201040002000800 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Dan, Did you ever find a fix to the problem of the missing files in the glibc installation which seems to be caused by not running a full glibc install in the final glibc build stage? After running crosstool-0.37 for ppc ldd and ldconfig are missing from the toolchain. I can fix this by running a full glibc install, and have attached a patch for crosstool-0.37, Best regards, Steve --------------020703060201040002000800 Content-Type: text/plain; name="crosstool-0.37-glibc-install.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="crosstool-0.37-glibc-install.patch" --- crosstool-0.37/crosstool.sh.orig 2005-07-11 17:00:02.000000000 +0100 +++ crosstool-0.37/crosstool.sh 2005-07-11 17:02:10.000000000 +0100 @@ -649,8 +649,34 @@ then cd build-glibc make LD=${TARGET}-ld RANLIB=${TARGET}-ranlib - # note: should do full install and then fix linker scripts, but this is faster - make install_root=${SYSROOT} $GLIBC_SYSROOT_ARG install-bin install-rootsbin install-sbin install-data install-others + make install install_root=${SYSROOT} $GLIBC_SYSROOT_ARG + + # Fix problems in linker scripts. + # + # 1. Remove absolute paths + # Any file in a list of known suspects that isn't a symlink is assumed to be a linker script. + # FIXME: test -h is not portable + # FIXME: probably need to check more files than just these three... + # Need to use sed instead of just assuming we know what's in libc.so because otherwise alpha breaks + # But won't need to do this at all once we use --with-sysroot (available in gcc-3.3.3 and up) + # + # 2. Remove lines containing BUG per http://sources.redhat.com/ml/bug-glibc/2003-05/msg00055.html, + # needed to fix gcc-3.2.3/glibc-2.3.2 targeting arm + # + # To make "strip *.so.*" not fail (ptxdist does this), rename to .so_orig rather than .so.orig + for file in libc.so libpthread.so libgcc_s.so; do + for lib in lib lib64 usr/lib usr/lib64; do + if test -f ${SYSROOT}/$lib/$file && test ! -h ${SYSROOT}/$lib/$file; then + mv ${SYSROOT}/$lib/$file ${SYSROOT}/$lib/${file}_orig + if test -z "$USE_SYSROOT"; then + sed 's,/usr/lib/,,g;s,/usr/lib64/,,g;s,/lib/,,g;s,/lib64/,,g;/BUG in libc.scripts.output-format.sed/d' < ${SYSROOT}/$lib/${file}_orig > ${SYSROOT}/$lib/$file + else + sed '/BUG in libc.scripts.output-format.sed/d' < ${SYSROOT}/$lib/${file}_orig > ${SYSROOT}/$lib/$file + fi + fi + done + done + cd .. fi #--------------------------------------------------------- --------------020703060201040002000800-- From - Mon Jul 11 18:07:21 2005 X-UIDL: 711dcbf71df89333 X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 50443 invoked by uid 3177); 11 Jul 2005 21:01:35 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 50440 invoked from network); 11 Jul 2005 21:01:35 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 11 Jul 2005 21:01:35 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 5A34A92D3D for ; Mon, 11 Jul 2005 17:01:35 -0400 (EDT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mailwash1.pair.com (Postfix) with ESMTP id DDD7B92D19 for ; Mon, 11 Jul 2005 17:01:34 -0400 (EDT) Received: from lesneven.bzh.lan (lns-vlq-17f-81-56-190-22.adsl.proxad.net [81.56.190.22]) by postfix3-1.free.fr (Postfix) with ESMTP id 9923717350B; Mon, 11 Jul 2005 23:01:33 +0200 (CEST) From: "Yann E. MORIN" Organization: BZH Corporation To: crossgcc@sources.redhat.com Subject: Patch - 001 - silent crosstool execution Date: Mon, 11 Jul 2005 23:01:32 +0200 User-Agent: KMail/1.5.2 Cc: Dan Kegel X-SETI@home-URL: http://setiathome.ssl.berkeley.edu/fcgi-bin/fcgi?email=yann.morin.1998%40anciens.enib.fr&cmd=user_stats_new X-LFS-user: 6433 X-Registered-Linux-User: 158831 X-Anciens: ENIB `98 X-Eric-Conspiracy: There is no conspiracy MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_s4t0C8gCbko8BwA" Message-Id: <200507112301.32586.yann.morin.1998@anciens.enib.fr> --Boundary-00=_s4t0C8gCbko8BwA Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Hello all! Here is the first in a set of patches againt crosstool-0.37. " It allows one to define a SILENT var in the environment so that crosstool does not spit out all the commands it executes. Output of these commands is preserved, of course. " Regards, Yann. PS. Dan, if there is a problem with the header of the patches, please tell. PPS. Taking every bit out of my tree to build separate patches takes long. I didn't realise that it would be that hard... Pfewww... Special congrats to all of you doing this on a daily basis! :-) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ | | --==< °_° >==-- °---.----------------: X AGAINST | /e\ There is no | | web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL | """ conspiracy. | °---------------------°----------------°------------------°--------------------° \__ np: [Stopped] __________________________________________________________/ --Boundary-00=_s4t0C8gCbko8BwA Content-Type: application/x-bzip2; name="crosstool-0.37-001-silent.patch.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="crosstool-0.37-001-silent.patch.bz2" QlpoOTFBWSZTWQqb8MgAFJ9fgHd0f///////3///////YBtM23x3eu7F09DNnNgb3hmvc3U69rvL 7fL2Ptu7fB2iO26KfQM9t3nBNjXdvLqjryS6OjkKvTe1g+7BlkHtvrRo+rhJEJpE009NAAE0m1U/ GiT2iTKbTyp4ptT1DaeqemRqNtQg/SgDQIAgahGp6aTG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gWkjsPQt6aZPs3I3/eTDIWJj7vkW Jj3Rw7eaFIC4115BtgT5NJpsWs0fv3oiRosF7bhmws0MTaGkEmj1mPSGsRsjRUSp2ZmZtm6KvPMo Jm8LkZIgFca+ls+CfCdaUTpEDJ4cpqBjj4w1CDcEzBcprcbkJMGx0wpSzoANrLzgKAMMMIY0St8c UkGUb6uw94S+Qfix2xAjj8eA0IIDDY/+LuSKcKEgFTfhkA== --Boundary-00=_s4t0C8gCbko8BwA-- From - Mon Jul 11 18:07:22 2005 X-UIDL: 7caecb250de98454 X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 50456 invoked by uid 3177); 11 Jul 2005 21:01:39 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 50453 invoked from network); 11 Jul 2005 21:01:39 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 11 Jul 2005 21:01:39 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 01A3092D45 for ; Mon, 11 Jul 2005 17:01:39 -0400 (EDT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mailwash1.pair.com (Postfix) with ESMTP id 8653F92D3D for ; Mon, 11 Jul 2005 17:01:38 -0400 (EDT) Received: from lesneven.bzh.lan (lns-vlq-17f-81-56-190-22.adsl.proxad.net [81.56.190.22]) by postfix4-2.free.fr (Postfix) with ESMTP id B15AF32224D; Mon, 11 Jul 2005 23:01:37 +0200 (CEST) From: "Yann E. MORIN" Organization: BZH Corporation To: crossgcc@sources.redhat.com Subject: Patch - 002 - program prefix Date: Mon, 11 Jul 2005 23:01:36 +0200 User-Agent: KMail/1.5.2 Cc: Dan Kegel X-SETI@home-URL: http://setiathome.ssl.berkeley.edu/fcgi-bin/fcgi?email=yann.morin.1998%40anciens.enib.fr&cmd=user_stats_new X-LFS-user: 6433 X-Registered-Linux-User: 158831 X-Anciens: ENIB `98 X-Eric-Conspiracy: There is no conspiracy MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_w4t0CBj+YscFJJK" Message-Id: <200507112301.36465.yann.morin.1998@anciens.enib.fr> --Boundary-00=_w4t0CBj+YscFJJK Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Hello all! Here is the first in a set of patches againt crosstool-0.37 + silent patch. Sorry, I don't have time to build a patch against vanilla 0.37. " It allows one to define a PROGRAM_PREFIX var in the environment. The generated binaries will be prefixed with "${PROGRAM_PREFIX}-" in place of the default "${TARGET}-". PROGRAM_PREFIX defaults to "${TARGET}". " As I don't have Windows, I was unable to port these to crosstool-cygwin.sh. Also I didn't have time to run the reg tests, so it was not integrated. Regards, Yann. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ | | --==< °_° >==-- °---.----------------: X AGAINST | /e\ There is no | | web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL | """ conspiracy. | °---------------------°----------------°------------------°--------------------° \__ np: [Stopped] __________________________________________________________/ --Boundary-00=_w4t0CBj+YscFJJK Content-Type: application/x-bzip2; name="crosstool-0.37-002-program-prefix.patch.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="crosstool-0.37-002-program-prefix.patch.bz2" QlpoOTFBWSZTWa+oGoMADHDfgG50ff//+//n/+W/7//+YBEd3xjhu3hQXeVe7nDKnjYcgAFAVJyA 1QVKgImdh0DYJQhT1R4amU2qN6DIk2p6m1BoBoNPUaAAGgAAanpMRoQQmg1R+p6KY1DQGgMmgAAA AAEVPxDSmJp6miDEAGIBphGQZA9QGmCAeoYSaSiZSPSbKbVG1T1GCZqeoGIYmTBMIDZIAAaHGhoG jTI00aZAYmCAAGgNAaZAYEyBIkEyBAJkmE001U9lTbKemo1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Zs67lfC16GLpFQk5GKyrjaMLYRIkYVTkSxpMvFLTeAiqglM UhShDFVmxvqZCOvWdozsUE1dQ23TTfTfCqbjBKQcCYVAJoPoaSsxjV2gmI4G44GgUNMdxtRiSsTw PGwC/SG2BgE48d5MkxD5bb457loaF8uNzaWZY7w1Z3JfSJMSmtneYa6IO8ila75V86pkkSGIz4RR NoN+JcG1bzB8DYiQjYlu/JyUdLt4nJ2im8JH18gwOsdczJGC8qJKC8CwBGBOSHTb1ZnWwdXCBYg7 I59hXLoUsYNVtUK2hMYOC+oKBctIr6oV2ggJi+YibkBE4g+VJ7VK1vyUtb5r8i/QSqyKoioiCqiR Q3woDA8+n/xdyRThQkK+oGoM --Boundary-00=_w4t0CBj+YscFJJK-- From - Tue Jul 12 01:27:23 2005 X-UIDL: a547c2ee7525df2b X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 89502 invoked by uid 3177); 12 Jul 2005 08:31:39 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 89499 invoked from network); 12 Jul 2005 08:31:39 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 12 Jul 2005 08:31:39 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 9D2F192D41 for ; Tue, 12 Jul 2005 04:31:39 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 7333392D3F for ; Tue, 12 Jul 2005 04:31:39 -0400 (EDT) Received: (qmail 30799 invoked by alias); 12 Jul 2005 08:31:36 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 30767 invoked by uid 22791); 12 Jul 2005 08:31:28 -0000 Received: from gatekeeper.vitk.vossloh.com (HELO gatekeeper.vitk.vossloh.com) (62.154.243.10) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 12 Jul 2005 08:31:28 +0000 Received: from [198.120.73.9] (helo=KA-S-EX1.karlsfeld.vst-vossloh.com) by gatekeeper.vitk.vossloh.com with esmtp (Exim 4.22) id 1DsGAo-0005By-LC for crossgcc@sources.redhat.com; Tue, 12 Jul 2005 10:31:26 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: crosstool 0.37 + gdb build fix for cygwin/windows Date: Tue, 12 Jul 2005 10:31:26 +0200 Message-ID: From: "Michelsen, Robert" To: X-Scan-Signature: 40d7135399fe4cdec3de37070456a2be Hello, i just want to add some minor fix ... If you build whole toolchain including "gdb" under cygwin environment you need to pass additional switch to gdb "configure" script:=20 "--disable-nls" Otherwise you will get: "make[1]: *** No rule to make target `../intl/libintl.a', needed by `gdb.exe'." -------------------------- snip ------------------------------ $ diff -Naur gdb-orig.sh gdb.sh --- gdb-orig.sh 2005-07-10 22:40:38.000000000 +0200 +++ gdb.sh 2005-07-11 14:53:03.281250000 +0200 @@ -54,7 +54,7 @@ if test '!' -f Makefile; then # Remember- gdb will run on the host using host resources. # As such, we compile to run natively BUT with the target of interest. - ${GDB_DIR}/configure --target=3D$TARGET --host=3D$GCC_HOST --prefix=3D$PREFIX + ${GDB_DIR}/configure --target=3D$TARGET --host=3D$GCC_HOST --prefix=3D$PREFIX --disable-nls fi make $PARALLELMFLAGS all -------------------------- snip ------------------------------ Don't know if this applies to other platforms too... Regards, Robert Michelsen ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com From - Tue Jul 12 03:47:06 2005 X-UIDL: 70fd937ea0196418 X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 16748 invoked by uid 3177); 12 Jul 2005 10:53:39 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 16745 invoked from network); 12 Jul 2005 10:53:39 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 12 Jul 2005 10:53:39 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id A652D92D19 for ; Tue, 12 Jul 2005 06:53:39 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 7156F92D3E for ; Tue, 12 Jul 2005 06:53:39 -0400 (EDT) Received: (qmail 24748 invoked by alias); 12 Jul 2005 10:53:36 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 24729 invoked by uid 22791); 12 Jul 2005 10:53:29 -0000 Received: from mail.imc-berlin.de (HELO mail.imc-berlin.de) (217.110.46.186) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 12 Jul 2005 10:53:29 +0000 Received: from mailserver.berlin.imc-berlin.de (mailserver.berlin.imc-berlin.de [10.0.0.19]) by mail.imc-berlin.de (Postfix) with ESMTP id 6B3432F016 for ; Tue, 12 Jul 2005 11:01:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailserver.berlin.imc-berlin.de (Postfix) with ESMTP id 3B87B12077 for ; Tue, 12 Jul 2005 12:53:26 +0200 (CEST) Received: from [10.0.2.10] (scholz.berlin.imc-berlin.de [10.0.2.10]) by mailserver.berlin.imc-berlin.de (Postfix) with ESMTP id 7A07911C73 for ; Tue, 12 Jul 2005 12:53:25 +0200 (CEST) Message-ID: <42D3A122.9040608@imc-berlin.de> Date: Tue, 12 Jul 2005 12:53:22 +0200 From: Steven Scholz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319 MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: Re: AW: crosstool 0.37 + gdb build fix for cygwin/windows References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Michelsen, Robert wrote: > Hi > > >>Unfortunatly you'll get the same when you're tyring to make a "make > > defconfig" with linux-2.6.13-rc2. > >>So does someone know which packages I have to install on cygwin to get > > this header ( and maybe other missings too)? > > > NLS support for cygwin? > "GNU gettext" package i think. Yeah. I just found out and try to test. BUT: shouldn't that fix the gdb problem as well? -- Steven ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com From - Tue Jul 12 04:57:05 2005 X-UIDL: 2e12b8dc46fc1128 X-Mozilla-Status: 0011 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 28619 invoked by uid 3177); 12 Jul 2005 11:59:12 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 28616 invoked from network); 12 Jul 2005 11:59:12 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 12 Jul 2005 11:59:12 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 7E95B92D42 for ; Tue, 12 Jul 2005 07:59:12 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 3EE5792D38 for ; Tue, 12 Jul 2005 07:59:12 -0400 (EDT) Received: (qmail 8175 invoked by alias); 12 Jul 2005 11:59:09 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 7349 invoked by uid 22791); 12 Jul 2005 11:58:51 -0000 Received: from mail.sysgo.com (HELO mail.sysgo.com) (62.8.134.5) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 12 Jul 2005 11:58:51 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.sysgo.com (Postfix) with ESMTP id 2BEC7FB872; Tue, 12 Jul 2005 13:54:23 +0200 (CEST) Received: from mail.sysgo.com (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.2-8) id 27192-31768D35; Tue, 12 Jul 2005 13:54:23 +0200 Received: from donald.sysgo.com (unknown [172.20.1.30]) by mail.sysgo.com (Postfix) with ESMTP id 07F18FB872; Tue, 12 Jul 2005 13:54:22 +0200 (CEST) Received: by donald.sysgo.com (Postfix, from userid 65534) id C5C6916E11B; Tue, 12 Jul 2005 14:37:57 +0200 (CEST) Received: from bma.sysgo.com (bma.sysgo.com [172.22.28.10]) by donald.sysgo.com (Postfix) with ESMTP id A935A16DF3B; Tue, 12 Jul 2005 14:37:56 +0200 (CEST) Subject: Re: AW: crosstool 0.37 + gdb build fix for cygwin/windows From: bertrand marquis To: Steven Scholz Cc: crossgcc In-Reply-To: <42D3A5F5.2090002@imc-berlin.de> References: <42D3A122.9040608@imc-berlin.de> <42D3A5F5.2090002@imc-berlin.de> Content-Type: multipart/mixed; boundary="=-/kVvTb9Zd1+dCd147JAu" Message-Id: <1121169769.4722.3.camel@bma.sysgo.com> Mime-Version: 1.0 Date: 12 Jul 2005 14:02:49 +0200 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-8; AVE: 6.31.0.9; VDF: 6.31.0.190; host: mailgate2.sysgo.com) --=-/kVvTb9Zd1+dCd147JAu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, you need to patch the kernel to be able to use it in cygwin. The "-lgettex" must be added. I enclose my patch to this mail. This patch works for kernel 2.6.12, i think it should work for 2.6.13. Bertrand Le mar 12/07/2005 =C3=A0 13:13, Steven Scholz a =C3=A9crit : > Steven Scholz wrote: >=20 > > Michelsen, Robert wrote: > >=20 > >> Hi > >> > >>> Unfortunatly you'll get the same when you're tyring to make a "make > >> > >> > >> defconfig" with linux-2.6.13-rc2. > >> > >>> So does someone know which packages I have to install on cygwin to = get > >> > >> > >> this header ( and maybe other missings too)? > >> > >> > >> NLS support for cygwin? > >> "GNU gettext" package i think. > >=20 > >=20 > > Yeah. I just found out and try to test. >=20 > Hmm. I installed gettext for cygwin. But now a "make defconfig" brings >=20 > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/split-include > HOSTCC scripts/basic/docproc > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf.o(.text+0xc1):conf.c: undefined reference to=20 > `_libintl_gettext' > scripts/kconfig/conf.o(.text+0xd5):conf.c: undefined reference to=20 > `_libintl_gettext' > scripts/kconfig/conf.o(.text+0xe9):conf.c: undefined reference to=20 > `_libintl_gettext' > scripts/kconfig/conf.o(.text+0xcd8):conf.c: undefined reference to=20 > `_libintl_gettext' > scripts/kconfig/conf.o(.text+0xde2):conf.c: undefined reference to=20 > `_libintl_gettext' > scripts/kconfig/conf.o(.text+0xe7d):conf.c: more undefined references t= o=20 > `_libintl_gettext' follow > collect2: ld returned 1 exit status > make[1]: *** [scripts/kconfig/conf] Error 1 > make: *** [multiIO_IDIF_defconfig] Error 2 >=20 > Any ideas? >=20 > -- > Steven >=20 >=20 > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/Cros= sGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat= .com --=20 Bertrand Marquis SYSGO AG Am Pfaffenstein 14 55270 Klein-Winternheim Phone =3D 49 6136 9948-0 Fax =3D 49 6136 9948-10 bmarquis@sysgo.com www.sysgo.com www.elinos.com _______________________________________________________________________ Meet us at our next events: VDI Wissensforum Elektronik im Kraftfahrzeug October 6-7, 2005 Baden-Baden http://www.vdi-wissensforum.de/index.php?id=3D102&user_vdiev_pi1[cmd]=3Ds= ingle&user_vdiev_pi1[uid]=3D428507&cHash=3Daf4e74cd0c SPS/IPC/DRIVES November 22-24, 2005 N=C3=BCrnberg http://www.mesago.de/00105/d/index.php3?sid=3Ddd919503bce6453c42762c5a6b3= 4c8cc&stamp=3D1115191812 We are looking forward to your visit! _______________________________________________________________________ --=-/kVvTb9Zd1+dCd147JAu Content-Disposition: attachment; filename=support_cygwin_cross.patch Content-Type: text/plain; name=support_cygwin_cross.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit --- __redodiff__/Makefile.orig 2005-06-21 14:45:57.362005525 +0200 +++ __redodiff__/Makefile 2005-06-21 14:45:57.390998367 +0200 @@ -1247,9 +1247,15 @@ kernelrelease: # FIXME Should go into a make.lib or something # =========================================================================== +IS_CYGWIN=$(shell uname | grep -i cygwin > /dev/null 2>&1 && echo yes || echo no) + quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs))) +ifeq ($(IS_CYGWIN),yes) + cmd_rmdirs = for i in $(rm-dirs); do rm -rf $$i || echo "error removing $$i" ; done +else cmd_rmdirs = rm -rf $(rm-dirs) +endif quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))) cmd_rmfiles = rm -f $(rm-files) --- __redodiff__/scripts/Makefile.host.orig 2005-06-21 14:45:57.383000341 +0200 +++ __redodiff__/scripts/Makefile.host 2005-06-21 14:45:57.395997133 +0200 @@ -78,9 +78,17 @@ obj-dirs := $(addprefix $(obj)/,$ ##### # Handle options to gcc. Support building with separate output directory -_hostc_flags = $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS_$(*F).o) +IS_CYGWIN=$(shell uname | grep -i cygwin > /dev/null 2>&1 && echo yes || echo no) + +ifeq ($(IS_CYGWIN),yes) + _hostc_flags = $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -I$(ELINOS_PREFIX)/include $(HOSTCFLAGS_$(*F).o) +else + _hostc_flags = $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS_$(*F).o) +endif + _hostcxx_flags = $(HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) $(HOSTCXXFLAGS_$(*F).o) + ifeq ($(KBUILD_SRC),) __hostc_flags = $(_hostc_flags) __hostcxx_flags = $(_hostcxx_flags) --- __redodiff__/scripts/kconfig/Makefile.org 2005-06-17 21:48:29.000000000 +0200 +++ __redodiff__/scripts/kconfig/Makefile 2005-07-05 10:29:05.000000000 +0200 @@ -84,6 +84,13 @@ mconf-objs := mconf.o zconf.tab.o kxgettext-objs := kxgettext.o zconf.tab.o +IS_CYGWIN=$(shell uname | grep -i cygwin > /dev/null 2>&1 && echo yes || echo no) + +ifeq ($(IS_CYGWIN),yes) + HOSTLOADLIBES_conf := -L/lib -lintl + HOSTLOADLIBES_mconf := -L/lib -lintl +endif + ifeq ($(MAKECMDGOALS),xconfig) qconf-target := 1 endif --=-/kVvTb9Zd1+dCd147JAu Content-Type: text/plain; charset=us-ascii ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com --=-/kVvTb9Zd1+dCd147JAu-- From - Sun Jul 17 16:50:13 2005 X-UIDL: da8683525b885add X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 78448 invoked by uid 3177); 17 Jul 2005 20:01:27 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 78445 invoked from network); 17 Jul 2005 20:01:27 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 17 Jul 2005 20:01:27 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 23A9292D46 for ; Sun, 17 Jul 2005 16:01:27 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id EE8E092D3E for ; Sun, 17 Jul 2005 16:01:26 -0400 (EDT) Received: (qmail 1929 invoked by alias); 17 Jul 2005 20:01:25 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 1826 invoked by uid 22791); 17 Jul 2005 20:01:20 -0000 Received: from out3.smtp.messagingengine.com (HELO out3.smtp.messagingengine.com) (66.111.4.27) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 17 Jul 2005 20:01:20 +0000 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id 1C05DCBFF37; Sun, 17 Jul 2005 16:01:18 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id 6EA8C2FD0; Sun, 17 Jul 2005 16:01:10 -0400 (EDT) Message-Id: <1121630470.15320.238639373@webmail.messagingengine.com> From: "Leon Woestenberg" To: "Benedikt Spranger" , "crossgcc" Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 References: <1120485640.16542.0.camel@atlas.tec.linutronix.de> Subject: Re: ARM, NPTL and hard/soft-float In-Reply-To: <1120485640.16542.0.camel@atlas.tec.linutronix.de> Date: Sun, 17 Jul 2005 22:01:10 +0200 Benedikt, I would to see your work integrated into crosstool. For educational purposes, I am trying to achieve the same with Greg's Cross Compilation work-in-progress, which supports a few NPTL targets already (but not ARM yet). I have problem accessing this (little) file on your web server, which apparently spawns your build: http://www.tglx.de/private/bene/arm-toolchain/mk-arm "You don't have permission to access /private/bene/arm-toolchain/mk-arm on this server" Regards, Leon. On Mon, 04 Jul 2005 16:00:40 +0200, "Benedikt Spranger" said: > Hello, > > I build a cross toolchain based on the glibc ARN-NPTL Port from > codesourcery and the recent binutils and csl-arm-gcc-branch. With hard- > fp and soft-fp everything seems to work fine now. > A snapshot of my work can be found at > http://www.tglx.de/private/bene/arm-toolchain/. > > Now my two questions :-) > 1. How can I add this beast into crosstool? > 2. How does crosstool handle the future glibc-port disaster? > > Bene > > > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sources.redhat.com > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com From - Mon Jul 18 18:13:24 2005 X-UIDL: fa6de07bea33ee6d X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 73797 invoked by uid 3177); 19 Jul 2005 01:21:45 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 73790 invoked from network); 19 Jul 2005 01:21:44 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Jul 2005 01:21:44 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 6AEF792D35 for ; Mon, 18 Jul 2005 21:21:44 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 443C692D32 for ; Mon, 18 Jul 2005 21:21:44 -0400 (EDT) Received: (qmail 12843 invoked by alias); 19 Jul 2005 01:21:41 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 12801 invoked by uid 22791); 19 Jul 2005 01:21:36 -0000 Received: from gateway-1237.mvista.com (HELO av.mvista.com) (12.44.186.158) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 19 Jul 2005 01:21:36 +0000 Received: from [10.0.4.58] (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id SAA10563 for ; Mon, 18 Jul 2005 18:21:34 -0700 Message-ID: <42DC559D.7040705@mvista.com> Date: Mon, 18 Jul 2005 18:21:33 -0700 From: Khem Raj User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) MIME-Version: 1.0 To: crossgcc Subject: Patch for crosstool.sh in crosstool-0.37 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi If the build failed and I restarted the build then it will fail at creating links and either I have delete the links or do a complete rebuild. To avoid that I have applied this patch where I force the links to be creared, to crosstools.sh and it seems to fix the problem. --- crosstool.sh.orig 2005-07-18 18:17:19.000000000 -0700 +++ crosstool.sh 2005-07-18 18:17:45.000000000 -0700 @@ -359,7 +359,7 @@ # instead of the location its configure script claims it searches (gcc_cv_as), grr mkdir -p $CORE_PREFIX/$TARGET/bin for tool in ar as ld strip; do - ln -s $PREFIX/bin/$TARGET-$tool $CORE_PREFIX/$TARGET/bin/$tool + ln -sf $PREFIX/bin/$TARGET-$tool $CORE_PREFIX/$TARGET/bin/$tool done fi Thanks Khem ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com From - Mon Jul 18 18:04:59 2005 X-UIDL: fc05c65a46e51bea X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 2838 invoked by uid 3177); 18 Jul 2005 20:46:02 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 2835 invoked from network); 18 Jul 2005 20:46:02 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 18 Jul 2005 20:46:02 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 499E592D35 for ; Mon, 18 Jul 2005 16:46:02 -0400 (EDT) Received: from zeugmasystems.com (mail.zeugmasystems.com [192.139.122.66]) by mailwash1.pair.com (Postfix) with ESMTP id DCFB592D2B for ; Mon, 18 Jul 2005 16:46:01 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C58BD9.B472447F" Subject: Dead link and a question. Date: Mon, 18 Jul 2005 13:46:00 -0700 Message-ID: <66910A579C9312469A7DF9ADB54A8B7D0C99BB@exchange.ZeugmaSystems.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Dead link and a question. Thread-Index: AcWL2bRfy+CKlx3LS0ytIXyaBk2Ltg== From: "Vladimir Doukhanine" To: This is a multi-part message in MIME format. ------_=_NextPart_001_01C58BD9.B472447F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Dan, =20 1) In the bottom of your webpage=20 =20 http://kegel.com/crosstool/crosstool-0.35/doc/crosstool-howto.html =20 you have a dead link to: =20 MIPS: linux-mips =20 =20 The right one, I guess, should be: =20 http://lists.sourceforge.net/lists/listinfo/linux-mips-kernel =20 2) I'm struggling to remember the name of the project or kernel patch some guy from amazon.com told me. It is about accelerating TCP/IP stack. Something like a kernel patch which greatly increase TCP/IP performance for large number of connection. For some reason this patch is not checked in kernel because etc... Can you give me a hint? I'm asking because you at google may be somehow affected by this problem. =20 Thank you, Vlad ------_=_NextPart_001_01C58BD9.B472447F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Dan,

 

1) In the bottom of your webpage =

 

http://kegel.com/crosstool/crosstool-0.35/doc/crosstool-howto.html=

 

you have a dead link to:

 

MIPS: linux-mips=

 

The right one, I guess, should = be:

 

ht= tp://lists.sourceforge.net/lists/listinfo/linux-mips-kernel

 

2) I’m struggling to remember the name of the = project or kernel patch some guy from amazon.com told = me.

It is about accelerating TCP/IP stack. Something like = a kernel patch which greatly increase TCP/IP performance for large number = of connection.

For some reason this patch is not checked in kernel = because etc…

Can you give me a hint?

I’m asking because you at google may be somehow = affected by this problem.

 

Thank you,

Vlad

------_=_NextPart_001_01C58BD9.B472447F-- From - Tue Jul 19 19:03:44 2005 X-UIDL: d54804290a1889be X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 96121 invoked by uid 3177); 19 Jul 2005 19:31:28 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 96116 invoked from network); 19 Jul 2005 19:31:28 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Jul 2005 19:31:28 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 2518F92D2D for ; Tue, 19 Jul 2005 15:31:28 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id EE12792D2B for ; Tue, 19 Jul 2005 15:31:27 -0400 (EDT) Received: (qmail 22150 invoked by alias); 19 Jul 2005 19:31:26 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 22100 invoked by uid 22791); 19 Jul 2005 19:31:18 -0000 Received: from gateway-1237.mvista.com (HELO av.mvista.com) (12.44.186.158) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 19 Jul 2005 19:31:18 +0000 Received: from [10.0.4.58] (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id MAA30513; Tue, 19 Jul 2005 12:31:11 -0700 Message-ID: <42DD54FF.70308@mvista.com> Date: Tue, 19 Jul 2005 12:31:11 -0700 From: Khem Raj User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) MIME-Version: 1.0 To: Leon Woestenberg CC: Benedikt Spranger , crossgcc Subject: Re: ARM, NPTL and hard/soft-float References: <1120485640.16542.0.camel@atlas.tec.linutronix.de> <1121630470.15320.238639373@webmail.messagingengine.com> In-Reply-To: <1121630470.15320.238639373@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Leon Woestenberg wrote: >Benedikt, > >I would to see your work integrated into crosstool. For educational >purposes, I am trying to achieve the same with Greg's Cross Compilation >work-in-progress, which supports a few NPTL targets already (but not ARM >yet). > >I have problem accessing this (little) file on your web server, which >apparently spawns your build: > >http://www.tglx.de/private/bene/arm-toolchain/mk-arm > > it should be http://www.tglx.de/private/bene/arm-toolchain/mk-arm-soft or http://www.tglx.de/private/bene/arm-toolchain/mk-arm-hard I think. I am able to access them >"You don't have permission to access /private/bene/arm-toolchain/mk-arm >on this server" > >Regards, > >Leon. > > >On Mon, 04 Jul 2005 16:00:40 +0200, "Benedikt Spranger" > said: > > >>Hello, >> >>I build a cross toolchain based on the glibc ARN-NPTL Port from >>codesourcery and the recent binutils and csl-arm-gcc-branch. With hard- >>fp and soft-fp everything seems to work fine now. >>A snapshot of my work can be found at >>http://www.tglx.de/private/bene/arm-toolchain/. >> >>Now my two questions :-) >>1. How can I add this beast into crosstool? >>2. How does crosstool handle the future glibc-port disaster? >> >>Bene >> >> >> >>------ >>Want more information? See the CrossGCC FAQ, >>http://www.objsw.com/CrossGCC/ >>Want to unsubscribe? Send a note to >>crossgcc-unsubscribe@sources.redhat.com >> >> >> > >------ >Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ >Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com From - Tue Jul 19 19:03:57 2005 X-UIDL: 5aa07f3a7be6afbd X-Mozilla-Status: 0001 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 7950 invoked by uid 3177); 19 Jul 2005 20:27:42 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 7947 invoked from network); 19 Jul 2005 20:27:41 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Jul 2005 20:27:41 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 7802692D57 for ; Tue, 19 Jul 2005 16:27:41 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 0C7BB92D52 for ; Tue, 19 Jul 2005 16:27:41 -0400 (EDT) Received: (qmail 545 invoked by alias); 19 Jul 2005 20:27:40 -0000 Mailing-List: contact crossgcc-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sources.redhat.com Delivered-To: mailing list crossgcc@sources.redhat.com Received: (qmail 480 invoked by uid 22791); 19 Jul 2005 20:27:25 -0000 Received: from gateway-1237.mvista.com (HELO av.mvista.com) (12.44.186.158) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 19 Jul 2005 20:27:25 +0000 Received: from [10.0.4.58] (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id NAA02557 for ; Tue, 19 Jul 2005 13:27:18 -0700 Message-ID: <42DD6226.3010701@mvista.com> Date: Tue, 19 Jul 2005 13:27:18 -0700 From: Khem Raj User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) MIME-Version: 1.0 To: crossgcc Subject: crosstool-nptl patch refreshed against 0.37 Content-Type: multipart/mixed; boundary="------------070907010405050302090607" X-Virus-Checked: Checked by ClamAV on sourceware.org --------------070907010405050302090607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi I have refreshed the contrib/crosstool-0.34-nptl.patch to apply on crosstool-0.37 base the patch did not apply cleanly because there were some changes in patch which are part of 0.37 already. Thanks Khem --------------070907010405050302090607 Content-Type: text/x-patch; name="a.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="a.diff" diff -urN --exclude='*.orig' crosstool-0.37.orig/crosstool.sh crosstool-0.37/crosstool.sh --- crosstool-0.37.orig/crosstool.sh 2005-07-09 17:47:29.000000000 -0700 +++ crosstool-0.37/crosstool.sh 2005-07-19 12:54:58.000000000 -0700 @@ -70,23 +70,28 @@ test -z "$BUILD" && abort "bug: BUILD not set?!" if test -z "${GLIBC_ADDON_OPTIONS}"; then - echo "GLIBC_ADDON_OPTIONS not set, so guessing addons from GLIBCTHREADS_FILENAME and GLIBCCRYPT_FILENAME" - # this is lame, need to fix this for nptl later? - # (nptl is an addon, but it's shipped in the main tarball) + echo "GLIBC_ADDON_OPTIONS not set" GLIBC_ADDON_OPTIONS="=" - case "${GLIBCTHREADS_FILENAME}" in - *linuxthreads*) GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}linuxthreads," ;; - esac + if test '!' -z ${GLIBC_ADDON_LINUXTHREADS}; then + GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}linuxthreads," + elif test '!' -z ${GLIBC_ADDON_NPTL}; then + GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}nptl," + fi # crypt is only an addon for glibc-2.1.x test -z "${GLIBCCRYPT_FILENAME}" || GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}crypt," fi +if test '!' -z "${GLIBC_ADDON_NPTL}"; then + GLIBC_EXTRA_CONFIG="--with-tls --with-__thread ${GLIBC_EXTRA_CONFIG}" + GLIBC_MIN_KERNEL=2.6.4 +else + GLIBC_EXTRA_CONFIG="--without-tls --without-__thread ${GLIBC_EXTRA_CONFIG}" + GLIBC_MIN_KERNEL=2.4.3 +fi + # One is forbidden test -z "${LD_LIBRARY_PATH}" || abort "glibc refuses to build if LD_LIBRARY_PATH is set. Please unset it before running this script." -# And one is derived. -GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'` - # Check for a few prerequisites that have tripped people up. awk '/x/' < /dev/null || abort "You need awk to build a toolchain." test -z "${CFLAGS}" || abort "Don't set CFLAGS, it screws up the build" @@ -437,13 +442,36 @@ # http://sourceware.org/ml/crossgcc/2005-05/msg00168.html cp misc/syscall-list.h $HEADERDIR/bits/syscall.h + if test '!' -z "${GLIBC_ADDON_NPTL}"; then + # To build gcc with thread support requires real pthread headers. These + # will have to manually be copied from under the tree of the desired + # target pthread implementation. + cp ${GLIBC_DIR}/nptl/sysdeps/pthread/pthread.h $HEADERDIR/pthread.h + cp ${GLIBC_DIR}/nptl/sysdeps/unix/sysv/linux/${ARCH}/bits/pthreadtypes.h $HEADERDIR/bits/pthreadtypes.h + + # On s390, powerpc and sparc we also require bits/wordsize.h. + case $TARGET in + sparc* | s390* | powerpc* ) + case $TARGET in + sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h ;; + sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h ;; + s390x* ) wordsize_h=sysdeps/s390/s390x/bits/wordsize.h ;; + s390* ) wordsize_h=sysdeps/s390/s390/bits/wordsize.h ;; + powerpc64* ) wordsize_h=sysdeps/powerpc/powerpc64/bits/wordsize.h ;; + powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h ;; + esac + test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h + ;; + esac + fi # GLIBC_ADDONS_NPTL + cd .. fi #--------------------------------------------------------- -echo "Build gcc-core (just enough to build glibc)" +echo "Build gcc-core w/o shared libgcc (just enough to build glibc starfiles)" -mkdir -p build-gcc-core; cd build-gcc-core +mkdir -p build-gcc-core-static; cd build-gcc-core-static echo Copy headers to install area of bootstrap gcc, so it can build libgcc2 mkdir -p $CORE_PREFIX/$TARGET/include @@ -475,8 +503,122 @@ logresult gcc-core $CORE_PREFIX/bin/${TARGET}-gcc${EXEEXT} +# Following extra steps required for building an NPTL enabled glibc. +if test '!' -z "${GLIBC_ADDON_NPTL}"; then + #--------------------------------------------------------- + echo "Build glibc startfiles (required for shared libgcc)" + + mkdir -p build-glibc-startfiles; cd build-glibc-startfiles + + # sh4 really needs to set configparms as of gcc-3.4/glibc-2.3.2 + # note: this is awkward, doesn't work well if you need more than one line in configparms + echo ${GLIBC_CONFIGPARMS} > configparms + + echo "libc_cv_forced_unwind=yes" > config.cache + echo "libc_cv_c_cleanup=yes" >> config.cache + # this here is moot, currently you cannot build nptl for sparc64 + case ${TARGET} in + sparc64* ) echo "libc_cv_sparc64_tls=yes" >> config.cache ;; + esac + + if test '!' -f Makefile; then + # Configure with --prefix the way we want it on the target... + # There are a whole lot of settings here. You'll probably want + # to read up on what they all mean, and customize a bit. + # e.g. I picked --enable-kernel=2.4.3 here just because it's the kernel Bill + # used in his example gcc2.95.3 script. That means some backwards compatibility + # stuff is turned on in glibc that you may not need if you're using a newer kernel. + # Compare these options with the ones used when installing the glibc headers above - they're different. + # Adding "--without-gd" option to avoid error "memusagestat.c:36:16: gd.h: No such file or directory" + # See also http://sources.redhat.com/ml/libc-alpha/2000-07/msg00024.html. + # Set BUILD_CC, or you won't be able to build datafiles + # Set --build, else glibc-2.3.2 will think you're not cross-compiling, and try to run the test programs + + BUILD_CC=gcc CFLAGS="$TARGET_CFLAGS" CC="${TARGET}-gcc $GLIBC_EXTRA_CC_ARGS" \ + AR=${TARGET}-ar RANLIB=${TARGET}-ranlib \ + ${GLIBC_DIR}/configure --prefix=/usr \ + --build=$BUILD --host=$TARGET \ + ${GLIBC_EXTRA_CONFIG} \ + --enable-kernel=${GLIBC_MIN_KERNEL} \ + --without-cvs --disable-profile --disable-debug --without-gd \ + $SHARED_MODE \ + --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR \ + --cache-file=config.cache + fi + + #TODO: should check whether slibdir has been set in configparms to */lib64 + # and copy the startfiles into the appropriate libdir. + make csu/subdir_lib + + test -z "${USE_SYSROOT}" && + cp -fp csu/crt[1in].o ${SYSROOT}/lib/ || + cp -fp csu/crt[1in].o ${SYSROOT}/usr/lib/ + + cd .. + + #--------------------------------------------------------- + echo "Build gcc-core w shared libgcc" + + mkdir -p build-gcc-core-shared; cd build-gcc-core-shared + + # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532) + + if test '!' -f Makefile; then + ${GCC_DIR}/configure $CANADIAN_BUILD --target=$TARGET --host=$GCC_HOST --prefix=$PREFIX \ + --with-local-prefix=${SYSROOT} \ + --disable-multilib \ + ${GCC_EXTRA_CONFIG} \ + ${GCC_SYSROOT_ARG_CORE} \ + --disable-nls \ + --enable-symvers=gnu \ + --enable-__cxa_atexit \ + --enable-languages=c \ + --enable-shared + fi + + # HACK: we need to override SHLIB_LC from gcc/config/t-slibgcc-elf-ver or + # gcc/config/t-libunwind so -lc is removed from the link for + # libgcc_s.so, as we do not have a target -lc yet. + # This is not as ugly as it appears to be ;-) All symbols get resolved + # during the glibc build, and we provide a proper libgcc_s.so for the + # cross toolchain during the final gcc build. + # + # As we cannot modify the source tree, nor override SHLIB_LC itself + # during configure or make, we have to edit the resultant + # gcc/libgcc.mk itself to remove -lc from the link. + # This causes us to have to jump through some hoops... + # + # To produce libgcc.mk to edit we firstly require libiberty.a, + # so we configure then build it. + # Next we have to configure gcc, create libgcc.mk then edit it... + # So much easier if we just edit the source tree, but hey... + if test '!' -f ${GCC_DIR}/gcc/BASE-VER; then + make configure-libiberty + make -C libiberty libiberty.a + make configure-gcc + else + make configure-gcc + make configure-libcpp + make configure-build-libiberty + make all-libcpp + make all-build-libiberty + fi + make -C gcc libgcc.mk + + if test '!' -f gcc/libgcc.mk-ORIG ; then cp -p gcc/libgcc.mk gcc/libgcc.mk-ORIG; fi + sed 's@-lc@@g' < gcc/libgcc.mk-ORIG > gcc/libgcc.mk + + test "$CANADIAN_BUILD" = "" || make $PARALLELMFLAGS all-build-libiberty || true + make $PARALLELMFLAGS all-gcc + make install-gcc + + cd .. + + test -x ${PREFIX}/bin/${TARGET}-gcc || abort Build failed during gcc-core + +fi # GLIBC_ADDON_NPTL #--------------------------------------------------------- -echo Build glibc and linuxthreads +echo Build glibc mkdir -p build-glibc; cd build-glibc @@ -484,6 +626,16 @@ # note: this is awkward, doesn't work well if you need more than one line in configparms echo ${GLIBC_CONFIGPARMS} > configparms +if test '!' -z "${GLIBC_ADDON_NPTL}"; then + # Following configure tests fail while cross-compiling + echo "libc_cv_forced_unwind=yes" > config.cache + echo "libc_cv_c_cleanup=yes" >> config.cache + # The following is moot, currently you cannot build nptl for sparc64 + case ${TARGET} in + sparc64* ) echo "libc_cv_sparc64_tls=yes" >> config.cache ;; + esac +fi # GLIBC_ADDON_NPTL + if test '!' -f Makefile; then # Configure with --prefix the way we want it on the target... # There are a whole lot of settings here. You'll probably want @@ -502,11 +654,11 @@ ${GLIBC_DIR}/configure --prefix=/usr \ --build=$BUILD --host=$TARGET \ ${GLIBC_EXTRA_CONFIG} \ - --enable-kernel=2.4.3 \ + --enable-kernel=${GLIBC_MIN_KERNEL} \ --without-cvs --disable-profile --disable-debug --without-gd \ - --without-tls --without-__thread \ $SHARED_MODE \ - --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR + --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR \ + --cache-file=config.cache fi if grep -l '^install-lib-all:' ${GLIBC_DIR}/Makerules > /dev/null; then diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-alpha-nptl.sh crosstool-0.37/demo-alpha-nptl.sh --- crosstool-0.37.orig/demo-alpha-nptl.sh 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/demo-alpha-nptl.sh 2005-07-19 12:54:58.000000000 -0700 @@ -0,0 +1,19 @@ +#!/bin/sh +set -ex +TARBALLS_DIR=$HOME/downloads +RESULT_TOP=/opt/crosstool +export TARBALLS_DIR RESULT_TOP +GCC_LANGUAGES="c,c++" +export GCC_LANGUAGES + +GLIBC_ADDON_NPTL=1 +export GLIBC_ADDON_NPTL=1 + +# Really, you should do the mkdir before running this, +# and chown /opt/crosstool to yourself so you don't need to run as root. +mkdir -p $RESULT_TOP + +# Build the toolchain. Takes a couple hours and a couple gigabytes. + eval `cat alpha.dat gcc-3.4.1-glibc-2.3.3.dat` sh all.sh --notest + +echo Done. diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-alpha.sh crosstool-0.37/demo-alpha.sh --- crosstool-0.37.orig/demo-alpha.sh 2005-07-04 23:08:52.000000000 -0700 +++ crosstool-0.37/demo-alpha.sh 2005-07-19 12:54:58.000000000 -0700 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES +GLIBC_ADDON_LINUXTHREADS=1 +export GLIBC_ADDON_LINUXTHREADS + # Really, you should do the mkdir before running this, # and chown /opt/crosstool to yourself so you don't need to run as root. mkdir -p $RESULT_TOP diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-arm9tdmi.sh crosstool-0.37/demo-arm9tdmi.sh --- crosstool-0.37.orig/demo-arm9tdmi.sh 2005-03-09 13:50:19.000000000 -0800 +++ crosstool-0.37/demo-arm9tdmi.sh 2005-07-19 12:54:58.000000000 -0700 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES +GLIBC_ADDON_LINUXTHREADS=1 +export GLIBC_ADDON_LINUXTHREADS + # Really, you should do the mkdir before running this, # and chown /opt/crosstool to yourself so you don't need to run as root. mkdir -p $RESULT_TOP diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-armeb.sh crosstool-0.37/demo-armeb.sh --- crosstool-0.37.orig/demo-armeb.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-armeb.sh 2005-07-19 12:54:58.000000000 -0700 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES +GLIBC_ADDON_LINUXTHREADS=1 +export GLIBC_ADDON_LINUXTHREADS + # Really, you should do the mkdir before running this, # and chown /opt/crosstool to yourself so you don't need to run as root. mkdir -p $RESULT_TOP diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-arm-iwmmxt.sh crosstool-0.37/demo-arm-iwmmxt.sh --- crosstool-0.37.orig/demo-arm-iwmmxt.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-arm-iwmmxt.sh 2005-07-19 12:54:58.000000000 -0700 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES +GLIBC_ADDON_LINUXTHREADS=1 +export GLIBC_ADDON_LINUXTHREADS + # Really, you should do the