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 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.sh crosstool-0.37/demo-arm.sh --- crosstool-0.37.orig/demo-arm.sh 2005-07-09 22:15:18.000000000 -0700 +++ crosstool-0.37/demo-arm.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-softfloat.sh crosstool-0.37/demo-arm-softfloat.sh --- crosstool-0.37.orig/demo-arm-softfloat.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-arm-softfloat.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-armv5b-softfloat.sh crosstool-0.37/demo-armv5b-softfloat.sh --- crosstool-0.37.orig/demo-armv5b-softfloat.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-armv5b-softfloat.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-cris.sh crosstool-0.37/demo-cris.sh --- crosstool-0.37.orig/demo-cris.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-cris.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-i686-nptl.sh crosstool-0.37/demo-i686-nptl.sh --- crosstool-0.37.orig/demo-i686-nptl.sh 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/demo-i686-nptl.sh 2005-07-19 12:54:58.000000000 -0700 @@ -0,0 +1,20 @@ +#!/bin/sh +set -ex +TARBALLS_DIR=$PWD/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 + +# 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 i686.dat gcc-3.4.3-glibc-2.3.3.dat` sh all.sh --notest + +echo Done. diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-i686.sh crosstool-0.37/demo-i686.sh --- crosstool-0.37.orig/demo-i686.sh 2005-07-09 22:08:35.000000000 -0700 +++ crosstool-0.37/demo-i686.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-ia64.sh crosstool-0.37/demo-ia64.sh --- crosstool-0.37.orig/demo-ia64.sh 2005-03-09 13:49:19.000000000 -0800 +++ crosstool-0.37/demo-ia64.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-m68k.sh crosstool-0.37/demo-m68k.sh --- crosstool-0.37.orig/demo-m68k.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-m68k.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-mipsel.sh crosstool-0.37/demo-mipsel.sh --- crosstool-0.37.orig/demo-mipsel.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-mipsel.sh 2005-07-19 12:54:58.000000000 -0700 @@ -20,6 +20,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-mips-nptl.sh crosstool-0.37/demo-mips-nptl.sh --- crosstool-0.37.orig/demo-mips-nptl.sh 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/demo-mips-nptl.sh 2005-07-19 12:54:58.000000000 -0700 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex + +# Big-endian MIPS + +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 mips.dat gcc-4.1.0-20050520-glibc-20050520.dat` sh all.sh --notest + +echo Done. diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-powerpc64-nptl.sh crosstool-0.37/demo-powerpc64-nptl.sh --- crosstool-0.37.orig/demo-powerpc64-nptl.sh 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/demo-powerpc64-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 + +# 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 powerpc-970.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-ppc405.sh crosstool-0.37/demo-ppc405.sh --- crosstool-0.37.orig/demo-ppc405.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-ppc405.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-ppc440.sh crosstool-0.37/demo-ppc440.sh --- crosstool-0.37.orig/demo-ppc440.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-ppc440.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-ppc604.sh crosstool-0.37/demo-ppc604.sh --- crosstool-0.37.orig/demo-ppc604.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-ppc604.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-ppc7450.sh crosstool-0.37/demo-ppc7450.sh --- crosstool-0.37.orig/demo-ppc7450.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-ppc7450.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-ppc750.sh crosstool-0.37/demo-ppc750.sh --- crosstool-0.37.orig/demo-ppc750.sh 2005-07-05 10:25:20.000000000 -0700 +++ crosstool-0.37/demo-ppc750.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-ppc860.sh crosstool-0.37/demo-ppc860.sh --- crosstool-0.37.orig/demo-ppc860.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-ppc860.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-ppc970.sh crosstool-0.37/demo-ppc970.sh --- crosstool-0.37.orig/demo-ppc970.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-ppc970.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-s390.sh crosstool-0.37/demo-s390.sh --- crosstool-0.37.orig/demo-s390.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-s390.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-sh3.sh crosstool-0.37/demo-sh3.sh --- crosstool-0.37.orig/demo-sh3.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-sh3.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-sh4.sh crosstool-0.37/demo-sh4.sh --- crosstool-0.37.orig/demo-sh4.sh 2005-05-16 21:16:51.000000000 -0700 +++ crosstool-0.37/demo-sh4.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-sparc64.sh crosstool-0.37/demo-sparc64.sh --- crosstool-0.37.orig/demo-sparc64.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-sparc64.sh 2005-07-19 12:54:58.000000000 -0700 @@ -8,6 +8,9 @@ #PARALLELMFLAGS="-j2" #export PARALLELMFLAGS +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-sparc.sh crosstool-0.37/demo-sparc.sh --- crosstool-0.37.orig/demo-sparc.sh 2005-03-07 16:34:34.000000000 -0800 +++ crosstool-0.37/demo-sparc.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-x86_64-nptl.sh crosstool-0.37/demo-x86_64-nptl.sh --- crosstool-0.37.orig/demo-x86_64-nptl.sh 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/demo-x86_64-nptl.sh 2005-07-19 12:54:58.000000000 -0700 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex +TARBALLS_DIR=$HOME/downloads +RESULT_TOP=/opt/crosstool +export TARBALLS_DIR RESULT_TOP +#GCC_LANGUAGES="c,c++,java,f77" +GCC_LANGUAGES="c,c++" +export GCC_LANGUAGES + +GLIBC_ADDON_NPTL=1 +export GLIBC_ADDON_NPTL + +# 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. +# Must use --with-sysroot, which means you need gcc-3.3.3 or later. +# eval `cat x86_64.dat gcc-3.4.1-glibc-2.3.3.dat` sh all.sh --notest + eval `cat x86_64.dat gcc-3.4.1-glibc-2.3.4.dat` sh all.sh --notest + +echo Done. diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-x86_64.sh crosstool-0.37/demo-x86_64.sh --- crosstool-0.37.orig/demo-x86_64.sh 2005-06-29 16:04:05.000000000 -0700 +++ crosstool-0.37/demo-x86_64.sh 2005-07-19 12:54:58.000000000 -0700 @@ -7,6 +7,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/gcc-3.2.3-glibc-2.3.2.dat crosstool-0.37/gcc-3.2.3-glibc-2.3.2.dat --- crosstool-0.37.orig/gcc-3.2.3-glibc-2.3.2.dat 2005-05-15 13:08:30.000000000 -0700 +++ crosstool-0.37/gcc-3.2.3-glibc-2.3.2.dat 2005-07-19 12:54:58.000000000 -0700 @@ -2,4 +2,3 @@ GCC_DIR=gcc-3.2.3 GLIBC_DIR=glibc-2.3.2 LINUX_DIR=linux-2.4.26 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.1.3.dat crosstool-0.37/gcc-3.3.4-glibc-2.1.3.dat --- crosstool-0.37.orig/gcc-3.3.4-glibc-2.1.3.dat 2005-03-09 14:05:23.000000000 -0800 +++ crosstool-0.37/gcc-3.3.4-glibc-2.1.3.dat 2005-07-19 12:54:58.000000000 -0700 @@ -1,6 +1,5 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.1.3 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.1.3 GLIBCCRYPT_FILENAME=glibc-crypt-2.1 LINUX_DIR=linux-2.4.26 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.2.5.dat crosstool-0.37/gcc-3.3.4-glibc-2.2.5.dat --- crosstool-0.37.orig/gcc-3.3.4-glibc-2.2.5.dat 2005-03-09 14:05:23.000000000 -0800 +++ crosstool-0.37/gcc-3.3.4-glibc-2.2.5.dat 2005-07-19 12:54:58.000000000 -0700 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.2.5 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5 LINUX_DIR=linux-2.4.26 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.2.dat crosstool-0.37/gcc-3.3.4-glibc-2.3.2.dat --- crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.2.dat 2005-03-09 14:05:23.000000000 -0800 +++ crosstool-0.37/gcc-3.3.4-glibc-2.3.2.dat 2005-07-19 12:54:58.000000000 -0700 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.3.2 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 LINUX_DIR=linux-2.4.26 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.3.dat crosstool-0.37/gcc-3.3.4-glibc-2.3.3.dat --- crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.3.dat 2005-03-09 14:05:23.000000000 -0800 +++ crosstool-0.37/gcc-3.3.4-glibc-2.3.3.dat 2005-07-19 12:54:58.000000000 -0700 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.3.3 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3 LINUX_DIR=linux-2.4.26 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3-glibc-2.3.2.dat crosstool-0.37/gcc-3.3-glibc-2.3.2.dat --- crosstool-0.37.orig/gcc-3.3-glibc-2.3.2.dat 2005-03-09 14:05:23.000000000 -0800 +++ crosstool-0.37/gcc-3.3-glibc-2.3.2.dat 2005-07-19 12:54:58.000000000 -0700 @@ -2,4 +2,3 @@ GCC_DIR=gcc-3.3 LINUX_DIR=linux-2.4.26 GLIBC_DIR=glibc-2.3.2 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.4.1-glibc-2.3.4.dat crosstool-0.37/gcc-3.4.1-glibc-2.3.4.dat --- crosstool-0.37.orig/gcc-3.4.1-glibc-2.3.4.dat 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/gcc-3.4.1-glibc-2.3.4.dat 2005-07-19 12:54:58.000000000 -0700 @@ -0,0 +1,4 @@ +BINUTILS_DIR=binutils-2.15 +GCC_DIR=gcc-3.4.1 +GLIBC_DIR=glibc-2.3.4-20040701 +LINUX_DIR=linux-2.6.6 diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-4.1.0-20050520-glibc-20050520.dat crosstool-0.37/gcc-4.1.0-20050520-glibc-20050520.dat --- crosstool-0.37.orig/gcc-4.1.0-20050520-glibc-20050520.dat 1969-12-31 16:00:00.000000000 -0800 +++ crosstool-0.37/gcc-4.1.0-20050520-glibc-20050520.dat 2005-07-19 12:54:58.000000000 -0700 @@ -0,0 +1,5 @@ +BINUTILS_EXTRA_CONFIG="--disable-werror" +BINUTILS_DIR=binutils-2.16 +GCC_DIR=gcc-4.1.0-20050520 +GLIBC_DIR=glibc-20050520 +LINUX_DIR=linux-2.6.12-rc4 diff -urN --exclude='*.orig' crosstool-0.37.orig/getandpatch.sh crosstool-0.37/getandpatch.sh --- crosstool-0.37.orig/getandpatch.sh 2005-07-05 15:37:25.000000000 -0700 +++ crosstool-0.37/getandpatch.sh 2005-07-19 12:54:58.000000000 -0700 @@ -33,7 +33,9 @@ test -z "${LINUX_SANITIZED_HEADER_DIR}" && echo "Not downloading linux-libc-headers. Set LINUX_SANITIZED_HEADER_DIR to do so" test -z "${LINUX_DIR}" && echo "Not downloading kernel sources. Set LINUX_DIR if you want to do so" # And one is derived. - GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'` + if test '!' -z "${GLIBC_ADDON_LINUXTHREADS}"; then + GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'` + fi fi test -z "${TARBALLS_DIR}" && abort "Please set TARBALLS_DIR to the directory to download tarballs to." @@ -248,7 +250,7 @@ # Fetch linux-libc-headers, if requested test -n "${LINUX_SANITIZED_HEADER_DIR}" && getUnpackAndPatch http://ep09.pld-linux.org/~mmazur/linux-libc-headers/${LINUX_SANITIZED_HEADER_DIR}.tar.bz2 # Glibc addons must come after glibc - getUnpackAndPatch \ + test x$GLIBCTHREADS_FILENAME = x || getUnpackAndPatch \ ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.bz2 \ ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.gz \ ftp://gcc.gnu.org/pub/glibc/releases/$GLIBCTHREADS_FILENAME.tar.bz2 \ --------------070907010405050302090607 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 --------------070907010405050302090607-- From - Wed Jul 20 01:20:45 2005 X-UIDL: a7e77a4b9e827020 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 73311 invoked by uid 3177); 20 Jul 2005 08:26:48 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 73308 invoked from network); 20 Jul 2005 08:26:48 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 20 Jul 2005 08:26:48 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 43D4692D3E for ; Wed, 20 Jul 2005 04:26:48 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 1B4CB92D3D for ; Wed, 20 Jul 2005 04:26:47 -0400 (EDT) Received: (qmail 14049 invoked by alias); 20 Jul 2005 08:26:44 -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 13900 invoked by uid 22791); 20 Jul 2005 08:26:35 -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; Wed, 20 Jul 2005 08:26:35 +0000 Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id A0876CC0AB4; Wed, 20 Jul 2005 04:26:33 -0400 (EDT) Received: from [10.1.0.73] (wc-200.r-195-35-170.essentkabel.com [195.35.170.200]) by www.fastmail.fm (Postfix) with ESMTP id 2CB951DC; Wed, 20 Jul 2005 04:26:32 -0400 (EDT) Subject: Re: Patch for crosstool.sh in crosstool-0.37 From: Leon Woestenberg To: Khem Raj , crossgcc In-Reply-To: <42DC559D.7040705@mvista.com> References: <42DC559D.7040705@mvista.com> Content-Type: text/plain Message-Id: <1121847992.4437.26.camel@localhost.localdomain> Mime-Version: 1.0 Date: Wed, 20 Jul 2005 10:26:32 +0200 Content-Transfer-Encoding: 7bit Hello, On Tue, 2005-07-19 at 03:21, Khem Raj wrote: > 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 > For maximum safety when relinking, use the -n option as well. Otherwise you end up with a link *inside* a referenced (earlier linked) directory. (Instead of replacing the link-to-directory). "ln -snf" is always a safe bet when (re)creating a symbolic link. Regards, Leon. ------ 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 - Fri Jul 22 21:59:16 2005 X-UIDL: a6ab99e8c339d067 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 96071 invoked by uid 3177); 22 Jul 2005 06:55:26 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 96068 invoked from network); 22 Jul 2005 06:55:26 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 22 Jul 2005 06:55:26 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 3A44092D47 for ; Fri, 22 Jul 2005 02:55:26 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id E03DC92D3C for ; Fri, 22 Jul 2005 02:55:25 -0400 (EDT) Received: (qmail 944 invoked by alias); 22 Jul 2005 06:55:24 -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 934 invoked by uid 22791); 22 Jul 2005 06:55:19 -0000 Received: from mail.sysgo.com (HELO mail.sysgo.com) (62.8.134.5) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 22 Jul 2005 06:55:19 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.sysgo.com (Postfix) with ESMTP id DA6E1FB871; Fri, 22 Jul 2005 08:54:34 +0200 (CEST) Received: from mail.sysgo.com (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.2-8) id 26352-4446E511; Fri, 22 Jul 2005 08:54:34 +0200 Received: from donald.sysgo.com (unknown [172.20.1.30]) by mail.sysgo.com (Postfix) with ESMTP id B94DBFB871; Fri, 22 Jul 2005 08:54:34 +0200 (CEST) Received: by donald.sysgo.com (Postfix, from userid 65534) id 56F7A173F25; Fri, 22 Jul 2005 09:33:39 +0200 (CEST) Received: from kah.ulm.sysgo.com (kah.sysgo.com [172.40.1.2]) by donald.sysgo.com (Postfix) with ESMTP id 5A375E0FB6; Fri, 22 Jul 2005 09:33:36 +0200 (CEST) Received: from gja.ulm.sysgo.com (gja.ulm.sysgo.com [172.40.1.130]) by kah.ulm.sysgo.com (8.9.3/8.8.8) with ESMTP id JAA20925; Fri, 22 Jul 2005 09:02:15 +0200 From: Gerhard Jaeger To: crossgcc@sources.redhat.com Subject: Re: powerpc-linux gcc build error Date: Fri, 22 Jul 2005 08:54:29 +0200 User-Agent: KMail/1.8.1 Cc: Ganesh.Tawde@relianceinfo.com References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507220854.29536.g.jaeger@sysgo.com> X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-8; AVE: 6.31.1.0; VDF: 6.31.1.8; host: mailgate2.sysgo.com) On Thursday 21 July 2005 14:24, Ganesh.Tawde@relianceinfo.com wrote: > Hi, > > I am trying to build a cross compiler toolset for powerpc-linux on a RH9 > Linux machine. The binutils builds fine. When it comes to building the gcc > core, I get the following error. I m using gcc-3.4.0, binutils-2.14, > glibc-2.3.2 and glibc-linuxthreads-2.3.2. > > ======================================================= > /root/ppc_crossgcc/build-gcc/gcc/xgcc -B/root/ppc_crossgcc/build-gcc/gcc/ > -B/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ > -B/opt/crossgcc/powerpc-linux/powerpc-linux/lib/ -isystem > /opt/crossgcc/powerpc-linux/powerpc-linux/include -isystem > /opt/crossgcc/powerpc-linux/powerpc-linux/sys-include -O2 -DIN_GCC > -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. > -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc-3.4.0 > /gcc/../include -g0 -finhibit-size-directive -fno-inline-functions > -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fPIC > -msdata=none \ > -Dinhibit_libc -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O > \ > -o crtendS.o > make \ > CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -pedantic -Wno-long-long " \ > CONFIG_H="config.h auto-host.h ../../gcc-3.4.0 > /gcc/../include/ansidecl.h" \ > MAKEOVERRIDES= \ > -f libgcc.mk all > make[2]: Entering directory `/root/ppc_crossgcc/build-gcc/gcc' > for d in libgcc nof libgcc/nof; do \ > if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4.0/gcc/mkinstalldirs > $d; fi; \ > done > mkdir -p -- libgcc > mkdir -p -- nof > mkdir -p -- libgcc/nof > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi > /root/ppc_crossgcc/build-gcc/gcc/xgcc -B/root/ppc_crossgcc/build-gcc/gcc/ > -B/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ > -B/opt/crossgcc/powerpc-linux/powerpc-linux/lib/ -isystem > /opt/crossgcc/powerpc-linux/powerpc-linux/include -isystem > /opt/crossgcc/powerpc-linux/powerpc-linux/sys-include -O2 -DIN_GCC > -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I > -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/ -I../../gcc-3.4.0 > /gcc/../include -fPIC -mstrict-align -DL_muldi3 -c ../../gcc-3.4.0 > /gcc/libgcc2.c -o libgcc/./_muldi3.o > In file included from ./tm.h:10, > from ../../gcc-3.4.0/gcc/libgcc2.c:43: > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:100:20: signal.h: No such file or > directory > In file included from ./tm.h:10, > from ../../gcc-3.4.0/gcc/libgcc2.c:43: > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:109: error: parse error before > "stack_t" > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:109: warning: no semicolon at end > of struct or union > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:111: error: parse error before > "uc_sigmask" > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:111: warning: type defaults to > `int' in declaration of `uc_sigmask' > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:111: warning: data definition has > no type or storage class > ../../gcc-3.4.0/gcc/config/rs6000/linux.h:110: error: storage size of > `uc_mcontext' isn't known > make[2]: *** [libgcc/./_muldi3.o] Error 1 > make[2]: Leaving directory `/root/ppc_crossgcc/build-gcc/gcc' > make[1]: *** [stmp-multilib] Error 2 > make[1]: Leaving directory `/root/ppc_crossgcc/build-gcc/gcc' > make: *** [all-gcc] Error 2 > > ======================================================= > > > Googling on this error gave me some results with similar error faced before > by many people but could not find a proper solution. > I am using the build procedure as listed in > > http://www.pages.drexel.edu/~sg64/stuff/cross-compile.htm > > and also this one > > http://www.cs.duke.edu/~irwin/gcc_ppc.html > > and also referring to Bill Gatliff's script. > > I also tried copying signal.h from other folders but still get errors as > the build proceeds. > > Any help would be appreciated. > > Rgds, > Ganesh You might want to try the patch below (maybe you need to tweak it for 3.4.0 as it's for 3.4.3), but I think the idea behind will become clear. HTH Gerhard -- Gerhard Jaeger SYSGO AG Embedded and Real-Time Software www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de --- gcc-3.4.3/gcc/config/rs6000/linux.h.orig 2004-10-03 05:43:56.000000000 +0200 +++ gcc-3.4.3/gcc/config/rs6000/linux.h 2005-02-09 14:36:33.000000000 +0100 @@ -104,6 +104,8 @@ /* Do code reading to identify a signal frame, and set the frame state data appropriately. See unwind-dw2.c for the structs. */ +#ifndef inhibit_libc + #ifdef IN_LIBGCC2 #include @@ -187,3 +189,5 @@ enum { SIGNAL_FRAMESIZE = 64 }; (FS)->retaddr_column = CR0_REGNO; \ goto SUCCESS; \ } while (0) + +#endif /* inhibit_libc */ ------ 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 21 17:41:14 2005 X-UIDL: a0fb4c5e2d398b30 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 86085 invoked by uid 3177); 21 Jul 2005 18:14:39 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 86082 invoked from network); 21 Jul 2005 18:14:39 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 21 Jul 2005 18:14:39 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id C521C92D3D for ; Thu, 21 Jul 2005 14:14:39 -0400 (EDT) Received: from hotmail.com (bay22-f23.bay22.hotmail.com [64.4.16.73]) by mailwash1.pair.com (Postfix) with ESMTP id 901B692D3A for ; Thu, 21 Jul 2005 14:14:39 -0400 (EDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 21 Jul 2005 11:14:38 -0700 Message-ID: Received: from 63.236.40.151 by by22fd.bay22.hotmail.msn.com with HTTP; Thu, 21 Jul 2005 18:14:38 GMT X-Originating-IP: [217.210.117.242] X-Originating-Email: [kristoffer_e1@hotmail.com] X-Sender: kristoffer_e1@hotmail.com In-Reply-To: <42DFAAFD.5070009@kegel.com> From: "Kristoffer Ericson" To: dank@kegel.com, crossgcc@sources.redhat.com Subject: Making CrossTool Build Static ToolChain Date: Thu, 21 Jul 2005 18:14:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 21 Jul 2005 18:14:38.0676 (UTC) FILETIME=[0EB4E140:01C58E20] Greetings, In short: BINUTILS: Had no luck supplying the BINUTILS_EXTRA_CONFIG in configure script with the "LDFLAGS=-all-static" it just ment that it used that option for the first configure scripts but left it out in all the others. So I removed that option from the configure script and first made it make all configure scripts with "make configure-host", and after that supplied it with the BINUTILS_EXTRA_CONFIG in the make line. GCC: I just removed the GCC_EXTRA_CONFIG from the configure script and put it after the make line instead, otherwise it still kept doing dynamic. Havent tried this on any other platforms than the SH3 but im guessing it should fit atleast a few platforms. Dan, Perhaps using BINUTILS_EXTRA_CONFIG & GCC_EXTRA_CONFIG isnt the best way to enable static. Perhaps a BINUTILS_EXTRA_MAKE & GCC_EXTRA_MAKE? That way a user could enable static toolchain by adding : #Unrem to make static #BINUTILS_EXTRA_MAKE = "LDFLAGS=-all-static" #GCC_EXTRA_MAKE = "LDFLAGS=-static" Best wishes Kristoffer Ericson www.jlime.com --- crosstool.sh 2005-07-10 02:47:29.000000000 +0200 +++ /work/downloads/crosstool-0.37/crosstool.sh 2005-07-17 22:21:17.000000000 +0200 @@ -347,10 +347,11 @@ mkdir -p build-binutils; cd build-binutils if test '!' -f Makefile; then - ${BINUTILS_DIR}/configure $CANADIAN_BUILD --target=$TARGET --host=$GCC_HOST --prefix=$PREFIX --disable-nls ${BINUTILS_EXTRA_CONFIG} $BINUTILS_SYSROOT_ARG + ${BINUTILS_DIR}/configure $CANADIAN_BUILD --target=$TARGET --host=$GCC_HOST --prefix=$PREFIX --disable-nls $BINUTILS_SYSROOT_ARG fi -make $PARALLELMFLAGS all +make configure-host +make ${BINUTILS_EXTRA_CONF} $PARALLELMFLAGS all make install if test x"$CORE_PREFIX" != x"$PREFIX"; then @@ -457,7 +458,6 @@ --with-local-prefix=${SYSROOT} \ --disable-multilib \ --with-newlib \ - ${GCC_EXTRA_CONFIG} \ ${GCC_SYSROOT_ARG_CORE} \ --disable-nls \ --enable-threads=no \ @@ -468,7 +468,7 @@ fi test "$CANADIAN_BUILD" = "" || make $PARALLELMFLAGS all-build-libiberty || true -make $PARALLELMFLAGS all-gcc +make ${GCC_EXTRA_CONFIG} $PARALLELMFLAGS all-gcc make install-gcc cd .. @@ -577,7 +577,6 @@ # --disable-nls to work around crash bug on ppc405, but also because embedded # systems don't really need message catalogs... ${GCC_DIR}/configure $CANADIAN_BUILD --target=$TARGET --host=$GCC_HOST --prefix=$PREFIX \ - ${GCC_EXTRA_CONFIG} \ $GCC_SYSROOT_ARG \ --with-local-prefix=${SYSROOT} \ --disable-nls \ @@ -618,7 +617,7 @@ ;; esac -make $PARALLELMFLAGS all +make ${GCC_EXTRA_CONFIG} $PARALLELMFLAGS all make install # FIXME: shouldn't people who want this just --disable-multilib in final gcc and be done with it? From - Sat Jul 23 20:04:34 2005 X-UIDL: 8d2b1a21c5052327 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 28394 invoked by uid 3177); 23 Jul 2005 08:35:44 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 28379 invoked from network); 23 Jul 2005 08:35:38 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 23 Jul 2005 08:35:38 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 2E12A92D3E for ; Sat, 23 Jul 2005 04:35:38 -0400 (EDT) Received: from av.mvista.com (gateway-1237.mvista.com [12.44.186.158]) by mailwash1.pair.com (Postfix) with ESMTP id CD0C192D49 for ; Sat, 23 Jul 2005 04:35:37 -0400 (EDT) Received: from [10.0.4.58] (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id BAA12091; Sat, 23 Jul 2005 01:35:35 -0700 Message-ID: <42E20156.4050305@mvista.com> Date: Sat, 23 Jul 2005 01:35:34 -0700 From: Khem Raj Organization: MontaVista Software Inc. User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Kegel CC: "Matthew O'Hare" , crossgcc Subject: =?windows-1252?Q?Re=3A_Crosstool_build_on_FC4_-_decl?= =?windows-1252?Q?aration_of______=91current=5Fmenu=92_er?= =?windows-1252?Q?ror?= References: <34570.192.168.0.2.1122072898.squirrel@www.matthewohare.com> <42E1D2CA.5030804@kegel.com> In-Reply-To: <42E1D2CA.5030804@kegel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Dan Kegel wrote: > Matthew O'Hare wrote: > >> Hi Dan >> >> First of all thanks for the work you've put into crosstool, it worked >> perfectly for me on RH9 and I successfully compiled code for my Phatbox >> (www.phatnoise.com) car audio system, I've been very impressed at how >> polished it was! > > > Yay... > >> I've since upgraded to Fedora Core 4 and things haven't been quite as >> smooth. >> This is the message I get upon running demo-arm.sh: >> [... building linux-2.6.8 ...] >> HOSTCC scripts/kconfig/mconf.o >> scripts/kconfig/mconf.c:91: error: static declaration of >> ‘current_menu’ follows non-static declaration >> scripts/kconfig/lkc.h:63: error: previous declaration of >> ‘current_menu’ was here >> make[1]: *** [scripts/kconfig/mconf.o] Error 1 >> make: *** [oldconfig] Error 2 >> >> Is it a gcc 4 issue? > I encountered same issue in uclibc. I posted a patch to solve it here http://uclibc.org/lists/uclibc/2005-July/012187.html > > Yes. It first showed up with gcc-3.5 about a year ago. > See > https://mail.rtai.org/pipermail/rtai/2005-July/012283.html > > Can you update to 2.6.11.3 or 2.6.12? I suspect that > error was fixed sometime before that version. > - Dan > > From - Wed Jul 27 15:42:52 2005 X-UIDL: 7a6238646405caca 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 49385 invoked by uid 3177); 27 Jul 2005 05:57:13 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 49382 invoked from network); 27 Jul 2005 05:57:13 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 27 Jul 2005 05:57:13 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id B8EB092D30 for ; Wed, 27 Jul 2005 01:57:13 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 6C14092D36 for ; Wed, 27 Jul 2005 01:57:13 -0400 (EDT) Received: (qmail 12852 invoked by alias); 27 Jul 2005 05:57:11 -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 12840 invoked by uid 22791); 27 Jul 2005 05:57:05 -0000 Received: from gateway-1237.mvista.com (HELO av.mvista.com) (12.44.186.158) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 27 Jul 2005 05:57:05 +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 WAA23349 for ; Tue, 26 Jul 2005 22:57:02 -0700 Message-ID: <42E7222D.6070900@mvista.com> Date: Tue, 26 Jul 2005 22:57:01 -0700 From: Khem Raj User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: [PATCH] pthreadtypes.h not found NPTL patch Content-Type: multipart/mixed; boundary="------------010209080706050801080606" --------------010209080706050801080606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi I encountered a problem while building ppc64 NPTL toolchain. The copy operation for pthreadtypes.h was assuming that sysdeps has same sub directory name as ${ARCH} variable meant for linux part. However this is not true in case of ppc64/ppc where the sysdeps directory is called 'powerpc' similarily for sparc and sparc64 The build would fail complaining about nptl/sysdeps/unix/sysv/linux/ppc64/bits/pthreadtypes.h not founds This patch corrects the problem. This patch may be incorporated into the NPTL patch. Thanks Khem --------------010209080706050801080606 Content-Type: text/plain; name="diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff" --- crosstool-0.37/crosstool.sh.orig 2005-07-26 22:48:21.000000000 -0700 +++ crosstool-0.37/crosstool.sh 2005-07-26 16:17:07.000000000 -0700 @@ -453,20 +453,31 @@ if grep -q 'gcc-[34]' ${GCC_CORE_DIR}/Ch # 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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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 ;; + sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + ;; + sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; + powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; esac test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h + cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h ;; esac fi # GLIBC_ADDONS_NPTL --------------010209080706050801080606 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 --------------010209080706050801080606-- From - Thu Jul 21 17:41:33 2005 X-UIDL: f4315f0633a4a1e6 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 5110 invoked by uid 3177); 21 Jul 2005 19:52:55 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 5107 invoked from network); 21 Jul 2005 19:52:55 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 21 Jul 2005 19:52:55 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 727ED92D49 for ; Thu, 21 Jul 2005 15:52:55 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 507BD92D3D for ; Thu, 21 Jul 2005 15:52:55 -0400 (EDT) Received: (qmail 6371 invoked by alias); 21 Jul 2005 19:52:54 -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 6343 invoked by uid 22791); 21 Jul 2005 19:52:51 -0000 Received: from gateway-1237.mvista.com (HELO av.mvista.com) (12.44.186.158) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 21 Jul 2005 19:52:51 +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 MAA02868; Thu, 21 Jul 2005 12:49:48 -0700 Message-ID: <42DFFC5C.3080901@mvista.com> Date: Thu, 21 Jul 2005 12:49:48 -0700 From: Khem Raj User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) MIME-Version: 1.0 To: Khem Raj CC: crossgcc Subject: Re: arm-softfloat glibc build problem. References: <42DFF519.2020204@mvista.com> In-Reply-To: <42DFF519.2020204@mvista.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Khem Raj wrote: > Has someone got over this problem. > > http://kegel.com/crosstool/crosstool-0.37/buildlogs/armv5b-softfloat-gcc-4.0.0-glibc-2.3.5-hdrs-2.6.11.2.log.txt > > > 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 > http://kegel.com/crosstool/crosstool-0.37/patches/gcc-3.4.0/gcc-3.4.0-arm-lib1asm.patch is the answer I think. ------ 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 - Wed Aug 3 14:39:02 2005 X-UIDL: ac4106e120ff6893 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 25087 invoked by uid 3177); 3 Aug 2005 21:45:27 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 25084 invoked from network); 3 Aug 2005 21:45:27 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 3 Aug 2005 21:45:27 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id BD17792D60 for ; Wed, 3 Aug 2005 17:45:27 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 9822192D43 for ; Wed, 3 Aug 2005 17:45:27 -0400 (EDT) Received: (qmail 24677 invoked by alias); 3 Aug 2005 21:45: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 24669 invoked by uid 22791); 3 Aug 2005 21:45:21 -0000 Received: from pop.gmx.de (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Wed, 03 Aug 2005 21:45:21 +0000 Received: (qmail invoked by alias); 03 Aug 2005 21:45:18 -0000 Received: from p549D28AA.dip0.t-ipconnect.de (EHLO [192.168.178.23]) [84.157.40.170] by mail.gmx.net (mp010) with SMTP; 03 Aug 2005 23:45:18 +0200 X-Authenticated: #494916 Message-ID: <42F13AED.1040003@gmx.de> Date: Wed, 03 Aug 2005 23:45:17 +0200 From: Peter Schaefer User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: Re: PPC cross with NPTL References: <42F13788.1070708@conspiracy.net> In-Reply-To: <42F13788.1070708@conspiracy.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Am 03.08.2005 23:30, Paul Bilke wrote: > Using crosstool-0.37 I have been trying to build a PPC-604 with NPTL > target on x86 host. Multiple configurations fail with the same error but > the included info is for > gcc-4.0.0 and glibc-2.3.5 > > It fails building the GLIB trying to create tcb-offsets.h > > It is trying to build the following from STDIN: > > #include > #include > void dummy(void) { > # undef __thread_register > # define __thread_register ((void *) 0) > # define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0) > #if TLS_MULTIPLE_THREADS_IN_TCB > asm ("@@@name@@@MULTIPLE_THREADS_OFFSET@@@value@@@%0@@@end@@@" : : "i" > (thread_offsetof (header.multiple_threads))); > #endif > asm ("@@@name@@@PID@@@value@@@%0@@@end@@@" : : "i" (thread_offsetof (pid))); > asm ("@@@name@@@TID@@@value@@@%0@@@end@@@" : : "i" (thread_offsetof (tid))); > } > > There seems to be issues on several arch's building this but I have yet > to find any resolution to this issue. > > Any help would be appreciated! You can try the following patch: --- libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2004/12/15 06:07:00 1.5 +++ libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2005/02/14 22:44:12 1.6 @@ -6,7 +6,8 @@ -- Abuse tls.h macros to derive offsets relative to the thread register. # undef __thread_register # define __thread_register ((void *) 0) -# define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0) +# define thread_offsetof(mem) ((ptrdiff_t) THREAD_SELF + offsetof (struct pthread, mem)) + #if TLS_MULTIPLE_THREADS_IN_TCB MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) Best regards, Peter ------ 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 - Wed Aug 3 14:39:03 2005 X-UIDL: 7b35ca9d0748350c 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 25890 invoked by uid 3177); 3 Aug 2005 21:48:04 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 25886 invoked from network); 3 Aug 2005 21:48:04 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 3 Aug 2005 21:48:04 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 486BE92D3E for ; Wed, 3 Aug 2005 17:48:04 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 23E9E92D35 for ; Wed, 3 Aug 2005 17:48:04 -0400 (EDT) Received: (qmail 25778 invoked by alias); 3 Aug 2005 21:48:03 -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 25754 invoked by uid 22791); 3 Aug 2005 21:47:59 -0000 Received: from pop.gmx.de (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Wed, 03 Aug 2005 21:47:59 +0000 Received: (qmail invoked by alias); 03 Aug 2005 21:47:57 -0000 Received: from p549D28AA.dip0.t-ipconnect.de (EHLO [192.168.178.23]) [84.157.40.170] by mail.gmx.net (mp024) with SMTP; 03 Aug 2005 23:47:57 +0200 X-Authenticated: #494916 Message-ID: <42F13B8C.3030400@gmx.de> Date: Wed, 03 Aug 2005 23:47:56 +0200 From: Peter Schaefer User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: Re: PPC cross with NPTL References: <42F13788.1070708@conspiracy.net> <42F13AED.1040003@gmx.de> In-Reply-To: <42F13AED.1040003@gmx.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Am 03.08.2005 23:45, Peter Schaefer wrote: > Am 03.08.2005 23:30, Paul Bilke wrote: > >>Using crosstool-0.37 I have been trying to build a PPC-604 with NPTL >>target on x86 host. Multiple configurations fail with the same error but >>the included info is for >>gcc-4.0.0 and glibc-2.3.5 >> >>It fails building the GLIB trying to create tcb-offsets.h >> >>It is trying to build the following from STDIN: >> >>#include >>#include >>void dummy(void) { >># undef __thread_register >># define __thread_register ((void *) 0) >># define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0) >>#if TLS_MULTIPLE_THREADS_IN_TCB >>asm ("@@@name@@@MULTIPLE_THREADS_OFFSET@@@value@@@%0@@@end@@@" : : "i" >>(thread_offsetof (header.multiple_threads))); >>#endif >>asm ("@@@name@@@PID@@@value@@@%0@@@end@@@" : : "i" (thread_offsetof (pid))); >>asm ("@@@name@@@TID@@@value@@@%0@@@end@@@" : : "i" (thread_offsetof (tid))); >>} >> >>There seems to be issues on several arch's building this but I have yet >>to find any resolution to this issue. >> >>Any help would be appreciated! > > > You can try the following patch: > > [ snip ] Forgot to say: Put it in patches/glibc-2.3.5. Regards, Peter ------ 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 Aug 4 07:07:28 2005 X-UIDL: 05e96914d274ee2d 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 10570 invoked by uid 3177); 4 Aug 2005 14:14:38 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 10564 invoked from network); 4 Aug 2005 14:14:38 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 4 Aug 2005 14:14:38 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id BF79292D44 for ; Thu, 4 Aug 2005 10:14:38 -0400 (EDT) Received: from scr.siemens.com (scr.siemens.com [206.106.168.10]) by mailwash1.pair.com (Postfix) with ESMTP id 3F3A792D3B for ; Thu, 4 Aug 2005 10:14:38 -0400 (EDT) X-SCR-Return-Path: (as seen by scr.siemens.com) Received: from postoffice.scr.siemens.com (postoffice.scr.siemens.com [129.73.8.49]) by scr.siemens.com (8.11.7/8.11.7) with ESMTP id j74EEa907944 for ; Thu, 4 Aug 2005 10:14:36 -0400 (EDT) Received: by postoffice.scr.siemens.com with Internet Mail Service (5.5.2653.19) id <3CQ9WWZ0>; Thu, 4 Aug 2005 10:14:36 -0400 Message-ID: <20B20848358CDA44AB6A2E277D2E1C5E09508A48@postoffice.scr.siemens.com> From: "Schreiber, Mark" To: dank@kegel.com Subject: You are a wonderful person Date: Thu, 4 Aug 2005 10:14:33 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C598FE.D66B0E24" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C598FE.D66B0E24 Content-Type: text/plain Thank you so much for writing crosstool. Years ago, I spent ages setting up a gcc cross-compiler, and was looking at doing so again with dread (especially an unusual cygwin->Linux cross-compiler). With crosstool, I was up and running after a single, automated, overnight build -- I really didn't think it would work, as it seemed too good to be true. You are an absolute angel. Thank you. ------_=_NextPart_001_01C598FE.D66B0E24 Content-Type: text/html
Thank you so much for writing crosstool.  Years ago, I spent ages setting up a gcc cross-compiler, and was looking at doing so again with dread (especially an unusual cygwin->Linux cross-compiler).  With crosstool, I was up and running after a single, automated, overnight build -- I really didn't think it would work, as it seemed too good to be true.  You are an absolute angel.  Thank you.
------_=_NextPart_001_01C598FE.D66B0E24-- From - Fri Aug 5 09:43:06 2005 X-UIDL: f0653efb13580145 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 76336 invoked by uid 3177); 5 Aug 2005 16:50:32 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 76333 invoked from network); 5 Aug 2005 16:50:32 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 5 Aug 2005 16:50:32 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 07F8992D30 for ; Fri, 5 Aug 2005 12:50:33 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id D4D3C92D16 for ; Fri, 5 Aug 2005 12:50:32 -0400 (EDT) Received: (qmail 23651 invoked by alias); 5 Aug 2005 16:50: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 23642 invoked by uid 22791); 5 Aug 2005 16:50:25 -0000 Received: from web41122.mail.yahoo.com (HELO web41122.mail.yahoo.com) (66.218.94.165) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Fri, 05 Aug 2005 16:50:25 +0000 Received: (qmail 14233 invoked by uid 60001); 5 Aug 2005 16:50:23 -0000 Message-ID: <20050805165023.14231.qmail@web41122.mail.yahoo.com> Received: from [192.85.47.1] by web41122.mail.yahoo.com via HTTP; Fri, 05 Aug 2005 09:50:23 PDT Date: Fri, 5 Aug 2005 09:50:23 -0700 (PDT) From: EJS Subject: Re: User env not set on chrootshell To: crossgcc@sources.redhat.com In-Reply-To: <42F2B935.6070904@kegel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Dan Kegel wrote: > EJS wrote: > http://kegel.com/crosstool/crosstool-0.38/chrootshell.c; > > however when I try to telnet into the jail using > my > > jailed user. The chrootshell throws an error: > > > > chrootshell: USER not set?!; died on line 131, > errno 0 > > > > It looks like the User environment variable is not > > getting set upon login. Any ideas how to > troubleshoot > > this? > > Hmm. (I suppose you could check the sshd source > code > to see if it sets USER.) > > http://www.scit.wlv.ac.uk/cgi-bin/mansec?1+login > says that USER isn't in the initial environment. > Maybe chrootshell should set it using > getpwuid(getuid()) getpwuid(getuid()) did the trick! Thanks Dan. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ------ 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 Aug 8 07:58:36 2005 X-UIDL: 615603cfcbdefa5c 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 84882 invoked by uid 3177); 8 Aug 2005 07:10:47 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 84879 invoked from network); 8 Aug 2005 07:10:47 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 8 Aug 2005 07:10:47 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 0903892D48 for ; Mon, 8 Aug 2005 03:10:47 -0400 (EDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mailwash1.pair.com (Postfix) with SMTP id 842F292D46 for ; Mon, 8 Aug 2005 03:10:46 -0400 (EDT) Received: (qmail invoked by alias); 08 Aug 2005 07:10:45 -0000 Received: from p549D0187.dip0.t-ipconnect.de (EHLO [192.168.178.23]) [84.157.1.135] by mail.gmx.net (mp032) with SMTP; 08 Aug 2005 09:10:45 +0200 X-Authenticated: #494916 Message-ID: <42F70571.6070206@gmx.de> Date: Mon, 08 Aug 2005 09:10:41 +0200 From: Peter Schaefer User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Dan Kegel CC: crossgcc@sources.redhat.com Subject: Re: crosstool-0.38, ppc860, NPTL and gcc4.0.1 References: <42EFDD76.60902@gmx.de> <42F137B9.1020101@gmx.de> <42F5D6D7.2040902@gmx.de> <42F622D3.2020402@kegel.com> In-Reply-To: <42F622D3.2020402@kegel.com> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Am 07.08.2005 17:03, Dan Kegel wrote: > > Congrats on figuring it out! Thanks - but that doesn't bring the colour back to my hair ... :). > I'll put this in crosstool-0.39 as crosstool-0.38-nptl-schaefer.patch. This would too much honour, i merely added a few lines to the existing crosstool-0.37-nptl.patch (see below). I would prefer an update for this patch. > BTW, why'd you need to add --cache-file=config.cache ? > - Dan I don't know :) - it was in the crosstool-0.37-nptl.patch already. See below, that's the diff between "my" crosstool.sh and a crosstool-0.38 patched with the crosstool-0.37-nptl.patch. The first hunk was in fact already posted on this list by Khem Raj. I'm going to post an interdiff for crosstool-0.37-nptl.patch later today. Best regards, Peter --- crosstool.sh 2005-08-08 08:45:45.817433608 +0200 +++ crosstool.sh.new 2005-08-08 08:48:00.356980488 +0200 @@ -452,20 +452,31 @@ # 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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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 ;; + sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + ;; + sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; + powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; esac test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h + cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h ;; esac fi # GLIBC_ADDONS_NPTL @@ -598,11 +609,13 @@ # 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 + make configure-libiberty + make -C libiberty libiberty.a + make configure-gcc + make configure-libcpp + make all-libcpp else - make configure-gcc + make configure-gcc make configure-libcpp make configure-build-libiberty make all-libcpp From - Mon Aug 8 07:59:45 2005 X-UIDL: d8d5decc6a7a48ea 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 52495 invoked by uid 3177); 8 Aug 2005 13:57:56 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 52492 invoked from network); 8 Aug 2005 13:57:56 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 8 Aug 2005 13:57:56 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 0C81D92D66 for ; Mon, 8 Aug 2005 09:57:56 -0400 (EDT) Received: from chickenandporn.com (unknown [38.116.37.93]) by mailwash1.pair.com (Postfix) with ESMTP id C3EEC92D63 for ; Mon, 8 Aug 2005 09:57:55 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by chickenandporn.com (8.13.4/8.13.4/Debian-3) with ESMTP id j78DwEnP014804; Mon, 8 Aug 2005 09:58:19 -0400 Message-ID: <42F73548.9050301@chickenandporn.com> Date: Mon, 08 Aug 2005 18:34:48 +0800 From: Allan Clark User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Kegel CC: crossgcc Subject: Re: crosstool-0.38 released References: <42EF14E7.2060203@kegel.com> In-Reply-To: <42EF14E7.2060203@kegel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dan Kegel wrote: > This just rolls up a few fixes I needed, and updates > to binutils-2.16.1 for gcc-4.x. I put it together > a week or two ago, only just now got a chance to post. > - Dan > > [...] > > buildsrpms.sh: > * now correctly aborts if no CPUs supported > > [...] I've re-cut a patch that I think I did before: rather than assume what the RPM _topdir is, I read it from the ~/.rpmrc file that the build*rpm*sh scripts need to exist anyhow. The patch is quite trivial, applies to crosstool-0.38, is available for download: http://chickenandporn.com/~allanc/rpmtopdir.patch Allan -- vcard: http://chickenandporn.com/r/vcard From - Mon Aug 8 09:28:00 2005 X-UIDL: b1cb770fc73cc92f 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 84036 invoked by uid 3177); 8 Aug 2005 16:33:19 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 84033 invoked from network); 8 Aug 2005 16:33:19 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 8 Aug 2005 16:33:19 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 1576692D41 for ; Mon, 8 Aug 2005 12:33:19 -0400 (EDT) Received: from chickenandporn.com (unknown [38.116.37.93]) by mailwash1.pair.com (Postfix) with ESMTP id CD0DD92D35 for ; Mon, 8 Aug 2005 12:33:18 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by chickenandporn.com (8.13.4/8.13.4/Debian-3) with ESMTP id j78GXZXj015501; Mon, 8 Aug 2005 12:33:37 -0400 Message-ID: <42F78932.4020207@chickenandporn.com> Date: Tue, 09 Aug 2005 00:32:50 +0800 From: Allan Clark User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Kegel Subject: Re: crosstool-0.38 released References: <42EF14E7.2060203@kegel.com> <42F73548.9050301@chickenandporn.com> <42F77976.7050005@kegel.com> <42F780BB.4090204@chickenandporn.com> <42F78304.8080002@kegel.com> In-Reply-To: <42F78304.8080002@kegel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dan Kegel wrote: > Allan Clark wrote: > >>>> I've re-cut a patch that I think I did before: rather than assume >>>> what the RPM _topdir is, I read it from the ~/.rpmrc file that the >>>> build*rpm*sh scripts need to exist anyhow. The patch is quite >>>> trivial, applies to crosstool-0.38, is available for download: >>>> >>>> http://chickenandporn.com/~allanc/rpmtopdir.patch >>> > >>> Can you add at least two lines as a comment at the top >>> of your patch file, giving your name, the copyright owner's name >>> (probably you), and the license terms? >> >> >> >> Check the URL and see if it's suitable... not sure, it's such a tiny >> patch, I was just going to give you the copyright. I truly don't >> care much, so long as it's in the project. > > > Looks good. If you want to give me copyright, add a line > saying "Copyright is hereby assigned to Dan Kegel." > It might not hold up in court, but hey, at least it shows > your intent. Done. Not a huge contribution, but at least it's most logical. If the patch is suitable, I'll mark read-only. I don't want to alter your copywritten works without permission :) Allan From - Tue Aug 9 00:02:18 2005 X-UIDL: 45b4837ed19b8474 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 44303 invoked by uid 3177); 9 Aug 2005 07:04:48 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 44300 invoked from network); 9 Aug 2005 07:04:48 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 9 Aug 2005 07:04:48 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 534EB92D31 for ; Tue, 9 Aug 2005 03:04:48 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id EB84392D39 for ; Tue, 9 Aug 2005 03:04:47 -0400 (EDT) Received: (qmail 15057 invoked by alias); 9 Aug 2005 07:04:45 -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 14500 invoked by uid 22791); 9 Aug 2005 07:04:01 -0000 Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Tue, 09 Aug 2005 07:04:00 +0000 Received: (qmail invoked by alias); 09 Aug 2005 07:03:53 -0000 Received: from p549D075A.dip0.t-ipconnect.de (EHLO [192.168.178.23]) [84.157.7.90] by mail.gmx.net (mp001) with SMTP; 09 Aug 2005 09:03:53 +0200 X-Authenticated: #494916 Message-ID: <42F85551.7030307@gmx.de> Date: Tue, 09 Aug 2005 09:03:45 +0200 From: Peter Schaefer User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: Re: crosstool-0.38, ppc860, NPTL and gcc4.0.1 References: <42EFDD76.60902@gmx.de> <42F137B9.1020101@gmx.de> <42F5D6D7.2040902@gmx.de> <42F622D3.2020402@kegel.com> <42F70571.6070206@gmx.de> In-Reply-To: <42F70571.6070206@gmx.de> Content-Type: multipart/mixed; boundary="------------040409070401010606060209" X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on sourceware.org --------------040409070401010606060209 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello! As promised, some cleaned-up patches. -> crosstool-0.37-nptl-update.patch This is a patch against contrib/crosstool-0.37-nptl.patch. It's a re-diff combined with my patches to compile a NPTL toolchain with gcc401-glibc-305 on ppc860. -> crosstool-0.38-nptl-gcc-401-glibc305-ppc.patch This is a patch against crosstool-0.38 that was already patched with contrib/crosstool-0.37-nptl.patch, adding just my changes. This doesn't touch contrib/crosstool-0.37-nptl.patch. -> crosstool-0.38-orig-gcc-401-glibc305-ppc.patch This is a patch against the native crosstool-0.38, effectively merging the contrib/crosstool-0.37-nptl.patch with my changes. This doesn't touch contrib/crosstool-0.37-nptl.patch. Best regards, Peter --------------040409070401010606060209 Content-Type: text/x-patch; name="crosstool-0.37-nptl-update.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="crosstool-0.37-nptl-update.patch" --- crosstool-0.37-nptl.patch 2005-08-09 08:44:32.190460176 +0200 +++ crosstool-0.38-orig-gcc401-glibc305-ppc.patch 2005-08-09 08:42:43.232024376 +0200 @@ -1,20 +1,6 @@ -Message-ID: <42DD6226.3010701@mvista.com> -Date: Tue, 19 Jul 2005 13:27:18 -0700 -From: Khem Raj -To: crossgcc -Subject: crosstool-nptl patch refreshed against 0.37 - -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. - -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 +diff -ruN crosstool-0.38.orig/crosstool.sh crosstool-0.38.ps/crosstool.sh +--- crosstool-0.38.orig/crosstool.sh 2005-07-21 19:58:19.000000000 +0200 ++++ crosstool-0.38.ps/crosstool.sh 2005-08-09 08:42:23.553016040 +0200 @@ -70,23 +70,28 @@ test -z "$BUILD" && abort "bug: BUILD not set?!" @@ -53,7 +39,7 @@ # 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 @@ +@@ -442,13 +447,47 @@ # http://sourceware.org/ml/crossgcc/2005-05/msg00168.html cp misc/syscall-list.h $HEADERDIR/bits/syscall.h @@ -62,20 +48,31 @@ + # 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 ++ pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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 ;; ++ sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h ++ pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h ++ ;; ++ sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h ++ pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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 ++ pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h ++ ;; ++ powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h ++ pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h ++ ;; + esac + test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h ++ cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h + ;; + esac + fi # GLIBC_ADDONS_NPTL @@ -92,7 +89,7 @@ echo Copy headers to install area of bootstrap gcc, so it can build libgcc2 mkdir -p $CORE_PREFIX/$TARGET/include -@@ -475,8 +503,122 @@ +@@ -480,8 +519,124 @@ logresult gcc-core $CORE_PREFIX/bin/${TARGET}-gcc${EXEEXT} @@ -186,15 +183,17 @@ + # 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 ++ make configure-libiberty ++ make -C libiberty libiberty.a ++ make configure-gcc ++ make configure-libcpp ++ make all-libcpp + else -+ make configure-gcc -+ make configure-libcpp -+ make configure-build-libiberty -+ make all-libcpp -+ make all-build-libiberty ++ make configure-gcc ++ make configure-libcpp ++ make configure-build-libiberty ++ make all-libcpp ++ make all-build-libiberty + fi + make -C gcc libgcc.mk + @@ -216,7 +215,7 @@ mkdir -p build-glibc; cd build-glibc -@@ -484,6 +626,16 @@ +@@ -489,6 +644,16 @@ # note: this is awkward, doesn't work well if you need more than one line in configparms echo ${GLIBC_CONFIGPARMS} > configparms @@ -233,7 +232,7 @@ 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 @@ +@@ -507,11 +672,11 @@ ${GLIBC_DIR}/configure --prefix=/usr \ --build=$BUILD --host=$TARGET \ ${GLIBC_EXTRA_CONFIG} \ @@ -248,9 +247,9 @@ 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 +diff -ruN crosstool-0.38.orig/demo-alpha-nptl.sh crosstool-0.38.ps/demo-alpha-nptl.sh +--- crosstool-0.38.orig/demo-alpha-nptl.sh 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/demo-alpha-nptl.sh 2005-08-09 08:34:08.327301792 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh +set -ex @@ -271,9 +270,9 @@ + 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 +diff -ruN crosstool-0.38.orig/demo-alpha.sh crosstool-0.38.ps/demo-alpha.sh +--- crosstool-0.38.orig/demo-alpha.sh 2005-07-05 08:08:52.000000000 +0200 ++++ crosstool-0.38.ps/demo-alpha.sh 2005-08-09 08:34:08.328301640 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -284,9 +283,9 @@ # 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 +diff -ruN crosstool-0.38.orig/demo-arm9tdmi.sh crosstool-0.38.ps/demo-arm9tdmi.sh +--- crosstool-0.38.orig/demo-arm9tdmi.sh 2005-03-09 22:50:19.000000000 +0100 ++++ crosstool-0.38.ps/demo-arm9tdmi.sh 2005-08-09 08:34:08.328301640 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -297,9 +296,9 @@ # 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 +diff -ruN crosstool-0.38.orig/demo-armeb.sh crosstool-0.38.ps/demo-armeb.sh +--- crosstool-0.38.orig/demo-armeb.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-armeb.sh 2005-08-09 08:34:08.328301640 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -310,9 +309,9 @@ # 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 +diff -ruN crosstool-0.38.orig/demo-arm-iwmmxt.sh crosstool-0.38.ps/demo-arm-iwmmxt.sh +--- crosstool-0.38.orig/demo-arm-iwmmxt.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-arm-iwmmxt.sh 2005-08-09 08:34:08.328301640 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -323,9 +322,9 @@ # 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.sh crosstool-0.37/demo-arm.sh ---- crosstool-0.37.orig/demo-arm.sh 2005-07-09 22:15:18.000000000 -0700 -+++ crosstool-0.37/demo-arm.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-arm.sh crosstool-0.38.ps/demo-arm.sh +--- crosstool-0.38.orig/demo-arm.sh 2005-07-10 07:15:18.000000000 +0200 ++++ crosstool-0.38.ps/demo-arm.sh 2005-08-09 08:34:08.329301488 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -336,9 +335,9 @@ # 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-softfloat.sh crosstool-0.37/demo-arm-softfloat.sh ---- crosstool-0.37.orig/demo-arm-softfloat.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-arm-softfloat.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-arm-softfloat.sh crosstool-0.38.ps/demo-arm-softfloat.sh +--- crosstool-0.38.orig/demo-arm-softfloat.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-arm-softfloat.sh 2005-08-09 08:34:08.329301488 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -349,9 +348,9 @@ # 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-armv5b-softfloat.sh crosstool-0.37/demo-armv5b-softfloat.sh ---- crosstool-0.37.orig/demo-armv5b-softfloat.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-armv5b-softfloat.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-armv5b-softfloat.sh crosstool-0.38.ps/demo-armv5b-softfloat.sh +--- crosstool-0.38.orig/demo-armv5b-softfloat.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-armv5b-softfloat.sh 2005-08-09 08:34:08.329301488 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -362,9 +361,9 @@ # 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-cris.sh crosstool-0.37/demo-cris.sh ---- crosstool-0.37.orig/demo-cris.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-cris.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-cris.sh crosstool-0.38.ps/demo-cris.sh +--- crosstool-0.38.orig/demo-cris.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-cris.sh 2005-08-09 08:34:08.329301488 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -375,9 +374,9 @@ # 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-i686-nptl.sh crosstool-0.37/demo-i686-nptl.sh ---- crosstool-0.37.orig/demo-i686-nptl.sh 1969-12-31 16:00:00.000000000 -0800 -+++ crosstool-0.37/demo-i686-nptl.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-i686-nptl.sh crosstool-0.38.ps/demo-i686-nptl.sh +--- crosstool-0.38.orig/demo-i686-nptl.sh 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/demo-i686-nptl.sh 2005-08-09 08:34:08.330301336 +0200 @@ -0,0 +1,20 @@ +#!/bin/sh +set -ex @@ -399,9 +398,9 @@ +eval `cat i686.dat gcc-3.4.3-glibc-2.3.3.dat` sh all.sh --notest + +echo Done. -diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-i686.sh crosstool-0.37/demo-i686.sh ---- crosstool-0.37.orig/demo-i686.sh 2005-07-09 22:08:35.000000000 -0700 -+++ crosstool-0.37/demo-i686.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-i686.sh crosstool-0.38.ps/demo-i686.sh +--- crosstool-0.38.orig/demo-i686.sh 2005-07-18 02:12:24.000000000 +0200 ++++ crosstool-0.38.ps/demo-i686.sh 2005-08-09 08:34:08.330301336 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -412,9 +411,9 @@ # 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-ia64.sh crosstool-0.37/demo-ia64.sh ---- crosstool-0.37.orig/demo-ia64.sh 2005-03-09 13:49:19.000000000 -0800 -+++ crosstool-0.37/demo-ia64.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ia64.sh crosstool-0.38.ps/demo-ia64.sh +--- crosstool-0.38.orig/demo-ia64.sh 2005-03-09 22:49:19.000000000 +0100 ++++ crosstool-0.38.ps/demo-ia64.sh 2005-08-09 08:34:08.330301336 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -425,9 +424,9 @@ # 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-m68k.sh crosstool-0.37/demo-m68k.sh ---- crosstool-0.37.orig/demo-m68k.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-m68k.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-m68k.sh crosstool-0.38.ps/demo-m68k.sh +--- crosstool-0.38.orig/demo-m68k.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-m68k.sh 2005-08-09 08:34:08.330301336 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -438,9 +437,9 @@ # 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-mipsel.sh crosstool-0.37/demo-mipsel.sh ---- crosstool-0.37.orig/demo-mipsel.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-mipsel.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-mipsel.sh crosstool-0.38.ps/demo-mipsel.sh +--- crosstool-0.38.orig/demo-mipsel.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-mipsel.sh 2005-08-09 08:34:08.331301184 +0200 @@ -20,6 +20,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -451,9 +450,9 @@ # 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-mips-nptl.sh crosstool-0.37/demo-mips-nptl.sh ---- crosstool-0.37.orig/demo-mips-nptl.sh 1969-12-31 16:00:00.000000000 -0800 -+++ crosstool-0.37/demo-mips-nptl.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-mips-nptl.sh crosstool-0.38.ps/demo-mips-nptl.sh +--- crosstool-0.38.orig/demo-mips-nptl.sh 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/demo-mips-nptl.sh 2005-08-09 08:34:08.331301184 +0200 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex @@ -477,9 +476,9 @@ +eval `cat mips.dat gcc-4.1.0-20050520-glibc-20050520.dat` sh all.sh --notest + +echo Done. -diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-powerpc64-nptl.sh crosstool-0.37/demo-powerpc64-nptl.sh ---- crosstool-0.37.orig/demo-powerpc64-nptl.sh 1969-12-31 16:00:00.000000000 -0800 -+++ crosstool-0.37/demo-powerpc64-nptl.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-powerpc64-nptl.sh crosstool-0.38.ps/demo-powerpc64-nptl.sh +--- crosstool-0.38.orig/demo-powerpc64-nptl.sh 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/demo-powerpc64-nptl.sh 2005-08-09 08:34:08.331301184 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh +set -ex @@ -500,9 +499,9 @@ + eval `cat powerpc-970.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-ppc405.sh crosstool-0.37/demo-ppc405.sh ---- crosstool-0.37.orig/demo-ppc405.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-ppc405.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc405.sh crosstool-0.38.ps/demo-ppc405.sh +--- crosstool-0.38.orig/demo-ppc405.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-ppc405.sh 2005-08-09 08:34:08.331301184 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -513,9 +512,9 @@ # 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-ppc440.sh crosstool-0.37/demo-ppc440.sh ---- crosstool-0.37.orig/demo-ppc440.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-ppc440.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc440.sh crosstool-0.38.ps/demo-ppc440.sh +--- crosstool-0.38.orig/demo-ppc440.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-ppc440.sh 2005-08-09 08:34:08.332301032 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -526,9 +525,9 @@ # 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-ppc604.sh crosstool-0.37/demo-ppc604.sh ---- crosstool-0.37.orig/demo-ppc604.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-ppc604.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc604.sh crosstool-0.38.ps/demo-ppc604.sh +--- crosstool-0.38.orig/demo-ppc604.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-ppc604.sh 2005-08-09 08:34:08.332301032 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -539,9 +538,9 @@ # 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-ppc7450.sh crosstool-0.37/demo-ppc7450.sh ---- crosstool-0.37.orig/demo-ppc7450.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-ppc7450.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc7450.sh crosstool-0.38.ps/demo-ppc7450.sh +--- crosstool-0.38.orig/demo-ppc7450.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-ppc7450.sh 2005-08-09 08:34:08.332301032 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -552,9 +551,9 @@ # 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-ppc750.sh crosstool-0.37/demo-ppc750.sh ---- crosstool-0.37.orig/demo-ppc750.sh 2005-07-05 10:25:20.000000000 -0700 -+++ crosstool-0.37/demo-ppc750.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc750.sh crosstool-0.38.ps/demo-ppc750.sh +--- crosstool-0.38.orig/demo-ppc750.sh 2005-07-05 19:25:20.000000000 +0200 ++++ crosstool-0.38.ps/demo-ppc750.sh 2005-08-09 08:34:08.332301032 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -565,9 +564,9 @@ # 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-ppc860.sh crosstool-0.37/demo-ppc860.sh ---- crosstool-0.37.orig/demo-ppc860.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-ppc860.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc860.sh crosstool-0.38.ps/demo-ppc860.sh +--- crosstool-0.38.orig/demo-ppc860.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-ppc860.sh 2005-08-09 08:34:08.333300880 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -578,9 +577,9 @@ # 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-ppc970.sh crosstool-0.37/demo-ppc970.sh ---- crosstool-0.37.orig/demo-ppc970.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-ppc970.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-ppc970.sh crosstool-0.38.ps/demo-ppc970.sh +--- crosstool-0.38.orig/demo-ppc970.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-ppc970.sh 2005-08-09 08:34:08.333300880 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -591,9 +590,9 @@ # 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-s390.sh crosstool-0.37/demo-s390.sh ---- crosstool-0.37.orig/demo-s390.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-s390.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-s390.sh crosstool-0.38.ps/demo-s390.sh +--- crosstool-0.38.orig/demo-s390.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-s390.sh 2005-08-09 08:34:08.333300880 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -604,9 +603,9 @@ # 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-sh3.sh crosstool-0.37/demo-sh3.sh ---- crosstool-0.37.orig/demo-sh3.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-sh3.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-sh3.sh crosstool-0.38.ps/demo-sh3.sh +--- crosstool-0.38.orig/demo-sh3.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-sh3.sh 2005-08-09 08:34:08.333300880 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -617,9 +616,9 @@ # 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-sh4.sh crosstool-0.37/demo-sh4.sh ---- crosstool-0.37.orig/demo-sh4.sh 2005-05-16 21:16:51.000000000 -0700 -+++ crosstool-0.37/demo-sh4.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-sh4.sh crosstool-0.38.ps/demo-sh4.sh +--- crosstool-0.38.orig/demo-sh4.sh 2005-07-18 16:19:04.000000000 +0200 ++++ crosstool-0.38.ps/demo-sh4.sh 2005-08-09 08:34:08.333300880 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -630,9 +629,9 @@ # 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-sparc64.sh crosstool-0.37/demo-sparc64.sh ---- crosstool-0.37.orig/demo-sparc64.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-sparc64.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-sparc64.sh crosstool-0.38.ps/demo-sparc64.sh +--- crosstool-0.38.orig/demo-sparc64.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-sparc64.sh 2005-08-09 08:34:08.334300728 +0200 @@ -8,6 +8,9 @@ #PARALLELMFLAGS="-j2" #export PARALLELMFLAGS @@ -643,9 +642,9 @@ # 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-sparc.sh crosstool-0.37/demo-sparc.sh ---- crosstool-0.37.orig/demo-sparc.sh 2005-03-07 16:34:34.000000000 -0800 -+++ crosstool-0.37/demo-sparc.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-sparc.sh crosstool-0.38.ps/demo-sparc.sh +--- crosstool-0.38.orig/demo-sparc.sh 2005-03-08 01:34:34.000000000 +0100 ++++ crosstool-0.38.ps/demo-sparc.sh 2005-08-09 08:34:08.334300728 +0200 @@ -6,6 +6,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -656,9 +655,9 @@ # 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-x86_64-nptl.sh crosstool-0.37/demo-x86_64-nptl.sh ---- crosstool-0.37.orig/demo-x86_64-nptl.sh 1969-12-31 16:00:00.000000000 -0800 -+++ crosstool-0.37/demo-x86_64-nptl.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-x86_64-nptl.sh crosstool-0.38.ps/demo-x86_64-nptl.sh +--- crosstool-0.38.orig/demo-x86_64-nptl.sh 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/demo-x86_64-nptl.sh 2005-08-09 08:34:08.334300728 +0200 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex @@ -682,9 +681,9 @@ + eval `cat x86_64.dat gcc-3.4.1-glibc-2.3.4.dat` sh all.sh --notest + +echo Done. -diff -urN --exclude='*.orig' crosstool-0.37.orig/demo-x86_64.sh crosstool-0.37/demo-x86_64.sh ---- crosstool-0.37.orig/demo-x86_64.sh 2005-06-29 16:04:05.000000000 -0700 -+++ crosstool-0.37/demo-x86_64.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/demo-x86_64.sh crosstool-0.38.ps/demo-x86_64.sh +--- crosstool-0.38.orig/demo-x86_64.sh 2005-06-30 01:04:05.000000000 +0200 ++++ crosstool-0.38.ps/demo-x86_64.sh 2005-08-09 08:34:08.334300728 +0200 @@ -7,6 +7,9 @@ GCC_LANGUAGES="c,c++" export GCC_LANGUAGES @@ -695,17 +694,17 @@ # 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/gcc-3.2.3-glibc-2.3.2.dat crosstool-0.37/gcc-3.2.3-glibc-2.3.2.dat ---- crosstool-0.37.orig/gcc-3.2.3-glibc-2.3.2.dat 2005-05-15 13:08:30.000000000 -0700 -+++ crosstool-0.37/gcc-3.2.3-glibc-2.3.2.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.2.3-glibc-2.3.2.dat crosstool-0.38.ps/gcc-3.2.3-glibc-2.3.2.dat +--- crosstool-0.38.orig/gcc-3.2.3-glibc-2.3.2.dat 2005-05-15 22:08:30.000000000 +0200 ++++ crosstool-0.38.ps/gcc-3.2.3-glibc-2.3.2.dat 2005-08-09 08:34:08.335300576 +0200 @@ -2,4 +2,3 @@ GCC_DIR=gcc-3.2.3 GLIBC_DIR=glibc-2.3.2 LINUX_DIR=linux-2.4.26 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.1.3.dat crosstool-0.37/gcc-3.3.4-glibc-2.1.3.dat ---- crosstool-0.37.orig/gcc-3.3.4-glibc-2.1.3.dat 2005-03-09 14:05:23.000000000 -0800 -+++ crosstool-0.37/gcc-3.3.4-glibc-2.1.3.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.1.3.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.1.3.dat +--- crosstool-0.38.orig/gcc-3.3.4-glibc-2.1.3.dat 2005-03-09 23:05:23.000000000 +0100 ++++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.1.3.dat 2005-08-09 08:34:08.335300576 +0200 @@ -1,6 +1,5 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 @@ -713,61 +712,61 @@ -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.1.3 GLIBCCRYPT_FILENAME=glibc-crypt-2.1 LINUX_DIR=linux-2.4.26 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.2.5.dat crosstool-0.37/gcc-3.3.4-glibc-2.2.5.dat ---- crosstool-0.37.orig/gcc-3.3.4-glibc-2.2.5.dat 2005-03-09 14:05:23.000000000 -0800 -+++ crosstool-0.37/gcc-3.3.4-glibc-2.2.5.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.2.5.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.2.5.dat +--- crosstool-0.38.orig/gcc-3.3.4-glibc-2.2.5.dat 2005-03-09 23:05:23.000000000 +0100 ++++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.2.5.dat 2005-08-09 08:34:08.335300576 +0200 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.2.5 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5 LINUX_DIR=linux-2.4.26 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.2.dat crosstool-0.37/gcc-3.3.4-glibc-2.3.2.dat ---- crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.2.dat 2005-03-09 14:05:23.000000000 -0800 -+++ crosstool-0.37/gcc-3.3.4-glibc-2.3.2.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.2.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.2.dat +--- crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.2.dat 2005-03-09 23:05:23.000000000 +0100 ++++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.2.dat 2005-08-09 08:34:08.335300576 +0200 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.3.2 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 LINUX_DIR=linux-2.4.26 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.3.dat crosstool-0.37/gcc-3.3.4-glibc-2.3.3.dat ---- crosstool-0.37.orig/gcc-3.3.4-glibc-2.3.3.dat 2005-03-09 14:05:23.000000000 -0800 -+++ crosstool-0.37/gcc-3.3.4-glibc-2.3.3.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.3.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.3.dat +--- crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.3.dat 2005-03-09 23:05:23.000000000 +0100 ++++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.3.dat 2005-08-09 08:34:08.336300424 +0200 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.3.3 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3 LINUX_DIR=linux-2.4.26 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.3-glibc-2.3.2.dat crosstool-0.37/gcc-3.3-glibc-2.3.2.dat ---- crosstool-0.37.orig/gcc-3.3-glibc-2.3.2.dat 2005-03-09 14:05:23.000000000 -0800 -+++ crosstool-0.37/gcc-3.3-glibc-2.3.2.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.3-glibc-2.3.2.dat crosstool-0.38.ps/gcc-3.3-glibc-2.3.2.dat +--- crosstool-0.38.orig/gcc-3.3-glibc-2.3.2.dat 2005-03-09 23:05:23.000000000 +0100 ++++ crosstool-0.38.ps/gcc-3.3-glibc-2.3.2.dat 2005-08-09 08:34:08.336300424 +0200 @@ -2,4 +2,3 @@ GCC_DIR=gcc-3.3 LINUX_DIR=linux-2.4.26 GLIBC_DIR=glibc-2.3.2 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-3.4.1-glibc-2.3.4.dat crosstool-0.37/gcc-3.4.1-glibc-2.3.4.dat ---- crosstool-0.37.orig/gcc-3.4.1-glibc-2.3.4.dat 1969-12-31 16:00:00.000000000 -0800 -+++ crosstool-0.37/gcc-3.4.1-glibc-2.3.4.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-3.4.1-glibc-2.3.4.dat crosstool-0.38.ps/gcc-3.4.1-glibc-2.3.4.dat +--- crosstool-0.38.orig/gcc-3.4.1-glibc-2.3.4.dat 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/gcc-3.4.1-glibc-2.3.4.dat 2005-08-09 08:34:08.336300424 +0200 @@ -0,0 +1,4 @@ +BINUTILS_DIR=binutils-2.15 +GCC_DIR=gcc-3.4.1 +GLIBC_DIR=glibc-2.3.4-20040701 +LINUX_DIR=linux-2.6.6 -diff -urN --exclude='*.orig' crosstool-0.37.orig/gcc-4.1.0-20050520-glibc-20050520.dat crosstool-0.37/gcc-4.1.0-20050520-glibc-20050520.dat ---- crosstool-0.37.orig/gcc-4.1.0-20050520-glibc-20050520.dat 1969-12-31 16:00:00.000000000 -0800 -+++ crosstool-0.37/gcc-4.1.0-20050520-glibc-20050520.dat 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/gcc-4.1.0-20050520-glibc-20050520.dat crosstool-0.38.ps/gcc-4.1.0-20050520-glibc-20050520.dat +--- crosstool-0.38.orig/gcc-4.1.0-20050520-glibc-20050520.dat 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/gcc-4.1.0-20050520-glibc-20050520.dat 2005-08-09 08:34:08.336300424 +0200 @@ -0,0 +1,5 @@ +BINUTILS_EXTRA_CONFIG="--disable-werror" +BINUTILS_DIR=binutils-2.16 +GCC_DIR=gcc-4.1.0-20050520 +GLIBC_DIR=glibc-20050520 +LINUX_DIR=linux-2.6.12-rc4 -diff -urN --exclude='*.orig' crosstool-0.37.orig/getandpatch.sh crosstool-0.37/getandpatch.sh ---- crosstool-0.37.orig/getandpatch.sh 2005-07-05 15:37:25.000000000 -0700 -+++ crosstool-0.37/getandpatch.sh 2005-07-19 12:54:58.000000000 -0700 +diff -ruN crosstool-0.38.orig/getandpatch.sh crosstool-0.38.ps/getandpatch.sh +--- crosstool-0.38.orig/getandpatch.sh 2005-07-06 00:37:25.000000000 +0200 ++++ crosstool-0.38.ps/getandpatch.sh 2005-08-09 08:34:08.337300272 +0200 @@ -33,7 +33,9 @@ test -z "${LINUX_SANITIZED_HEADER_DIR}" && echo "Not downloading linux-libc-headers. Set LINUX_SANITIZED_HEADER_DIR to do so" test -z "${LINUX_DIR}" && echo "Not downloading kernel sources. Set LINUX_DIR if you want to do so" @@ -788,4 +787,34 @@ ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.bz2 \ ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.gz \ ftp://gcc.gnu.org/pub/glibc/releases/$GLIBCTHREADS_FILENAME.tar.bz2 \ - +diff -ruN crosstool-0.38.orig/patches/gcc-4.0.1/libiberty.patch crosstool-0.38.ps/patches/gcc-4.0.1/libiberty.patch +--- crosstool-0.38.orig/patches/gcc-4.0.1/libiberty.patch 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/patches/gcc-4.0.1/libiberty.patch 2005-08-05 22:16:02.000000000 +0200 +@@ -0,0 +1,11 @@ ++--- gcc-4.0.1.orig/gcc/Makefile.in 2005-04-04 21:45:13.000000000 +0200 +++++ gcc-4.0.1/gcc/Makefile.in 2005-08-05 22:12:56.544994408 +0200 ++@@ -757,7 +757,7 @@ ++ ++ # Build and host support libraries. ++ LIBIBERTY = ../libiberty/libiberty.a ++-BUILD_LIBIBERTY = ../$(build_subdir)/libiberty/libiberty.a +++BUILD_LIBIBERTY = ../libiberty/libiberty.a ++ ++ # Dependencies on the intl and portability libraries. ++ LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) +diff -ruN crosstool-0.38.orig/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch crosstool-0.38.ps/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch +--- crosstool-0.38.orig/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch 1970-01-01 01:00:00.000000000 +0100 ++++ crosstool-0.38.ps/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch 2005-08-02 21:31:52.000000000 +0200 +@@ -0,0 +1,12 @@ ++--- libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2004/12/15 06:07:00 1.5 +++++ libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2005/02/14 22:44:12 1.6 ++@@ -6,7 +6,8 @@ ++ -- Abuse tls.h macros to derive offsets relative to the thread register. ++ # undef __thread_register ++ # define __thread_register ((void *) 0) ++-# define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0) +++# define thread_offsetof(mem) ((ptrdiff_t) THREAD_SELF + offsetof (struct pthread, mem)) +++ ++ ++ #if TLS_MULTIPLE_THREADS_IN_TCB ++ MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) --------------040409070401010606060209 Content-Type: text/x-patch; name="crosstool-0.38-nptl-gcc401-glibc305-ppc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="crosstool-0.38-nptl-gcc401-glibc305-ppc.patch" diff -ruN crosstool-0.38.nptl/crosstool.sh crosstool-0.38.ps/crosstool.sh --- crosstool-0.38.nptl/crosstool.sh 2005-08-09 08:31:33.425850392 +0200 +++ crosstool-0.38.ps/crosstool.sh 2005-08-09 08:42:23.553016040 +0200 @@ -452,20 +452,31 @@ # 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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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 ;; + sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + ;; + sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; + powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; esac test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h + cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h ;; esac fi # GLIBC_ADDONS_NPTL @@ -598,15 +609,17 @@ # 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 + make configure-libiberty + make -C libiberty libiberty.a + make configure-gcc + make configure-libcpp + make all-libcpp else - make configure-gcc - make configure-libcpp - make configure-build-libiberty - make all-libcpp - make all-build-libiberty + make configure-gcc + make configure-libcpp + make configure-build-libiberty + make all-libcpp + make all-build-libiberty fi make -C gcc libgcc.mk diff -ruN crosstool-0.38.nptl/patches/gcc-4.0.1/libiberty.patch crosstool-0.38.ps/patches/gcc-4.0.1/libiberty.patch --- crosstool-0.38.nptl/patches/gcc-4.0.1/libiberty.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/patches/gcc-4.0.1/libiberty.patch 2005-08-05 22:16:02.000000000 +0200 @@ -0,0 +1,11 @@ +--- gcc-4.0.1.orig/gcc/Makefile.in 2005-04-04 21:45:13.000000000 +0200 ++++ gcc-4.0.1/gcc/Makefile.in 2005-08-05 22:12:56.544994408 +0200 +@@ -757,7 +757,7 @@ + + # Build and host support libraries. + LIBIBERTY = ../libiberty/libiberty.a +-BUILD_LIBIBERTY = ../$(build_subdir)/libiberty/libiberty.a ++BUILD_LIBIBERTY = ../libiberty/libiberty.a + + # Dependencies on the intl and portability libraries. + LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) diff -ruN crosstool-0.38.nptl/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch crosstool-0.38.ps/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch --- crosstool-0.38.nptl/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch 2005-08-02 21:31:52.000000000 +0200 @@ -0,0 +1,12 @@ +--- libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2004/12/15 06:07:00 1.5 ++++ libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2005/02/14 22:44:12 1.6 +@@ -6,7 +6,8 @@ + -- Abuse tls.h macros to derive offsets relative to the thread register. + # undef __thread_register + # define __thread_register ((void *) 0) +-# define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0) ++# define thread_offsetof(mem) ((ptrdiff_t) THREAD_SELF + offsetof (struct pthread, mem)) ++ + + #if TLS_MULTIPLE_THREADS_IN_TCB + MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) --------------040409070401010606060209 Content-Type: text/x-patch; name="crosstool-0.38-orig-gcc401-glibc305-ppc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="crosstool-0.38-orig-gcc401-glibc305-ppc.patch" diff -ruN crosstool-0.38.orig/crosstool.sh crosstool-0.38.ps/crosstool.sh --- crosstool-0.38.orig/crosstool.sh 2005-07-21 19:58:19.000000000 +0200 +++ crosstool-0.38.ps/crosstool.sh 2005-08-09 08:42:23.553016040 +0200 @@ -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" @@ -442,13 +447,47 @@ # 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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + ;; + sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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 + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; + powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; + esac + test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h + cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.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 @@ -480,8 +519,124 @@ 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 + make configure-libcpp + make all-libcpp + 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 @@ -489,6 +644,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 @@ -507,11 +672,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 -ruN crosstool-0.38.orig/demo-alpha-nptl.sh crosstool-0.38.ps/demo-alpha-nptl.sh --- crosstool-0.38.orig/demo-alpha-nptl.sh 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/demo-alpha-nptl.sh 2005-08-09 08:34:08.327301792 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-alpha.sh crosstool-0.38.ps/demo-alpha.sh --- crosstool-0.38.orig/demo-alpha.sh 2005-07-05 08:08:52.000000000 +0200 +++ crosstool-0.38.ps/demo-alpha.sh 2005-08-09 08:34:08.328301640 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-arm9tdmi.sh crosstool-0.38.ps/demo-arm9tdmi.sh --- crosstool-0.38.orig/demo-arm9tdmi.sh 2005-03-09 22:50:19.000000000 +0100 +++ crosstool-0.38.ps/demo-arm9tdmi.sh 2005-08-09 08:34:08.328301640 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-armeb.sh crosstool-0.38.ps/demo-armeb.sh --- crosstool-0.38.orig/demo-armeb.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-armeb.sh 2005-08-09 08:34:08.328301640 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-arm-iwmmxt.sh crosstool-0.38.ps/demo-arm-iwmmxt.sh --- crosstool-0.38.orig/demo-arm-iwmmxt.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-arm-iwmmxt.sh 2005-08-09 08:34:08.328301640 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-arm.sh crosstool-0.38.ps/demo-arm.sh --- crosstool-0.38.orig/demo-arm.sh 2005-07-10 07:15:18.000000000 +0200 +++ crosstool-0.38.ps/demo-arm.sh 2005-08-09 08:34:08.329301488 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-arm-softfloat.sh crosstool-0.38.ps/demo-arm-softfloat.sh --- crosstool-0.38.orig/demo-arm-softfloat.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-arm-softfloat.sh 2005-08-09 08:34:08.329301488 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-armv5b-softfloat.sh crosstool-0.38.ps/demo-armv5b-softfloat.sh --- crosstool-0.38.orig/demo-armv5b-softfloat.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-armv5b-softfloat.sh 2005-08-09 08:34:08.329301488 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-cris.sh crosstool-0.38.ps/demo-cris.sh --- crosstool-0.38.orig/demo-cris.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-cris.sh 2005-08-09 08:34:08.329301488 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-i686-nptl.sh crosstool-0.38.ps/demo-i686-nptl.sh --- crosstool-0.38.orig/demo-i686-nptl.sh 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/demo-i686-nptl.sh 2005-08-09 08:34:08.330301336 +0200 @@ -0,0 +1,20 @@ +#!/bin/sh +set -ex +TARBALLS_DIR=$PWD/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 + +# 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 i686.dat gcc-3.4.3-glibc-2.3.3.dat` sh all.sh --notest + +echo Done. diff -ruN crosstool-0.38.orig/demo-i686.sh crosstool-0.38.ps/demo-i686.sh --- crosstool-0.38.orig/demo-i686.sh 2005-07-18 02:12:24.000000000 +0200 +++ crosstool-0.38.ps/demo-i686.sh 2005-08-09 08:34:08.330301336 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ia64.sh crosstool-0.38.ps/demo-ia64.sh --- crosstool-0.38.orig/demo-ia64.sh 2005-03-09 22:49:19.000000000 +0100 +++ crosstool-0.38.ps/demo-ia64.sh 2005-08-09 08:34:08.330301336 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-m68k.sh crosstool-0.38.ps/demo-m68k.sh --- crosstool-0.38.orig/demo-m68k.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-m68k.sh 2005-08-09 08:34:08.330301336 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-mipsel.sh crosstool-0.38.ps/demo-mipsel.sh --- crosstool-0.38.orig/demo-mipsel.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-mipsel.sh 2005-08-09 08:34:08.331301184 +0200 @@ -20,6 +20,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 -ruN crosstool-0.38.orig/demo-mips-nptl.sh crosstool-0.38.ps/demo-mips-nptl.sh --- crosstool-0.38.orig/demo-mips-nptl.sh 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/demo-mips-nptl.sh 2005-08-09 08:34:08.331301184 +0200 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex + +# Big-endian MIPS + +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 mips.dat gcc-4.1.0-20050520-glibc-20050520.dat` sh all.sh --notest + +echo Done. diff -ruN crosstool-0.38.orig/demo-powerpc64-nptl.sh crosstool-0.38.ps/demo-powerpc64-nptl.sh --- crosstool-0.38.orig/demo-powerpc64-nptl.sh 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/demo-powerpc64-nptl.sh 2005-08-09 08:34:08.331301184 +0200 @@ -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 + +# 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 powerpc-970.dat gcc-3.4.1-glibc-2.3.3.dat` sh all.sh --notest + +echo Done. diff -ruN crosstool-0.38.orig/demo-ppc405.sh crosstool-0.38.ps/demo-ppc405.sh --- crosstool-0.38.orig/demo-ppc405.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-ppc405.sh 2005-08-09 08:34:08.331301184 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ppc440.sh crosstool-0.38.ps/demo-ppc440.sh --- crosstool-0.38.orig/demo-ppc440.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-ppc440.sh 2005-08-09 08:34:08.332301032 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ppc604.sh crosstool-0.38.ps/demo-ppc604.sh --- crosstool-0.38.orig/demo-ppc604.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-ppc604.sh 2005-08-09 08:34:08.332301032 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ppc7450.sh crosstool-0.38.ps/demo-ppc7450.sh --- crosstool-0.38.orig/demo-ppc7450.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-ppc7450.sh 2005-08-09 08:34:08.332301032 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ppc750.sh crosstool-0.38.ps/demo-ppc750.sh --- crosstool-0.38.orig/demo-ppc750.sh 2005-07-05 19:25:20.000000000 +0200 +++ crosstool-0.38.ps/demo-ppc750.sh 2005-08-09 08:34:08.332301032 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ppc860.sh crosstool-0.38.ps/demo-ppc860.sh --- crosstool-0.38.orig/demo-ppc860.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-ppc860.sh 2005-08-09 08:34:08.333300880 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-ppc970.sh crosstool-0.38.ps/demo-ppc970.sh --- crosstool-0.38.orig/demo-ppc970.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-ppc970.sh 2005-08-09 08:34:08.333300880 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-s390.sh crosstool-0.38.ps/demo-s390.sh --- crosstool-0.38.orig/demo-s390.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-s390.sh 2005-08-09 08:34:08.333300880 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-sh3.sh crosstool-0.38.ps/demo-sh3.sh --- crosstool-0.38.orig/demo-sh3.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-sh3.sh 2005-08-09 08:34:08.333300880 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-sh4.sh crosstool-0.38.ps/demo-sh4.sh --- crosstool-0.38.orig/demo-sh4.sh 2005-07-18 16:19:04.000000000 +0200 +++ crosstool-0.38.ps/demo-sh4.sh 2005-08-09 08:34:08.333300880 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-sparc64.sh crosstool-0.38.ps/demo-sparc64.sh --- crosstool-0.38.orig/demo-sparc64.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-sparc64.sh 2005-08-09 08:34:08.334300728 +0200 @@ -8,6 +8,9 @@ #PARALLELMFLAGS="-j2" #export PARALLELMFLAGS +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 -ruN crosstool-0.38.orig/demo-sparc.sh crosstool-0.38.ps/demo-sparc.sh --- crosstool-0.38.orig/demo-sparc.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38.ps/demo-sparc.sh 2005-08-09 08:34:08.334300728 +0200 @@ -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 -ruN crosstool-0.38.orig/demo-x86_64-nptl.sh crosstool-0.38.ps/demo-x86_64-nptl.sh --- crosstool-0.38.orig/demo-x86_64-nptl.sh 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/demo-x86_64-nptl.sh 2005-08-09 08:34:08.334300728 +0200 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex +TARBALLS_DIR=$HOME/downloads +RESULT_TOP=/opt/crosstool +export TARBALLS_DIR RESULT_TOP +#GCC_LANGUAGES="c,c++,java,f77" +GCC_LANGUAGES="c,c++" +export GCC_LANGUAGES + +GLIBC_ADDON_NPTL=1 +export GLIBC_ADDON_NPTL + +# 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. +# Must use --with-sysroot, which means you need gcc-3.3.3 or later. +# eval `cat x86_64.dat gcc-3.4.1-glibc-2.3.3.dat` sh all.sh --notest + eval `cat x86_64.dat gcc-3.4.1-glibc-2.3.4.dat` sh all.sh --notest + +echo Done. diff -ruN crosstool-0.38.orig/demo-x86_64.sh crosstool-0.38.ps/demo-x86_64.sh --- crosstool-0.38.orig/demo-x86_64.sh 2005-06-30 01:04:05.000000000 +0200 +++ crosstool-0.38.ps/demo-x86_64.sh 2005-08-09 08:34:08.334300728 +0200 @@ -7,6 +7,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 -ruN crosstool-0.38.orig/gcc-3.2.3-glibc-2.3.2.dat crosstool-0.38.ps/gcc-3.2.3-glibc-2.3.2.dat --- crosstool-0.38.orig/gcc-3.2.3-glibc-2.3.2.dat 2005-05-15 22:08:30.000000000 +0200 +++ crosstool-0.38.ps/gcc-3.2.3-glibc-2.3.2.dat 2005-08-09 08:34:08.335300576 +0200 @@ -2,4 +2,3 @@ GCC_DIR=gcc-3.2.3 GLIBC_DIR=glibc-2.3.2 LINUX_DIR=linux-2.4.26 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.1.3.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.1.3.dat --- crosstool-0.38.orig/gcc-3.3.4-glibc-2.1.3.dat 2005-03-09 23:05:23.000000000 +0100 +++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.1.3.dat 2005-08-09 08:34:08.335300576 +0200 @@ -1,6 +1,5 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.1.3 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.1.3 GLIBCCRYPT_FILENAME=glibc-crypt-2.1 LINUX_DIR=linux-2.4.26 diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.2.5.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.2.5.dat --- crosstool-0.38.orig/gcc-3.3.4-glibc-2.2.5.dat 2005-03-09 23:05:23.000000000 +0100 +++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.2.5.dat 2005-08-09 08:34:08.335300576 +0200 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.2.5 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5 LINUX_DIR=linux-2.4.26 diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.2.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.2.dat --- crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.2.dat 2005-03-09 23:05:23.000000000 +0100 +++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.2.dat 2005-08-09 08:34:08.335300576 +0200 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.3.2 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 LINUX_DIR=linux-2.4.26 diff -ruN crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.3.dat crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.3.dat --- crosstool-0.38.orig/gcc-3.3.4-glibc-2.3.3.dat 2005-03-09 23:05:23.000000000 +0100 +++ crosstool-0.38.ps/gcc-3.3.4-glibc-2.3.3.dat 2005-08-09 08:34:08.336300424 +0200 @@ -1,5 +1,4 @@ BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.3.4 GLIBC_DIR=glibc-2.3.3 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3 LINUX_DIR=linux-2.4.26 diff -ruN crosstool-0.38.orig/gcc-3.3-glibc-2.3.2.dat crosstool-0.38.ps/gcc-3.3-glibc-2.3.2.dat --- crosstool-0.38.orig/gcc-3.3-glibc-2.3.2.dat 2005-03-09 23:05:23.000000000 +0100 +++ crosstool-0.38.ps/gcc-3.3-glibc-2.3.2.dat 2005-08-09 08:34:08.336300424 +0200 @@ -2,4 +2,3 @@ GCC_DIR=gcc-3.3 LINUX_DIR=linux-2.4.26 GLIBC_DIR=glibc-2.3.2 -GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 diff -ruN crosstool-0.38.orig/gcc-3.4.1-glibc-2.3.4.dat crosstool-0.38.ps/gcc-3.4.1-glibc-2.3.4.dat --- crosstool-0.38.orig/gcc-3.4.1-glibc-2.3.4.dat 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/gcc-3.4.1-glibc-2.3.4.dat 2005-08-09 08:34:08.336300424 +0200 @@ -0,0 +1,4 @@ +BINUTILS_DIR=binutils-2.15 +GCC_DIR=gcc-3.4.1 +GLIBC_DIR=glibc-2.3.4-20040701 +LINUX_DIR=linux-2.6.6 diff -ruN crosstool-0.38.orig/gcc-4.1.0-20050520-glibc-20050520.dat crosstool-0.38.ps/gcc-4.1.0-20050520-glibc-20050520.dat --- crosstool-0.38.orig/gcc-4.1.0-20050520-glibc-20050520.dat 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/gcc-4.1.0-20050520-glibc-20050520.dat 2005-08-09 08:34:08.336300424 +0200 @@ -0,0 +1,5 @@ +BINUTILS_EXTRA_CONFIG="--disable-werror" +BINUTILS_DIR=binutils-2.16 +GCC_DIR=gcc-4.1.0-20050520 +GLIBC_DIR=glibc-20050520 +LINUX_DIR=linux-2.6.12-rc4 diff -ruN crosstool-0.38.orig/getandpatch.sh crosstool-0.38.ps/getandpatch.sh --- crosstool-0.38.orig/getandpatch.sh 2005-07-06 00:37:25.000000000 +0200 +++ crosstool-0.38.ps/getandpatch.sh 2005-08-09 08:34:08.337300272 +0200 @@ -33,7 +33,9 @@ test -z "${LINUX_SANITIZED_HEADER_DIR}" && echo "Not downloading linux-libc-headers. Set LINUX_SANITIZED_HEADER_DIR to do so" test -z "${LINUX_DIR}" && echo "Not downloading kernel sources. Set LINUX_DIR if you want to do so" # And one is derived. - GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'` + if test '!' -z "${GLIBC_ADDON_LINUXTHREADS}"; then + GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'` + fi fi test -z "${TARBALLS_DIR}" && abort "Please set TARBALLS_DIR to the directory to download tarballs to." @@ -248,7 +250,7 @@ # Fetch linux-libc-headers, if requested test -n "${LINUX_SANITIZED_HEADER_DIR}" && getUnpackAndPatch http://ep09.pld-linux.org/~mmazur/linux-libc-headers/${LINUX_SANITIZED_HEADER_DIR}.tar.bz2 # Glibc addons must come after glibc - getUnpackAndPatch \ + test x$GLIBCTHREADS_FILENAME = x || getUnpackAndPatch \ ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.bz2 \ ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.gz \ ftp://gcc.gnu.org/pub/glibc/releases/$GLIBCTHREADS_FILENAME.tar.bz2 \ diff -ruN crosstool-0.38.orig/patches/gcc-4.0.1/libiberty.patch crosstool-0.38.ps/patches/gcc-4.0.1/libiberty.patch --- crosstool-0.38.orig/patches/gcc-4.0.1/libiberty.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/patches/gcc-4.0.1/libiberty.patch 2005-08-05 22:16:02.000000000 +0200 @@ -0,0 +1,11 @@ +--- gcc-4.0.1.orig/gcc/Makefile.in 2005-04-04 21:45:13.000000000 +0200 ++++ gcc-4.0.1/gcc/Makefile.in 2005-08-05 22:12:56.544994408 +0200 +@@ -757,7 +757,7 @@ + + # Build and host support libraries. + LIBIBERTY = ../libiberty/libiberty.a +-BUILD_LIBIBERTY = ../$(build_subdir)/libiberty/libiberty.a ++BUILD_LIBIBERTY = ../libiberty/libiberty.a + + # Dependencies on the intl and portability libraries. + LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) diff -ruN crosstool-0.38.orig/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch crosstool-0.38.ps/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch --- crosstool-0.38.orig/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38.ps/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-powerpc-nptl.patch 2005-08-02 21:31:52.000000000 +0200 @@ -0,0 +1,12 @@ +--- libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2004/12/15 06:07:00 1.5 ++++ libc/nptl/sysdeps/powerpc/tcb-offsets.sym 2005/02/14 22:44:12 1.6 +@@ -6,7 +6,8 @@ + -- Abuse tls.h macros to derive offsets relative to the thread register. + # undef __thread_register + # define __thread_register ((void *) 0) +-# define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0) ++# define thread_offsetof(mem) ((ptrdiff_t) THREAD_SELF + offsetof (struct pthread, mem)) ++ + + #if TLS_MULTIPLE_THREADS_IN_TCB + MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) --------------040409070401010606060209 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 --------------040409070401010606060209-- From - Tue Aug 9 14:09:45 2005 X-UIDL: 2cd782ebd03b3795 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 24249 invoked by uid 3177); 9 Aug 2005 21:10:55 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 24246 invoked from network); 9 Aug 2005 21:10:55 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 9 Aug 2005 21:10:55 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 834AD92D61 for ; Tue, 9 Aug 2005 17:10:55 -0400 (EDT) Received: from ns.traffictel.com (mail.conspiracy.net [209.189.226.94]) by mailwash1.pair.com (Postfix) with ESMTP id 31ED692D44 for ; Tue, 9 Aug 2005 17:10:55 -0400 (EDT) Received: from [127.0.0.1] (host99.intranet.conspiracy.net [10.10.10.99]) by ns.traffictel.com (8.11.6/8.11.6) with ESMTP id j79LAoc03516; Tue, 9 Aug 2005 16:10:50 -0500 Message-ID: <42F91BF0.3000107@conspiracy.net> Date: Tue, 09 Aug 2005 16:11:12 -0500 From: Paul Bilke User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Schaefer CC: Dan Kegel Subject: Re: crosstool-0.38, ppc860, NPTL and gcc4.0.1 References: <42EFDD76.60902@gmx.de> <42F137B9.1020101@gmx.de> <42F5D6D7.2040902@gmx.de> <42F622D3.2020402@kegel.com> <42F70571.6070206@gmx.de> In-Reply-To: <42F70571.6070206@gmx.de> X-Enigmail-Version: 0.91.0.0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0532-1, 08/09/2005), Outbound message X-Antivirus-Status: Clean X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-MailScanner-From: paul@conspiracy.net This worked for me after applying this patch you suggested for the tcp-offests.h build error.  Did not know if you wanted to include that patch for glibc-2.3.5 in your set.  With this I built gcc-4.0.1-glibc-2.3.5 for ppc 604 successfully.

Paul
You can try the following patch:

--- libc/nptl/sysdeps/powerpc/tcb-offsets.sym	2004/12/15 06:07:00	1.5
+++ libc/nptl/sysdeps/powerpc/tcb-offsets.sym	2005/02/14 22:44:12	1.6
@@ -6,7 +6,8 @@
 -- Abuse tls.h macros to derive offsets relative to the thread register.
 # undef __thread_register
 # define __thread_register	((void *) 0)
-# define thread_offsetof(mem)	((void *) &THREAD_SELF->mem - (void *) 0)
+# define thread_offsetof(mem)	((ptrdiff_t) THREAD_SELF + offsetof (struct pthread, mem))
+

 #if TLS_MULTIPLE_THREADS_IN_TCB
 MULTIPLE_THREADS_OFFSET		thread_offsetof (header.multiple_threads)


Paul Bilke.

Peter Schaefer wrote:
Am 07.08.2005 17:03, Dan Kegel wrote:
  
Congrats on figuring it out!
    

Thanks - but that doesn't bring the colour back to my hair ... :).

  
I'll put this in crosstool-0.39 as crosstool-0.38-nptl-schaefer.patch.
    

This would too much honour, i merely added a few lines to the existing
crosstool-0.37-nptl.patch (see below). I would prefer an update for
this patch.

  
BTW, why'd you need to add  --cache-file=config.cache ?
- Dan
    

I don't know :) - it was in the crosstool-0.37-nptl.patch already.
See below, that's the diff between "my" crosstool.sh and a
crosstool-0.38 patched with the crosstool-0.37-nptl.patch.

The first hunk was in fact already posted on this list by Khem Raj.

I'm going to post an interdiff for crosstool-0.37-nptl.patch later
today.

Best regards,

 Peter

--- crosstool.sh	2005-08-08 08:45:45.817433608 +0200
+++ crosstool.sh.new	2005-08-08 08:48:00.356980488 +0200
@@ -452,20 +452,31 @@
         # 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
+        pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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 ;;
+            sparc64* )   wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h
+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
+			 ;;
+            sparc* )     wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h
+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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
+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+			 ;;
+            powerpc* )   wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h
+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+			 ;;
             esac
             test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h
+            cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h
 	    ;;
 	esac
     fi # GLIBC_ADDONS_NPTL
@@ -598,11 +609,13 @@
     #       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
+	make configure-libiberty
+	make -C libiberty libiberty.a
+	make configure-gcc
+	make configure-libcpp
+	make all-libcpp
     else
-        make configure-gcc
+	make configure-gcc
 	make configure-libcpp
 	make configure-build-libiberty
 	make all-libcpp


------
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 Aug 9 23:35:06 2005 X-UIDL: 45e84fc16b6cef5c 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 50713 invoked by uid 3177); 10 Aug 2005 06:36:35 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 50702 invoked from network); 10 Aug 2005 06:36:32 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 10 Aug 2005 06:36:32 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id A441A92D31 for ; Wed, 10 Aug 2005 02:36:32 -0400 (EDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mailwash1.pair.com (Postfix) with SMTP id 2CE8592D27 for ; Wed, 10 Aug 2005 02:36:32 -0400 (EDT) Received: (qmail invoked by alias); 10 Aug 2005 06:36:30 -0000 Received: from p549D1960.dip0.t-ipconnect.de (EHLO [192.168.178.23]) [84.157.25.96] by mail.gmx.net (mp014) with SMTP; 10 Aug 2005 08:36:30 +0200 X-Authenticated: #494916 Message-ID: <42F9A06B.7010800@gmx.de> Date: Wed, 10 Aug 2005 08:36:27 +0200 From: Peter Schaefer User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Paul Bilke CC: Dan Kegel Subject: Re: crosstool-0.38, ppc860, NPTL and gcc4.0.1 References: <42EFDD76.60902@gmx.de> <42F137B9.1020101@gmx.de> <42F5D6D7.2040902@gmx.de> <42F622D3.2020402@kegel.com> <42F70571.6070206@gmx.de> <42F91BF0.3000107@conspiracy.net> In-Reply-To: <42F91BF0.3000107@conspiracy.net> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Am 09.08.2005 23:11, Paul Bilke wrote: > This worked for me after applying this patch you suggested for the > tcp-offests.h build error. Did not know if you wanted to include that > patch for glibc-2.3.5 in your set. With this I built > gcc-4.0.1-glibc-2.3.5 for ppc 604 successfully. This is included in the patches i posted yesterday. Thanks for your success report! Best regards, Peter From - Wed Aug 10 22:10:15 2005 X-UIDL: 019c2aeab144f8b2 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 21163 invoked by uid 3177); 10 Aug 2005 13:49:32 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 21160 invoked from network); 10 Aug 2005 13:49:32 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 10 Aug 2005 13:49:32 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 2AD5792D66 for ; Wed, 10 Aug 2005 09:49:32 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id C7CBB92D4B for ; Wed, 10 Aug 2005 09:49:31 -0400 (EDT) Received: (qmail 15163 invoked by alias); 10 Aug 2005 13:49:27 -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 15082 invoked by uid 22791); 10 Aug 2005 13:49:12 -0000 Received: from fep31-0.kolumbus.fi (HELO fep31-app.kolumbus.fi) (193.229.0.35) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 10 Aug 2005 13:49:12 +0000 Received: from [10.0.0.3] (really [81.197.166.196]) by fep31-app.kolumbus.fi with ESMTP id <20050810134909.PIRT4404.fep31-app.kolumbus.fi@[10.0.0.3]> for ; Wed, 10 Aug 2005 16:49:09 +0300 Message-ID: <42FA06BF.9090706@mbnet.fi> Date: Wed, 10 Aug 2005 16:53:03 +0300 From: Kai Ruottu Reply-To: karuottu@mbnet.fi User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: Re: Questio about crosstool References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Kristoffer Ericson kirjoitti: > I'm almost finished with my native toolchain (and saved all the > configure, make, make install info), so just need to finish on more item > then i'll have a somewhat complete howto on how to make crosstool native. > > Probobly have an update later tonight. About the libiberty issue, its > fixed by either one of two issues. > 1. I've so far not have any success with adding other compiling > languages than c,c++. If you've set others try to just set those two. > 2. Usually just run make & make install, not exactly sure about the > difference (between make & make bootstrap) but libiberty gets built. > Perhaps its needed to do "make, make bootstrap, make install" > > GCC went alot smoother than for example Glibc so you shouldnt really > have much issues besides libiberty. Libiberty will normally be built only for the $host before going to the 'gcc' subdir to build GCC there. After that the libiberty for the $target will be built just as the libstdc++ for the $target. Generally producing libiberty for the $build sounds vain, the native 'cc' in a final GCC build could always be assumed to be GCC, not a proprietary native 'cc' (like in Solaris, AIX, HP-UX,...), and therefore already having libiberty built for it and being installed somewhere.... Anyway when linking these 'gen*' executables which handle the machine description file ('config/$cpu/$cpu.md'), linking against libiberty will be done and it must exist also for the $build compiler. Building the libiberty for the $build compiler of course should happen before 'make' going to the 'gcc' subdir, but if this doesn't happen, the simple fix is to write : make all-build-libiberty or something, please see the resulted main 'Makefile', I remember the make "target" being named as this... So writing this before going to build GCC itself should work around this bug in GCC. I remember this problem once becoming from using the 'canonical' $build system name like 'i686-pc-linux-gnu' instead of the given 'alias' name like 'i686-linux-gnu', and no 'libiberty.a' found in the searched '$build/i686-pc-linux-gnu/libiberty' because this didn't exist at all, a '$build/i686-linux-gnu/libiberty' then existed... Generally I don't understand the "make, make bootstrap, make install" mentioned here... The system which will run the resulted compiler, is an alien system, totally different from the $build system. So one can only make an 1:1 image for the "native GCC install" on the alien system, sysrooted somewhere and using the suggested : make DESTDIR=path-to-rootdir install (please see the GCC manual) when installing the alien binaries into the $build system. One cannot just expect the binaries being automagically ftp'ed into the alien host and being installed into it... Maybe if this "path-to-rootdir" is NFS-mounted to be seen in the $host system... The usual newbie-mistakes like the produced 'specs' made by the crosscompiler, not by the produced new native GCC of course must be solved somehow... Usually manually running 'gcc -dumpspecs' later on the native target system... ------ 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 - Wed Aug 10 22:10:27 2005 X-UIDL: 9789cca16ce65ab1 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 33901 invoked by uid 3177); 10 Aug 2005 14:39:08 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 33895 invoked from network); 10 Aug 2005 14:39:07 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 10 Aug 2005 14:39:07 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id BAE9992D63 for ; Wed, 10 Aug 2005 10:39:06 -0400 (EDT) Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 6BC6D92D4B for ; Wed, 10 Aug 2005 10:39:06 -0400 (EDT) Received: (qmail 14098 invoked by alias); 10 Aug 2005 14:39:04 -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 14065 invoked by uid 22791); 10 Aug 2005 14:38:58 -0000 Received: from fep06-0.kolumbus.fi (HELO fep06-app.kolumbus.fi) (193.229.0.57) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 10 Aug 2005 14:38:58 +0000 Received: from [10.0.0.3] (really [81.197.166.196]) by fep06-app.kolumbus.fi with ESMTP id <20050810143855.TSFO18047.fep06-app.kolumbus.fi@[10.0.0.3]>; Wed, 10 Aug 2005 17:38:55 +0300 Message-ID: <42FA1269.9030701@mbnet.fi> Date: Wed, 10 Aug 2005 17:42:49 +0300 From: Kai Ruottu Reply-To: karuottu@mbnet.fi User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Kristoffer Ericson CC: crossgcc@sources.redhat.com Subject: Re: Building Native ToolChain (SH3) References: <42F99974.7020701@kegel.com> <1123672052.42f9dff40f2b8@webmail.surftown.com> In-Reply-To: <1123672052.42f9dff40f2b8@webmail.surftown.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Kristoffer Ericson kirjoitti: > Greetings, > > Here is my progress so far, in building a native sh3 compiler (by using > CrossTool), hope this helps: > > Binutils-2.16 > ------------- > ../configure --host=sh3-unknown-linux-gnu --build=i686 --prefix="" You have never heard that native tools use the "--prefix=/usr" ? > Glibc-2.3.5 > ------------ > BUILD_CC=gcc CFLAGS=-O CC=sh3-unknown-linux-gnu-gcc AR=sh3-unknown-linux-gnu-ar > RANLIB=sh3-unknown-linux-gnu-ranlib ../../sourcedir/glibc-2.3.5/.configure > --build=i686 --host=sh3-unknown-linux-gnu --enable-kernel=2.4.3 --without-cvs > --disable-profile --disable-debug --without-gd --without-tls --without-__thread > --enable-shared --enable-add-ons=linuxthreads > --without-headers=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/sh3-unknown-linux-gnu/sh3-unknown-linux-gnu/include > --without-fp Where on earth is your "--prefix=/usr" ? When producing a totally normal glibc for Linux, one must use this $prefix ALWAYS ! It doesn't matter if the GCC which will use it is a native or a cross compiler because glibc will be built only once, for both the native and for all the cross hosts... > make LD=sh3-unknown-linux-gnu-ld RANLIB=sh3-unknown-linux-gnu-ranlib > make install_root=/tempdir install Are you claiming that you built glibc another time? And are not simply copying the already built glibc made for the cross-GCC ? The '/tempdir/lib', '/tempdir/usr/lib', '/tempdir/usr/include', ie. the stuff below '/tempdir' should be the "glibc" you are using with your cross-GCC, almost a 1:1 image for the glibc required on the native system (three or so minor differences due to the crosscompiling needs)... > GCC-3.4.4 > --------- > CFLAGS=-O CC=sh3-unknown-linux-gnu-gcc NM=sh3-unknown-linux-gnu-nm > AR=sh3-unknown-linux-gnu-ar ./configure --host=sh3-unknown-linux-gnu > --build=i686 --enable-languages=c,c++ --prefix=/ Again, USE the "--prefix=/usr" when producing anything "native" !!!! > make DESTDIR=/tempdir install OK ... > Notes: Setting Optimization to -O otherwise getting assembler problems. > Adding additional languages makes the compilation fail, also make bootstrap. The 'make bootstrap' means compiling first with the proprietary non-GNU native 'cc', then with the GCC produced with the proprietary 'cc' and finally with the GCC produced with the GCC produced with the proprietary native 'cc'... Why you think that you would require something as complicated as this? > This leaves me with one error left, when it tries to compile something it > complains about not finding crt1.o (its in /lib). Changing stuff in ld.so..conf > doesnt help. Any Ideas? Just learn to build native tools ! Please practice your skills with producing native tools for the $build system, 'i686-linux-gnu', and you soon will learn that one must always use the "--prefix=/usr".... ------ 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 - Sun Aug 14 12:27:23 2005 X-UIDL: a7e2f8306be79e36 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 91676 invoked by uid 3177); 14 Aug 2005 19:36:19 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 91673 invoked from network); 14 Aug 2005 19:36:19 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 14 Aug 2005 19:36:19 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 03E6392D39 for ; Sun, 14 Aug 2005 15:36:19 -0400 (EDT) Received: from xi.wantstofly.org (alephnull.demon.nl [83.160.184.112]) by mailwash1.pair.com (Postfix) with ESMTP id AB66F92D31 for ; Sun, 14 Aug 2005 15:36:18 -0400 (EDT) Received: by xi.wantstofly.org (Postfix, from userid 500) id DD07B93823; Sun, 14 Aug 2005 21:36:15 +0200 (MEST) Date: Sun, 14 Aug 2005 21:36:15 +0200 From: Lennert Buytenhek To: Mike Frysinger , dank@kegel.com Cc: crossgcc@sources.redhat.com, Mikael Pettersson , rearnsha@gcc.gnu.org Subject: [PATCH] work around gcc 3.3.4 ICE on armeb (PR23256) Message-ID: <20050814193615.GB28862@xi.wantstofly.org> References: <200508122349.39295.vapier@gentoo.org> <200508130443.04327.vapier@gentoo.org> <20050813092533.GA5914@xi.wantstofly.org> <200508131740.54909.vapier@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508131740.54909.vapier@gentoo.org> User-Agent: Mutt/1.4.1i On Sat, Aug 13, 2005 at 05:40:54PM -0400, Mike Frysinger wrote: > i just started developing on armeb so i havent done any glibc work > yet (which i assume is what you're working with) Yeah, glibc here. It turns out that gcc 3.3.3 miscompiles itself when TARGET_CPU_arm6 is used. (gcc 3.3.3 with TARGET_CPU_arm6 also gives a nice ICE during compilation of glibc 2.3.2.) gcc 3.3.3 used TARGET_CPU_arm7tdmi as default, which works fine, but the patch that went in between 3.3.3 and 3.3.4 to fix PR12527 switched the default to TARGET_CPU_arm6. The 3.3 gcc branch is closed, so there's no hope of this ever getting fixed in an official release, but I decided to add a note to PR12527 and PR23256 about this anyway, just in case anyone else runs into it. > i used to play with 3.3.[3-6] on arm/glibc but that was too much of a > pain so i've switched to 3.4.4 now What other issues were you seeing? debian sarge uses gcc 3.3.5 and they seem happy with that. Dan, would you consider adding the attached patch to crosstool? cheers, Lennert $ cat crosstool-0.38/patches/gcc-3.3.4/gcc-3.3.4-pr23256.patch On big-endian ARM platforms, gcc 3.3.x miscompiles itself, glibc, and potentially other programs as well, when SUBTARGET_CPU_DEFAULT is TARGET_CPU_arm6. As gcc 3.3.4 switched the default to TARGET_CPU_arm6, this causes gcc 3.3.[456] to fail to compile itself on armeb. gcc 3.3.3 and earlier (inadvertently, see PR12527) defaulted to TARGET_CPU_arm7tdmi, which prevents this miscompilation from occuring. We don't know what exactly goes wrong when TARGET_CPU_arm6 is used, but we do know for sure that it's this hunk that triggers the miscompilation, so let's just change the default back to arm7tdmi so that everyone can be happy once again. Signed-off-by: Lennert Buytenhek --- gcc-3.3.4/gcc/config/arm/linux-elf.h.orig 2005-08-14 20:58:17.000000000 +0200 +++ gcc-3.3.4/gcc/config/arm/linux-elf.h 2005-08-14 20:58:24.000000000 +0200 @@ -48,7 +48,7 @@ #undef TARGET_DEFAULT #define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS | TARGET_ENDIAN_DEFAULT) -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6 +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm7tdmi #define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION " -p" From - Mon Aug 15 03:24:08 2005 X-UIDL: e4f5d4218cdc909f 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 43694 invoked by uid 3177); 15 Aug 2005 10:26:07 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 43691 invoked from network); 15 Aug 2005 10:26:07 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 15 Aug 2005 10:26:07 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 3873392D5C for ; Mon, 15 Aug 2005 06:26:07 -0400 (EDT) Received: from xi.wantstofly.org (alephnull.demon.nl [83.160.184.112]) by mailwash1.pair.com (Postfix) with ESMTP id C0C0892D37 for ; Mon, 15 Aug 2005 06:26:06 -0400 (EDT) Received: by xi.wantstofly.org (Postfix, from userid 500) id 6204493831; Mon, 15 Aug 2005 12:26:04 +0200 (MEST) Date: Mon, 15 Aug 2005 12:26:04 +0200 From: Lennert Buytenhek To: Richard Earnshaw , Mikael Pettersson Cc: Dan Kegel , Mike Frysinger , crossgcc@sources.redhat.com Subject: Re: [PATCH] work around gcc 3.3.4 ICE on armeb (PR23256) Message-ID: <20050815102604.GG32233@xi.wantstofly.org> References: <200508122349.39295.vapier@gentoo.org> <200508130443.04327.vapier@gentoo.org> <20050813092533.GA5914@xi.wantstofly.org> <200508131740.54909.vapier@gentoo.org> <20050814193615.GB28862@xi.wantstofly.org> <42FF9E36.70800@kegel.com> <1124096447.32135.3.camel@pc960.cambridge.arm.com> <20050815093935.GF32233@xi.wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050815093935.GF32233@xi.wantstofly.org> User-Agent: Mutt/1.4.1i On Mon, Aug 15, 2005 at 11:39:35AM +0200, Lennert Buytenhek wrote: > > Anybody suffering from problems on big-endian builds of gcc-3.3 for arm > > should check out the patch I recently attached to PR 22528: > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22528 > > > > This would almost certainly match the evidence reported here (fails on > > arm6 but works for arm7tdmi). > > OK, let me give that a try. The patch referenced in PR22528 does appear to fix PR23256. Thanks much. Mikael, could you try the attached patch instead of the previous one? cheers, Lennert === crosstool-0.38/patches/gcc-3.3.4/gcc-3.3.4-arm-pr22528.patch >From http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00832.html, by Richard Earnshaw. Fixes PR22528. --- gcc-3.3.4/gcc/config/arm/arm.md.orig 2004-03-30 22:43:44.000000000 +0200 +++ gcc-3.3.4/gcc/config/arm/arm.md 2005-08-15 12:21:55.000000000 +0200 @@ -4275,7 +4275,7 @@ (set (match_dup 2) (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) ;; store the high byte - (set (match_dup 4) (subreg:QI (match_dup 2) 0))] ;explicit subreg safe + (set (match_dup 4) (match_dup 5))] "TARGET_ARM" " { @@ -4291,7 +4291,8 @@ operands[1] = adjust_address (operands[1], QImode, 0); operands[3] = gen_lowpart (QImode, operands[0]); operands[0] = gen_lowpart (SImode, operands[0]); - operands[2] = gen_reg_rtx (SImode); + operands[2] = gen_reg_rtx (SImode); + operands[5] = gen_lowpart (QImode, operands[2]); }" ) @@ -4299,7 +4300,7 @@ [(set (match_dup 4) (match_dup 3)) (set (match_dup 2) (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) - (set (match_operand 1 "" "") (subreg:QI (match_dup 2) 3))] + (set (match_operand 1 "" "") (match_dup 5))] "TARGET_ARM" " { @@ -4316,13 +4317,14 @@ operands[3] = gen_lowpart (QImode, operands[0]); operands[0] = gen_lowpart (SImode, operands[0]); operands[2] = gen_reg_rtx (SImode); + operands[5] = gen_lowpart (QImode, operands[2]); }" ) ;; Subroutine to store a half word integer constant into memory. (define_expand "storeinthi" [(set (match_operand 0 "" "") - (subreg:QI (match_operand 1 "" "") 0)) + (match_operand 1 "" "")) (set (match_dup 3) (match_dup 2))] "TARGET_ARM" " @@ -4363,6 +4365,7 @@ operands[3] = adjust_address (op0, QImode, 1); operands[0] = adjust_address (operands[0], QImode, 0); operands[2] = gen_lowpart (QImode, operands[2]); + operands[1] = gen_lowpart (QImode, operands[1]); }" ) @@ -4682,11 +4685,12 @@ (set (match_dup 3) (ashiftrt:SI (match_dup 2) (const_int 16))) (set (match_operand:HI 0 "s_register_operand" "") - (subreg:HI (match_dup 3) 0))] + (match_dup 4))] "TARGET_ARM" " operands[2] = gen_reg_rtx (SImode); operands[3] = gen_reg_rtx (SImode); + operands[4] = gen_lowpart (HImode, operands[3]); " ) From - Mon Aug 15 08:35:57 2005 X-UIDL: 86462ba695b267be 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 95928 invoked by uid 3177); 15 Aug 2005 15:44:51 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 95925 invoked from network); 15 Aug 2005 15:44:51 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 15 Aug 2005 15:44:51 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 01A2A92D6B for ; Mon, 15 Aug 2005 11:44:51 -0400 (EDT) Received: from aun.it.uu.se (aun.it.uu.se [130.238.12.36]) by mailwash1.pair.com (Postfix) with ESMTP id A8D4E92D6A for ; Mon, 15 Aug 2005 11:44:50 -0400 (EDT) Received: from harpo.it.uu.se (daemon@harpo.it.uu.se [130.238.12.34]) by aun.it.uu.se (8.13.3/8.13.3) with ESMTP id j7FFiamb024724; Mon, 15 Aug 2005 17:44:36 +0200 (MEST) Received: (from mikpe@localhost) by harpo.it.uu.se (8.12.10+Sun/8.12.10) id j7FFiZtl018460; Mon, 15 Aug 2005 17:44:35 +0200 (MEST) Date: Mon, 15 Aug 2005 17:44:35 +0200 (MEST) Message-Id: <200508151544.j7FFiZtl018460@harpo.it.uu.se> From: Mikael Pettersson To: buytenh@wantstofly.org, mikpe@csd.uu.se, rearnsha@gcc.gnu.org Subject: Re: [PATCH] work around gcc 3.3.4 ICE on armeb (PR23256) Cc: crossgcc@sources.redhat.com, dank@kegel.com, vapier@gentoo.org On Mon, 15 Aug 2005 12:26:04 +0200, Lennert Buytenhek wrote: >On Mon, Aug 15, 2005 at 11:39:35AM +0200, Lennert Buytenhek wrote: > >> > Anybody suffering from problems on big-endian builds of gcc-3.3 for arm >> > should check out the patch I recently attached to PR 22528: >> > >> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22528 >> > >> > This would almost certainly match the evidence reported here (fails on >> > arm6 but works for arm7tdmi). >> >> OK, let me give that a try. > >The patch referenced in PR22528 does appear to fix PR23256. Thanks >much. > >Mikael, could you try the attached patch instead of the previous one? Using this PR22528 patch instead also results in a successful bootstrap of gcc-3.3.6 on XScale, so I guess this is the one to use. (To also answer Dan's question: the patch applies cleanly to 3.3.6.) /Mikael From - Mon Aug 15 11:34:09 2005 X-UIDL: 1481ada3dd503ac8 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 29549 invoked by uid 3177); 15 Aug 2005 18:41:33 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 29546 invoked from network); 15 Aug 2005 18:41:33 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 15 Aug 2005 18:41:33 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 5A94D92D46 for ; Mon, 15 Aug 2005 14:41:33 -0400 (EDT) Received: from xi.wantstofly.org (alephnull.demon.nl [83.160.184.112]) by mailwash1.pair.com (Postfix) with ESMTP id 5254492D43 for ; Mon, 15 Aug 2005 14:41:32 -0400 (EDT) Received: by xi.wantstofly.org (Postfix, from userid 500) id 9BC0793815; Mon, 15 Aug 2005 20:41:28 +0200 (MEST) Date: Mon, 15 Aug 2005 20:41:28 +0200 From: Lennert Buytenhek To: dank@kegel.com Cc: Mikael Pettersson , rearnsha@gcc.gnu.org, crossgcc@sources.redhat.com, vapier@gentoo.org Subject: Re: [PATCH] work around gcc 3.3.4 ICE on armeb (PR23256) Message-ID: <20050815184128.GA2991@xi.wantstofly.org> References: <200508151544.j7FFiZtl018460@harpo.it.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508151544.j7FFiZtl018460@harpo.it.uu.se> User-Agent: Mutt/1.4.1i On Mon, Aug 15, 2005 at 05:44:35PM +0200, Mikael Pettersson wrote: > >The patch referenced in PR22528 does appear to fix PR23256. Thanks > >much. > > > >Mikael, could you try the attached patch instead of the previous one? > > Using this PR22528 patch instead also results in a successful > bootstrap of gcc-3.3.6 on XScale, so I guess this is the one to use. > > (To also answer Dan's question: the patch applies cleanly to 3.3.6.) OK, so how about this patch? It makes my crosstool 0.38 successfully build a gcc 3.3.5-based and gcc 3.3.6-based toolchain for armeb. cheers, Lennert diff -urN crosstool-0.38.orig/demo-armeb.sh crosstool-0.38/demo-armeb.sh --- crosstool-0.38.orig/demo-armeb.sh 2005-03-08 01:34:34.000000000 +0100 +++ crosstool-0.38/demo-armeb.sh 2005-08-15 20:36:36.000000000 +0200 @@ -15,6 +16,8 @@ #eval `cat armeb.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest #eval `cat armeb.dat gcc-3.3.3-glibc-2.3.2.dat` sh all.sh --notest #eval `cat armeb.dat gcc-3.3.4-glibc-2.3.2.dat` sh all.sh --notest +#eval `cat armeb.dat gcc-3.3.5-glibc-2.3.2.dat` sh all.sh --notest +#eval `cat armeb.dat gcc-3.3.6-glibc-2.3.2.dat` sh all.sh --notest #eval `cat armeb.dat gcc-3.4.0-glibc-2.3.2.dat` sh all.sh --notest #eval `cat armeb.dat gcc-3.4.1-glibc-2.3.2.dat` sh all.sh --notest eval `cat armeb.dat gcc-3.4.1-glibc-2.3.3.dat` sh all.sh --notest diff -urN crosstool-0.38.orig/patches/gcc-3.3.4/gcc-3.3.4-arm-pr22528.patch crosstool-0.38/patches/gcc-3.3.4/gcc-3.3.4-arm-pr22528.patch --- crosstool-0.38.orig/patches/gcc-3.3.4/gcc-3.3.4-arm-pr22528.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38/patches/gcc-3.3.4/gcc-3.3.4-arm-pr22528.patch 2005-08-15 20:16:41.000000000 +0200 @@ -0,0 +1,71 @@ +From http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00832.html, by +Richard Earnshaw. Fixes PR22528. + +--- gcc-3.3.4/gcc/config/arm/arm.md.orig 2004-03-30 22:43:44.000000000 +0200 ++++ gcc-3.3.4/gcc/config/arm/arm.md 2005-08-15 12:21:55.000000000 +0200 +@@ -4275,7 +4275,7 @@ + (set (match_dup 2) + (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) + ;; store the high byte +- (set (match_dup 4) (subreg:QI (match_dup 2) 0))] ;explicit subreg safe ++ (set (match_dup 4) (match_dup 5))] + "TARGET_ARM" + " + { +@@ -4291,7 +4291,8 @@ + operands[1] = adjust_address (operands[1], QImode, 0); + operands[3] = gen_lowpart (QImode, operands[0]); + operands[0] = gen_lowpart (SImode, operands[0]); +- operands[2] = gen_reg_rtx (SImode); ++ operands[2] = gen_reg_rtx (SImode); ++ operands[5] = gen_lowpart (QImode, operands[2]); + }" + ) + +@@ -4299,7 +4300,7 @@ + [(set (match_dup 4) (match_dup 3)) + (set (match_dup 2) + (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) +- (set (match_operand 1 "" "") (subreg:QI (match_dup 2) 3))] ++ (set (match_operand 1 "" "") (match_dup 5))] + "TARGET_ARM" + " + { +@@ -4316,13 +4317,14 @@ + operands[3] = gen_lowpart (QImode, operands[0]); + operands[0] = gen_lowpart (SImode, operands[0]); + operands[2] = gen_reg_rtx (SImode); ++ operands[5] = gen_lowpart (QImode, operands[2]); + }" + ) + + ;; Subroutine to store a half word integer constant into memory. + (define_expand "storeinthi" + [(set (match_operand 0 "" "") +- (subreg:QI (match_operand 1 "" "") 0)) ++ (match_operand 1 "" "")) + (set (match_dup 3) (match_dup 2))] + "TARGET_ARM" + " +@@ -4363,6 +4365,7 @@ + operands[3] = adjust_address (op0, QImode, 1); + operands[0] = adjust_address (operands[0], QImode, 0); + operands[2] = gen_lowpart (QImode, operands[2]); ++ operands[1] = gen_lowpart (QImode, operands[1]); + }" + ) + +@@ -4682,11 +4685,12 @@ + (set (match_dup 3) + (ashiftrt:SI (match_dup 2) (const_int 16))) + (set (match_operand:HI 0 "s_register_operand" "") +- (subreg:HI (match_dup 3) 0))] ++ (match_dup 4))] + "TARGET_ARM" + " + operands[2] = gen_reg_rtx (SImode); + operands[3] = gen_reg_rtx (SImode); ++ operands[4] = gen_lowpart (HImode, operands[3]); + " + ) + diff -urN crosstool-0.38.orig/patches/gcc-3.3.5/gcc-3.3.4-arm-bigendian.patch crosstool-0.38/patches/gcc-3.3.5/gcc-3.3.4-arm-bigendian.patch --- crosstool-0.38.orig/patches/gcc-3.3.5/gcc-3.3.4-arm-bigendian.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38/patches/gcc-3.3.5/gcc-3.3.4-arm-bigendian.patch 2005-08-15 20:16:06.000000000 +0200 @@ -0,0 +1,62 @@ +diff -urN gcc-3.3.4.orig/gcc/config/arm/linux-elf.h gcc-3.3.4/gcc/config/arm/linux-elf.h +--- gcc-3.3.4.orig/gcc/config/arm/linux-elf.h 2004-03-30 22:43:45.000000000 +0200 ++++ gcc-3.3.4/gcc/config/arm/linux-elf.h 2004-08-20 02:13:02.969084177 +0200 +@@ -30,17 +30,31 @@ + /* Do not assume anything about header files. */ + #define NO_IMPLICIT_EXTERN_C + ++/* ++ * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-* ++ * (big endian) configurations. ++ */ ++#if TARGET_BIG_ENDIAN_DEFAULT ++#define TARGET_ENDIAN_DEFAULT ARM_FLAG_BIG_END ++#define TARGET_ENDIAN_OPTION "mbig-endian" ++#define TARGET_LINKER_EMULATION "armelfb_linux" ++#else ++#define TARGET_ENDIAN_DEFAULT 0 ++#define TARGET_ENDIAN_OPTION "mlittle-endian" ++#define TARGET_LINKER_EMULATION "armelf_linux" ++#endif ++ + /* Default is to use APCS-32 mode. */ + #undef TARGET_DEFAULT +-#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS) ++#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS | TARGET_ENDIAN_DEFAULT) + + #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6 + +-#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux -p" ++#define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION " -p" + + #undef MULTILIB_DEFAULTS + #define MULTILIB_DEFAULTS \ +- { "marm", "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" } ++ { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mapcs-32", "mno-thumb-interwork" } + + #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__" + +@@ -88,7 +102,7 @@ + %{rdynamic:-export-dynamic} \ + %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \ + -X \ +- %{mbig-endian:-EB}" \ ++ %{mbig-endian:-EB} %{mlittle-endian:-EL}" \ + SUBTARGET_EXTRA_LINK_SPEC + + #define TARGET_OS_CPP_BUILTINS() \ +diff -urN gcc-3.3.4.orig/gcc/config.gcc gcc-3.3.4/gcc/config.gcc +--- gcc-3.3.4.orig/gcc/config.gcc 2004-04-29 06:42:47.000000000 +0200 ++++ gcc-3.3.4/gcc/config.gcc 2004-08-20 02:11:04.326143343 +0200 +@@ -699,6 +699,11 @@ + ;; + arm*-*-linux*) # ARM GNU/Linux with ELF + tm_file="dbxelf.h elfos.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/aout.h arm/arm.h" ++ case $machine in ++ arm*b-*) ++ tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines" ++ ;; ++ esac + tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux" + extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" + gnu_ld=yes diff -urN crosstool-0.38.orig/patches/gcc-3.3.5/gcc-3.3.4-arm-pr22528.patch crosstool-0.38/patches/gcc-3.3.5/gcc-3.3.4-arm-pr22528.patch --- crosstool-0.38.orig/patches/gcc-3.3.5/gcc-3.3.4-arm-pr22528.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38/patches/gcc-3.3.5/gcc-3.3.4-arm-pr22528.patch 2005-08-15 20:16:42.000000000 +0200 @@ -0,0 +1,71 @@ +From http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00832.html, by +Richard Earnshaw. Fixes PR22528. + +--- gcc-3.3.4/gcc/config/arm/arm.md.orig 2004-03-30 22:43:44.000000000 +0200 ++++ gcc-3.3.4/gcc/config/arm/arm.md 2005-08-15 12:21:55.000000000 +0200 +@@ -4275,7 +4275,7 @@ + (set (match_dup 2) + (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) + ;; store the high byte +- (set (match_dup 4) (subreg:QI (match_dup 2) 0))] ;explicit subreg safe ++ (set (match_dup 4) (match_dup 5))] + "TARGET_ARM" + " + { +@@ -4291,7 +4291,8 @@ + operands[1] = adjust_address (operands[1], QImode, 0); + operands[3] = gen_lowpart (QImode, operands[0]); + operands[0] = gen_lowpart (SImode, operands[0]); +- operands[2] = gen_reg_rtx (SImode); ++ operands[2] = gen_reg_rtx (SImode); ++ operands[5] = gen_lowpart (QImode, operands[2]); + }" + ) + +@@ -4299,7 +4300,7 @@ + [(set (match_dup 4) (match_dup 3)) + (set (match_dup 2) + (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) +- (set (match_operand 1 "" "") (subreg:QI (match_dup 2) 3))] ++ (set (match_operand 1 "" "") (match_dup 5))] + "TARGET_ARM" + " + { +@@ -4316,13 +4317,14 @@ + operands[3] = gen_lowpart (QImode, operands[0]); + operands[0] = gen_lowpart (SImode, operands[0]); + operands[2] = gen_reg_rtx (SImode); ++ operands[5] = gen_lowpart (QImode, operands[2]); + }" + ) + + ;; Subroutine to store a half word integer constant into memory. + (define_expand "storeinthi" + [(set (match_operand 0 "" "") +- (subreg:QI (match_operand 1 "" "") 0)) ++ (match_operand 1 "" "")) + (set (match_dup 3) (match_dup 2))] + "TARGET_ARM" + " +@@ -4363,6 +4365,7 @@ + operands[3] = adjust_address (op0, QImode, 1); + operands[0] = adjust_address (operands[0], QImode, 0); + operands[2] = gen_lowpart (QImode, operands[2]); ++ operands[1] = gen_lowpart (QImode, operands[1]); + }" + ) + +@@ -4682,11 +4685,12 @@ + (set (match_dup 3) + (ashiftrt:SI (match_dup 2) (const_int 16))) + (set (match_operand:HI 0 "s_register_operand" "") +- (subreg:HI (match_dup 3) 0))] ++ (match_dup 4))] + "TARGET_ARM" + " + operands[2] = gen_reg_rtx (SImode); + operands[3] = gen_reg_rtx (SImode); ++ operands[4] = gen_lowpart (HImode, operands[3]); + " + ) + diff -urN crosstool-0.38.orig/patches/gcc-3.3.6/gcc-3.3.4-arm-bigendian.patch crosstool-0.38/patches/gcc-3.3.6/gcc-3.3.4-arm-bigendian.patch --- crosstool-0.38.orig/patches/gcc-3.3.6/gcc-3.3.4-arm-bigendian.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38/patches/gcc-3.3.6/gcc-3.3.4-arm-bigendian.patch 2005-08-15 20:16:07.000000000 +0200 @@ -0,0 +1,62 @@ +diff -urN gcc-3.3.4.orig/gcc/config/arm/linux-elf.h gcc-3.3.4/gcc/config/arm/linux-elf.h +--- gcc-3.3.4.orig/gcc/config/arm/linux-elf.h 2004-03-30 22:43:45.000000000 +0200 ++++ gcc-3.3.4/gcc/config/arm/linux-elf.h 2004-08-20 02:13:02.969084177 +0200 +@@ -30,17 +30,31 @@ + /* Do not assume anything about header files. */ + #define NO_IMPLICIT_EXTERN_C + ++/* ++ * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-* ++ * (big endian) configurations. ++ */ ++#if TARGET_BIG_ENDIAN_DEFAULT ++#define TARGET_ENDIAN_DEFAULT ARM_FLAG_BIG_END ++#define TARGET_ENDIAN_OPTION "mbig-endian" ++#define TARGET_LINKER_EMULATION "armelfb_linux" ++#else ++#define TARGET_ENDIAN_DEFAULT 0 ++#define TARGET_ENDIAN_OPTION "mlittle-endian" ++#define TARGET_LINKER_EMULATION "armelf_linux" ++#endif ++ + /* Default is to use APCS-32 mode. */ + #undef TARGET_DEFAULT +-#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS) ++#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS | TARGET_ENDIAN_DEFAULT) + + #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6 + +-#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux -p" ++#define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION " -p" + + #undef MULTILIB_DEFAULTS + #define MULTILIB_DEFAULTS \ +- { "marm", "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" } ++ { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mapcs-32", "mno-thumb-interwork" } + + #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__" + +@@ -88,7 +102,7 @@ + %{rdynamic:-export-dynamic} \ + %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \ + -X \ +- %{mbig-endian:-EB}" \ ++ %{mbig-endian:-EB} %{mlittle-endian:-EL}" \ + SUBTARGET_EXTRA_LINK_SPEC + + #define TARGET_OS_CPP_BUILTINS() \ +diff -urN gcc-3.3.4.orig/gcc/config.gcc gcc-3.3.4/gcc/config.gcc +--- gcc-3.3.4.orig/gcc/config.gcc 2004-04-29 06:42:47.000000000 +0200 ++++ gcc-3.3.4/gcc/config.gcc 2004-08-20 02:11:04.326143343 +0200 +@@ -699,6 +699,11 @@ + ;; + arm*-*-linux*) # ARM GNU/Linux with ELF + tm_file="dbxelf.h elfos.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/aout.h arm/arm.h" ++ case $machine in ++ arm*b-*) ++ tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines" ++ ;; ++ esac + tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux" + extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" + gnu_ld=yes diff -urN crosstool-0.38.orig/patches/gcc-3.3.6/gcc-3.3.4-arm-pr22528.patch crosstool-0.38/patches/gcc-3.3.6/gcc-3.3.4-arm-pr22528.patch --- crosstool-0.38.orig/patches/gcc-3.3.6/gcc-3.3.4-arm-pr22528.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-0.38/patches/gcc-3.3.6/gcc-3.3.4-arm-pr22528.patch 2005-08-15 20:16:44.000000000 +0200 @@ -0,0 +1,71 @@ +From http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00832.html, by +Richard Earnshaw. Fixes PR22528. + +--- gcc-3.3.4/gcc/config/arm/arm.md.orig 2004-03-30 22:43:44.000000000 +0200 ++++ gcc-3.3.4/gcc/config/arm/arm.md 2005-08-15 12:21:55.000000000 +0200 +@@ -4275,7 +4275,7 @@ + (set (match_dup 2) + (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) + ;; store the high byte +- (set (match_dup 4) (subreg:QI (match_dup 2) 0))] ;explicit subreg safe ++ (set (match_dup 4) (match_dup 5))] + "TARGET_ARM" + " + { +@@ -4291,7 +4291,8 @@ + operands[1] = adjust_address (operands[1], QImode, 0); + operands[3] = gen_lowpart (QImode, operands[0]); + operands[0] = gen_lowpart (SImode, operands[0]); +- operands[2] = gen_reg_rtx (SImode); ++ operands[2] = gen_reg_rtx (SImode); ++ operands[5] = gen_lowpart (QImode, operands[2]); + }" + ) + +@@ -4299,7 +4300,7 @@ + [(set (match_dup 4) (match_dup 3)) + (set (match_dup 2) + (ashiftrt:SI (match_operand 0 "" "") (const_int 8))) +- (set (match_operand 1 "" "") (subreg:QI (match_dup 2) 3))] ++ (set (match_operand 1 "" "") (match_dup 5))] + "TARGET_ARM" + " + { +@@ -4316,13 +4317,14 @@ + operands[3] = gen_lowpart (QImode, operands[0]); + operands[0] = gen_lowpart (SImode, operands[0]); + operands[2] = gen_reg_rtx (SImode); ++ operands[5] = gen_lowpart (QImode, operands[2]); + }" + ) + + ;; Subroutine to store a half word integer constant into memory. + (define_expand "storeinthi" + [(set (match_operand 0 "" "") +- (subreg:QI (match_operand 1 "" "") 0)) ++ (match_operand 1 "" "")) + (set (match_dup 3) (match_dup 2))] + "TARGET_ARM" + " +@@ -4363,6 +4365,7 @@ + operands[3] = adjust_address (op0, QImode, 1); + operands[0] = adjust_address (operands[0], QImode, 0); + operands[2] = gen_lowpart (QImode, operands[2]); ++ operands[1] = gen_lowpart (QImode, operands[1]); + }" + ) + +@@ -4682,11 +4685,12 @@ + (set (match_dup 3) + (ashiftrt:SI (match_dup 2) (const_int 16))) + (set (match_operand:HI 0 "s_register_operand" "") +- (subreg:HI (match_dup 3) 0))] ++ (match_dup 4))] + "TARGET_ARM" + " + operands[2] = gen_reg_rtx (SImode); + operands[3] = gen_reg_rtx (SImode); ++ operands[4] = gen_lowpart (HImode, operands[3]); + " + ) + From - Thu Aug 18 17:07:53 2005 X-UIDL: 1eebf63158c679fd 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 79643 invoked by uid 3177); 19 Aug 2005 00:15:26 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 79640 invoked from network); 19 Aug 2005 00:15:26 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Aug 2005 00:15:26 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id A4E3092D36 for ; Thu, 18 Aug 2005 20:15:26 -0400 (EDT) Received: from pop03.mail.atl.earthlink.net (pop03.mail.atl.earthlink.net [207.69.200.48]) by mailwash1.pair.com (Postfix) with ESMTP id 8920B92D19 for ; Thu, 18 Aug 2005 20:15:26 -0400 (EDT) Received: from hh1121185.direcpc.com ([206.71.121.185] helo=squidward) by pop03.mail.atl.earthlink.net with smtp (Exim 3.36 #10) id 1E5uXa-0004Zw-00; Thu, 18 Aug 2005 20:15:24 -0400 From: "Chuck Meade" To: "Dan Kegel" Cc: "crossgcc" Subject: RE: crosstool and the absolute path in ${PREFIX}/${TARGET}/usr/lib/libc.so Date: Thu, 18 Aug 2005 20:15:52 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <430511F4.6060904@kegel.com> Importance: Normal Hi Dan, > Go ahead and get rid of that test, e.g. > > #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 > > Does that fix it? Thanks for checking into this. That is the exact patch that I had made to crosstool.sh. The linker is now working as expected. Thanks very much, Chuck From - Fri Aug 26 14:00:48 2005 X-UIDL: 655a1770c7412080 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 6146 invoked by uid 3177); 26 Aug 2005 21:12:57 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 6143 invoked from network); 26 Aug 2005 21:12:57 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 26 Aug 2005 21:12:57 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 3481D92D33 for ; Fri, 26 Aug 2005 17:12:57 -0400 (EDT) Received: from web34315.mail.mud.yahoo.com (web34315.mail.mud.yahoo.com [66.163.178.147]) by mailwash1.pair.com (Postfix) with SMTP id EEEAC92D32 for ; Fri, 26 Aug 2005 17:12:56 -0400 (EDT) Received: (qmail 83901 invoked by uid 60001); 26 Aug 2005 21:12:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gk0y5Ui8zHhQGhTcTPqs8Xl7Bwwb12XSb6aqy1/ZgmNelCT7y/sSx/WoPZIXKhTtzf8qSGU4wPuAdxFjn/ni9VqMrfiMnhNncdw0SRfTB2SRPkT+/euVAunfY9nAP5ahHwjRzjn1BUavsoiQSq+dm9S9TO9onhLVADFuXE+QVhE= ; Message-ID: <20050826211256.83899.qmail@web34315.mail.mud.yahoo.com> Received: from [216.118.190.9] by web34315.mail.mud.yahoo.com via HTTP; Fri, 26 Aug 2005 14:12:56 PDT Date: Fri, 26 Aug 2005 14:12:56 -0700 (PDT) From: EJS Subject: Re: User env not set on chrootshell To: Dan Kegel Cc: crossgcc@sourceware.org In-Reply-To: <43077B34.2040707@kegel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1156794030-1125090776=:79971" Content-Transfer-Encoding: 8bit --0-1156794030-1125090776=:79971 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline Here is the patch. Its my first one; so, please let me know if there is a problem. Thanks again for all of your help, J --- Dan Kegel wrote: > EJS wrote: > >>http://www.scit.wlv.ac.uk/cgi-bin/mansec?1+login > >>says that USER isn't in the initial environment. > >>Maybe chrootshell should set it using > >>getpwuid(getuid()) > > > > > > getpwuid(getuid()) did the trick! Thanks Dan. > > Can you submit a patch? > - Dan > > > -- > Trying to get a job as a c++ developer? See > http://kegel.com/academy/getting-hired.html > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1156794030-1125090776=:79971 Content-Type: text/plain; name="chrootshell.patch" Content-Description: 2177952209-chrootshell.patch Content-Disposition: inline; filename="chrootshell.patch" --- chrootshell.c.orig 2005-03-07 19:34:32.000000000 -0500 +++ chrootshell.c 2005-08-26 17:00:46.000000000 -0400 @@ -126,16 +126,11 @@ #ifdef DEBUG_PRINTS fp = fopen("/var/log/chrootshell.log", "a"); #endif - user = getenv("USER"); - if (!user) - die("USER not set?!"); - logname = getenv("LOGNAME"); - if (logname && *logname && strcmp(user, logname)) - die("USER does not match LOGNAME\n"); - /* Look up user in outer /etc/passwd */ - pw = getpwnam(user); + pw = getpwuid(getuid()); if (!pw) - die2("no such user %s\n", user); + die2("no such user id %s\n",(char *)getuid()); + user = pw->pw_name; + logname = pw->pw_name; shell = strrchr(pw->pw_shell, '/'); if (!shell) die("shell contains no / ?"); --0-1156794030-1125090776=:79971-- From - Fri Aug 26 14:10:47 2005 X-UIDL: ddf0c6b7c85c8846 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 7282 invoked by uid 3177); 26 Aug 2005 21:18:06 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 7279 invoked from network); 26 Aug 2005 21:18:06 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 26 Aug 2005 21:18:06 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 6FD8892D3D for ; Fri, 26 Aug 2005 17:18:06 -0400 (EDT) Received: from zrtps0kp.nortelnetworks.com (zrtps0kp.nortelnetworks.com [47.140.192.56]) by mailwash1.pair.com (Postfix) with ESMTP id 374CF92D2B for ; Fri, 26 Aug 2005 17:18:06 -0400 (EDT) Received: from zrtps0m6.us.nortel.com (zrtps0m6.us.nortel.com [47.140.192.58]) by zrtps0kp.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id j7QLI1524218; Fri, 26 Aug 2005 17:18:01 -0400 (EDT) Received: from lemming.engeast.baynetworks.com (lemming.engeast.baynetworks.com [47.17.140.90]) by zrtps0m6.us.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id j7QLHuK17157; Fri, 26 Aug 2005 17:17:56 -0400 (EDT) Received: from psmith by lemming.engeast.baynetworks.com with local (Exim 3.36 #1 (Debian)) id 1E8laG-0003bD-00; Fri, 26 Aug 2005 17:17:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17167.34563.517675.724041@lemming.engeast.baynetworks.com> Date: Fri, 26 Aug 2005 17:17:55 -0400 To: EJS Cc: Dan Kegel , crossgcc@sourceware.org Subject: Re: User env not set on chrootshell In-Reply-To: <20050826211256.83899.qmail@web34315.mail.mud.yahoo.com> References: <43077B34.2040707@kegel.com> <20050826211256.83899.qmail@web34315.mail.mud.yahoo.com> X-Mailer: VM 7.19 under Emacs 21.4.1 From: "Paul Smith" %% EJS writes: e> + die2("no such user id %s\n",(char *)getuid()); I'm sure Dan would catch this, but this is incorrect. You mean something like: die2("no such user id %lu\n", (unsigned long)getuid()); -- ------------------------------------------------------------------------------- Paul D. Smith HASMAT: HA Software Mthds & Tools "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions--Nortel takes no responsibility for them. From - Tue Aug 30 04:16:30 2005 X-UIDL: 658ae569d7b1e938 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 56199 invoked by uid 3177); 30 Aug 2005 11:21:05 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 56196 invoked from network); 30 Aug 2005 11:21:05 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 30 Aug 2005 11:21:05 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id CA1DD92E34 for ; Tue, 30 Aug 2005 07:21:05 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mailwash1.pair.com (Postfix) with SMTP id 3EFF592E33 for ; Tue, 30 Aug 2005 07:21:04 -0400 (EDT) Received: (qmail invoked by alias); 30 Aug 2005 11:14:23 -0000 Received: from gate-hacon.hacon.de (EHLO [10.128.54.135]) [213.83.5.130] by mail.gmx.net (mp014) with SMTP; 30 Aug 2005 13:14:23 +0200 X-Authenticated: #504031 Message-ID: <43143F05.5000801@gmx.de> Date: Tue, 30 Aug 2005 13:12:05 +0200 From: Tobias Polzin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Dan Kegel Subject: Re: crosstool and cygwin References: <430B69E6.9070801@gmx.de> <430BEF79.2090608@kegel.com> <430C1FE9.4050108@gmx.de> <430C9C46.3060306@kegel.com> In-Reply-To: <430C9C46.3060306@kegel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Hi, me again, I just remembered that it took me another hint to compile the cygwin-distcc cross-compiler: http://forums.gentoo.org/viewtopic-p-2432783.html#2432783 -in i686.dat file, change the target= line from i686-unknown-linux-gnu to i686-pc-linux-gnu, or youre gonna have to do some linking for distcc to work with your toolchain I don´t know, what this means, but I had the impression, that it helped (did not work before, did work after), although I am not 100% sure, as I may have changed other parameters, too. Perhaps interesting to others that don´t read gentoo-forums... Liebe Grüße, Tobias From - Tue Aug 30 12:28:57 2005 X-UIDL: 6024ed9e2f53f1f6 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 74447 invoked by uid 3177); 30 Aug 2005 19:41:09 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 74444 invoked from network); 30 Aug 2005 19:41:09 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 30 Aug 2005 19:41:09 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 6037F92EB3 for ; Tue, 30 Aug 2005 15:41:09 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=-4.3 required=5.0 tests=RCVD_IN_BSP_TRUSTED autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from 216-239-45-4.google.com (216-239-45-4.google.com [216.239.45.4]) by mailwash1.pair.com (Postfix) with ESMTP id EADE792D63 for ; Tue, 30 Aug 2005 15:41:07 -0400 (EDT) Received: from [172.29.52.41] (dank.smo.corp.google.com [172.29.52.41]) by stewie.corp.google.com with ESMTP id j7UJZvmX018095; Tue, 30 Aug 2005 12:35:57 -0700 Message-ID: <4314B51D.7080903@google.com> Date: Tue, 30 Aug 2005 12:35:57 -0700 From: Daniel Kegel User-Agent: Mozilla Thunderbird 1.0 (X11/20050207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Kegel , Dan Kegel Subject: crosstool suggestion Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Include symlinks in the runtime rpms in case somebody's installing it with cpio From - Sun Sep 4 23:31:28 2005 X-UIDL: 77eec1d2a500d50d 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 71831 invoked by uid 3177); 5 Sep 2005 06:44:21 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 71828 invoked from network); 5 Sep 2005 06:44:21 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 5 Sep 2005 06:44:21 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id C605392D36 for ; Mon, 5 Sep 2005 02:44:21 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 60F6A92D2B for ; Mon, 5 Sep 2005 02:44:19 -0400 (EDT) Received: (qmail 31956 invoked by alias); 5 Sep 2005 06:44:17 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 31923 invoked by uid 22791); 5 Sep 2005 06:44:13 -0000 Received: from deliver-1.mx.triera.net (HELO deliver-1.mx.triera.net) (213.161.0.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 05 Sep 2005 06:44:13 +0000 Received: from localhost (in-1.mx.triera.net [213.161.0.25]) by deliver-1.mx.triera.net (Postfix) with ESMTP id D415CC1CA; Mon, 5 Sep 2005 08:44:06 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-1.mx.triera.net (Postfix) with SMTP id E3F421BC07F; Mon, 5 Sep 2005 08:44:07 +0200 (CEST) Received: from [172.18.1.53] (unknown [213.161.20.162]) by smtp.triera.net (Postfix) with ESMTP id 84D7B1A18AA; Mon, 5 Sep 2005 08:44:08 +0200 (CEST) Subject: Re: cc1: error: invalid option `abi=32' From: Matej Kupljen To: Kyle unice Cc: crossgcc@sources.redhat.com In-Reply-To: <20050902133907.81174.qmail@web32613.mail.mud.yahoo.com> References: <20050902133907.81174.qmail@web32613.mail.mud.yahoo.com> Content-Type: text/plain Date: Mon, 05 Sep 2005 08:44:09 +0200 Message-Id: <1125902649.19482.0.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Hi > I cross compile glibc-2.3.5 for mips and I get this > error. See this message: http://sources.redhat.com/ml/crossgcc/2005-07/msg00036.html BR, Matej P.S.: I've already sent the patches to Dan, but I don't know why he doe not include them. ------ 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 - Wed Sep 7 09:51:22 2005 X-UIDL: 2477eaebc56ecce3 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 42130 invoked by uid 3177); 7 Sep 2005 17:04:10 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 42127 invoked from network); 7 Sep 2005 17:04:10 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 7 Sep 2005 17:04:10 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id C5D5A92D2B for ; Wed, 7 Sep 2005 13:04:10 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.2 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from mail2.L-3com.com (mail2.l-3com.com [128.170.207.35]) by mailwash1.pair.com (Postfix) with ESMTP id DBED592D1D for ; Wed, 7 Sep 2005 13:04:08 -0400 (EDT) Received: from SLXCG01.csw.L-3com.com (slxcg01.csw.L-3com.com [128.170.12.150]) by mail2.L-3com.com (8.12.10+Sun/8.12.10) with ESMTP id j87H47vU010038 for ; Wed, 7 Sep 2005 13:04:07 -0400 (EDT) Received: by slxcg01.csw.L-3com.com with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Sep 2005 11:03:57 -0600 Message-ID: <31892CFAF4097F488320D5FFDC600740276F319B@slxcg01.csw.L-3com.com> From: kyle.unice@L-3com.com To: dank@kegel.com Subject: FW: glibc-2.3.5 patch Date: Wed, 7 Sep 2005 11:03:56 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" -----Original Message----- From: Unice, W. Kyle @ CSW-SLC Sent: Wednesday, September 07, 2005 11:03 AM To: dan@kegel.com Subject: glibc-2.3.5 patch Dan, Looks like I was doing the wrong type build for what I wanted. The patch should be good. If you want to add the patch to crosstool I can test it for you. Kyle _____________________________________________ Kyle Unice L-3 Communications / Communication Systems - West Advanced Network Engineering 322 North 2200 West Dock 3 Salt Lake City, UT 84116-2988 Voice: (801) 594-2687 Fax: (801) 594-2980 From - Thu Sep 8 14:04:52 2005 X-UIDL: 450be4ba4a0190e1 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 14304 invoked by uid 3177); 8 Sep 2005 21:12:31 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 14301 invoked from network); 8 Sep 2005 21:12:31 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 8 Sep 2005 21:12:31 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id CC07F92D2B for ; Thu, 8 Sep 2005 17:12:31 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 277B392D32 for ; Thu, 8 Sep 2005 17:12:30 -0400 (EDT) Received: (qmail 8605 invoked by alias); 8 Sep 2005 21:12:29 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 8580 invoked by uid 22791); 8 Sep 2005 21:12:23 -0000 Received: from web31502.mail.mud.yahoo.com (HELO web31502.mail.mud.yahoo.com) (68.142.198.131) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Thu, 08 Sep 2005 21:12:23 +0000 Received: (qmail 86770 invoked by uid 60001); 8 Sep 2005 21:11:27 -0000 Message-ID: <20050908211127.86768.qmail@web31502.mail.mud.yahoo.com> Received: from [208.187.37.98] by web31502.mail.mud.yahoo.com via HTTP; Thu, 08 Sep 2005 14:11:26 PDT Date: Thu, 8 Sep 2005 14:11:26 -0700 (PDT) From: Jonathan Day Subject: Re: Question regarding compiling a toolchain for a Broadcom SB1 To: Daniel Kegel , gcc@gcc.gnu.org Cc: linux-mips@linux-mips.org, crossgcc In-Reply-To: <43207601.7020000@kegel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Here's the web link to all of the patches needed by the Linux From Scratch group. http://documents.jg555.com/cross-lfs/mips64-64/materials/patches.html I'm doing a build from the binutils, gcc and glibc from CVS, for an initial run. Results so far: Binutils patches cleanly, using the patch on file. It seems to build fine, when patched, but until all stages are complete, there's no easy way to verify that. GCC won't take the Posix patch and some of the other patches need massaging, but there doesn't seem to be any major problems. HOWEVER, this does say that you'd best stick with the intended version (GCC 4.0.1) for your build scripts. Glibc will take the 64-bit fixes but all other patches are rejected. It failed on the forced unwinding test, when configuring. According to the LFS docs, NPTL is broken for MIPS64, but I don't know if that is still the case. I decided to backtrack to the glibc that works, according to the LFS, and have classed the status of Glibc for MIPS64 as uncertain. --- Daniel Kegel wrote: > Jonathan Day wrote: > > Crosstool, for example, only supports 32-bit MIPS > - > > and even then the build matrix is a pretty sh ade > of > > red for the most part. > > [ The build matrix: > http://kegel.com/crosstool/current/buildlogs/ ] > > There are quite a few combinations that build for > 32-bit mips with crosstool, e.g. > mips-gcc-3.2.3-glibc-2.2.5 > mips-gcc-3.2.3-glibc-2.3.2 > mips-gcc-3.3.6-glibc-2.2.5 > mips-gcc-3.3.6-glibc-2.3.5 > mips-gcc-3.4.4-glibc-2.3.2-hdrs-2.6.11.2 > mips-gcc-3.4.4-glibc-2.3.5-hdrs-2.6.11.2 > mips-gcc-4.1-20050702-glibc-2.3.2-hdrs-2.6.11.2 > mips-gcc-4.1-20050709-glibc-2.3.2-hdrs-2.6.11.2 > so the situation isn't that dire. > > For the record, I would be more than happy to add > mips64 support to crosstool. > http://www.linux-mips.org/archives/linux-mips/2005-07/msg00189.html > http://documents.jg555.com/cross-lfs/mips64-64/cross-tools/glibc.html > http://documents.jg555.com/cross-lfs/mips64-64/cross-tools/gcc-final.html > mentions some patches that might be needed. > I haven't had time to chase them down and add them > to crosstool, > but if anybody else felt like it, I'd gladly accept > the patches. > I'm sure a lot of mips64 users would be very happy. > - Dan > > > ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------ 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 Sep 8 18:50:34 2005 X-UIDL: a36f9cd91929e6f9 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 61696 invoked by uid 3177); 8 Sep 2005 23:53:38 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 61693 invoked from network); 8 Sep 2005 23:53:38 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 8 Sep 2005 23:53:38 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 3081C92D16 for ; Thu, 8 Sep 2005 19:53:38 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mailwash1.pair.com (Postfix) with ESMTP id A9ECA92D19 for ; Thu, 8 Sep 2005 19:53:36 -0400 (EDT) Received: from relay6.apple.com (a17-128-113-36.apple.com [17.128.113.36]) by mail-out3.apple.com (8.12.11/8.12.11) with ESMTP id j88NWL9Q005118; Thu, 8 Sep 2005 16:32:21 -0700 (PDT) Received: from [17.201.26.169] (il0102b-dhcp119.apple.com [17.201.26.169]) by relay6.apple.com (Apple SCV relay) with ESMTP id 3AF3F4F5; Thu, 8 Sep 2005 16:32:21 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v734) To: dank@kegel.com Message-Id: <6DAFDF8C-34DD-4D0E-8F66-5892FC1482F4@geoffk.org> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-3--261227187; protocol="application/pkcs7-signature" Cc: GCC Patches Subject: Re:fix for fixinc problem when building crosscompiler into clean PREFIX From: Geoff Keating Date: Thu, 8 Sep 2005 16:32:23 -0700 X-Mailer: Apple Mail (2.734) X-Brightmail-Tracker: AAAAAA== --Apple-Mail-3--261227187 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Dan, I believe this patch breaks location-independence and so is not OK. :REVIEWMAIL: --Apple-Mail-3--261227187 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGRTCCAv4w ggJnoAMCAQICAw7dozANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUwNjA2MDUzNzU1WhcNMDYwNjA2MDUzNzU1WjByMRAwDgYDVQQE EwdLZWF0aW5nMRkwFwYDVQQqExBHZW9mZnJleSBGcmFuY2lzMSEwHwYDVQQDExhHZW9mZnJleSBG cmFuY2lzIEtlYXRpbmcxIDAeBgkqhkiG9w0BCQEWEWdlb2Zma0BnZW9mZmsub3JnMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvVUVLIqA8o0p5LSCLGEOKfXVu5Mh4+aYBV6MUeFVDCcQ Pj3LndH+OHXbK7sx2dG+HdMTow+wBzvF/qkUlu+p1hwVUNRTo+80Y6Er+5PnajA/ZCVEQIhat/Nf iN7DOwbShhbblSSKyKBCzvtMjHC4S5HCnnIyvS7sMDi/BQc+2ogbWsoCiP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LDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVl bWFpbCBJc3N1aW5nIENBAgMO3aMwDQYJKoZIhvcNAQEBBQAEggEATTwlZDBa6LkGvGkYeEVC1jve 2lg4+HRfTStXumWv5PPx1DcqUW8NWQUKsdJnanGh8FnfmfKcU9AXGWW+s6ExhLVhRC/lb8AAtGy8 MxaPY46eMMVR/eQdy4LZnsuFbBM0fgmPvNEcmpuSeRMyMfBBneVBml1fLU6meSDlU/70yLYnQiPx w/veyyIoGwI9MuLwC2y4/XldcAiyplv3BdFCvaadpmXhMXvFbcSfY1pDtl2+prJ5HCGg7CEzt9rP OhNLt5d8LiWMqVio65PtIKxVZ/tVgVrPjaeZG6kXQiV7yVhhFtJNyjgl9RIG3SX/Tf4eQpbMIi5Q Ic398A/qobJz+QAAAAAAAA== --Apple-Mail-3--261227187-- From - Fri Sep 9 06:07:58 2005 X-UIDL: c38a6a3cced8c120 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 12422 invoked by uid 3177); 9 Sep 2005 10:38:07 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 12419 invoked from network); 9 Sep 2005 10:38:06 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 9 Sep 2005 10:38:06 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id DEC9592D19 for ; Fri, 9 Sep 2005 06:38:06 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 7C11C92D35 for ; Fri, 9 Sep 2005 06:38:05 -0400 (EDT) Received: (qmail 1483 invoked by alias); 9 Sep 2005 10:38:03 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 1424 invoked by uid 22791); 9 Sep 2005 10:37:58 -0000 Received: from deliver-1.mx.triera.net (HELO deliver-1.mx.triera.net) (213.161.0.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 09 Sep 2005 10:37:58 +0000 Received: from localhost (in-2.mx.triera.net [213.161.0.26]) by deliver-1.mx.triera.net (Postfix) with ESMTP id 451C7C055 for ; Fri, 9 Sep 2005 12:37:50 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-2.mx.triera.net (Postfix) with SMTP id A255C1BC07B for ; Fri, 9 Sep 2005 12:37:52 +0200 (CEST) Received: from [172.18.1.53] (unknown [213.161.20.162]) by smtp.triera.net (Postfix) with ESMTP id CCC5A1A18AB for ; Fri, 9 Sep 2005 12:37:52 +0200 (CEST) Subject: Re: MIPS SF toolchain status From: Matej Kupljen To: crossgcc@sources.redhat.com In-Reply-To: <1126256032.20058.11.camel@localhost.localdomain> References: <1126256032.20058.11.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 09 Sep 2005 12:37:41 +0200 Message-Id: <1126262261.20058.12.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Hi > Will give it a try with the: > gcc-3.4.4-glibc-2.3.5-hdrs-2.6.11.2.dat With this it works :-) Now for the SF patch.... BR, Matej ------ 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 - Fri Sep 9 07:07:39 2005 X-UIDL: 54f9e4b5ae67c803 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 52035 invoked by uid 3177); 9 Sep 2005 14:13:16 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 52032 invoked from network); 9 Sep 2005 14:13:16 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 9 Sep 2005 14:13:16 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 85CD192D38 for ; Fri, 9 Sep 2005 10:13:16 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id D292792D27 for ; Fri, 9 Sep 2005 10:13:13 -0400 (EDT) Received: (qmail 8306 invoked by alias); 9 Sep 2005 14:13:11 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 8110 invoked by uid 22791); 9 Sep 2005 14:13:04 -0000 Received: from hoster906.com (HELO hoster906.com) (66.211.137.23) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 09 Sep 2005 14:13:04 +0000 Received: (qmail 6844 invoked by uid 503); 9 Sep 2005 14:12:22 -0000 Received: from unknown (HELO mnmoran.org) (mike@208.255.206.162) by hoster906.com with (RC4-MD5 encrypted) SMTP; 9 Sep 2005 14:12:22 -0000 Message-ID: <4321982F.6070309@mnmoran.org> Date: Fri, 09 Sep 2005 10:11:59 -0400 From: "Michael N. Moran" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: armv5b-softfloat-linux gcc-4.0.1 glibc-2.3.5 Content-Type: multipart/mixed; boundary="------------010600070804040802000706" --------------010600070804040802000706 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit This is a patch against crosstool-0.38 that I used to build an armv5b-softfloat-linux toolchain on this system: Linux sunset 2.4.20-9i8500.0 #11 Sun May 18 17:22:37 EDT 2003 i686 i686 i386 GNU/Linux I have successfully used the toolchain to build a snapgear 3.2.0 + uClibc-0.9.28 kernel for the Linksys NSLU2, which uses an IXP420 ARM processor. Most of the changes involved copying patches for older GCC versions into the patches/gcc-4.0.1 directory. There were no changes to the crosstool scripts themselves, although I added "mnm-armv5b-softfloat.sh", instead of changing the existing "armv5b-softfloat.sh" script. Note that some of these patches probably cannot be applied as a general rule for building ARM gcc-4.0.1 and/or glibc-2.3.5, and I'm not really sure how crosstool handles these kinds of exceptions. Comments welcome. -- Michael N. Moran (h) 770 516 7918 5009 Old Field Ct. (c) 678 521 5460 Kennesaw, GA, USA 30144 http://mnmoran.org "So often times it happens, that we live our lives in chains and we never even know we have the key." The Eagles, "Already Gone" The Beatles were wrong: 1 & 1 & 1 is 1 --------------010600070804040802000706 Content-Type: application/x-gzip; name="crosstool-0.38-mnm.patch.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="crosstool-0.38-mnm.patch.gz" H4sICCY1H0MAA2Nyb3NzdG9vbC0wLjM4LW1ubS5wYXRjaAC9WXlz4sYS/9t8io53Uz5AQuKy rcQpY5vd8B4+yuB6qUpSWiGNYMo6WI3ko7b83dM9I0BgwPbbfW8PNNJ0/6an1efI474P2qWT JeAmsRBpHAeaodcPq2EUak4S3jeHmoj91A9iJ9XFeIlMQ7J1pCVN096IumUetY40s6bVTTCP LMPAf7ox/QOa0TSMUrlcfsfqWzXDaGrGkWYcgNmwGg3LrC1AN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IRFMWOLPaaJY08c7MaOtwuN2nTYV2O0tNkAH0lW rGzswDt+YuItrdv8ww25BBtrd0HmjdgberaNnBubtY2cP6RL27xC8SzBsOqtVScTxdOP+vz0 owB8ge8xd5UX5x2IipXgwZrzjpUgy/xNq/nyTEb6WtM4qBxCWV2kq6miA/KjWZuNwToG7T9B RdMcodHHQ2xf5MmCLT7u5lTCFtjn88c9kI+yCLtBby9nw/g/46QFVClBJTmSSnRCgxkYG6PT aNQaYYxdplIro1TFhVAXS3T4ZA3AIh9t08WYvUw2lxO4z77C7sddjAR7FfSEvQ2ukLvdKnvK p1YZ8/S8+Tusdc2RtWk1Dzea41H+he9fmVCNv8yxFTrxiUOeqi9eiYO1/ySW6RsEp08ZOBXK L8AiQ9d2qNEnGNKM+tiBSbmb0seFlD5xSWbsEgSdI8kejg2zEcaekS4/wquiR52az8/LfRJB k8tr0+U1/7qLeW7TEXup/NoB+/cdkf+wE/LvPSB/1/m4+pj/nsPx95yNS3BVjcyYrts3A+JY TDkyzSh69RKRQqThRJOflvBF0QzWKYN2r2fPKDh9WguCOdE/QxRg1t8iAAA= --------------010600070804040802000706 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 --------------010600070804040802000706-- From - Fri Sep 9 08:07:39 2005 X-UIDL: e728a2c689ba8fda 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 67640 invoked by uid 3177); 9 Sep 2005 15:20:18 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 67637 invoked from network); 9 Sep 2005 15:20:18 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 9 Sep 2005 15:20:18 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id B8D9092D27 for ; Fri, 9 Sep 2005 11:20:18 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.3 required=5.0 tests=FORGED_RCVD_HELO,MIME_MISSING_BOUNDARY autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 4F50292D30 for ; Fri, 9 Sep 2005 11:20:15 -0400 (EDT) Received: (qmail 23233 invoked by alias); 9 Sep 2005 15:20:12 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 23204 invoked by uid 22791); 9 Sep 2005 15:20:06 -0000 Received: from adsl-67-116-42-147.dsl.sntc01.pacbell.net (HELO avtrex.com) (67.116.42.147) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 09 Sep 2005 15:20:06 +0000 Received: from [192.168.7.26] ([192.168.7.3]) by avtrex.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 9 Sep 2005 08:20:03 -0700 Message-ID: <4321A823.8050703@avtrex.com> Date: Fri, 09 Sep 2005 08:20:03 -0700 From: David Daney User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) MIME-Version: 1.0 To: Matej Kupljen CC: crossgcc@sources.redhat.com, linux-mips@linux-mips.org Subject: Re: MIPS SF toolchain References: <1126098584.12696.19.camel@localhost.localdomain> <431F0850.8090804@avtrex.com> <1126168866.25388.11.camel@orionlinux.starfleet.com> <1126179199.25389.20.camel@orionlinux.starfleet.com> <1126182122.25393.27.camel@orionlinux.starfleet.com> <432058C1.80106@avtrex.com> <1126248502.20058.5.camel@localhost.localdomain> In-Reply-To: <1126248502.20058.5.camel@localhost.localdomain> Content-Type: multipart/mixed; boundary="------------050704070601060306050104" --------------050704070601060306050104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Matej Kupljen wrote: > Hi > > >>>Can I just #ifdef this code if compiled for sf? >>> >> >>I do have some patches for glibc to get rid of these in a soft float >>build. > > > Can I see these patches, please? > (What is the #define for the FP?) > > >>However as Ralf Baechle said in the other message, the kernel FP >>emulator works and is not that large of an overhead. > Attached is the portions of my patches to glibc-2.3.3 that contain the setjump/longjump hacks. There are other things in there as well, so you will have to pick and choose as to which parts you want. I did this more as a proof of concept rather than the definitive answer. There are still some FP instructions being generated but I have not tracked them down yet. On my 2.4.29 based kernel (mipsel-linux) with glibc 2.3.3 and busybox 1.00, I don't get the 'Algorithmics/MIPS FPU Emulator v1.5' message until I run ldconfig or ftp. Most other programs don't seem to run any FP instructions. > > I also removed the FP Emulator in the kernel, just to be sure that > no SF ins are executed (I can send the patch to the list, but I know > there has already been discussion about this). > > IMHO, if we say that we have a SF toolchain then there MUST NOT > BE any SF ins, otherwise we have a "semi soft float" toolchain. > Don't you agree? Of course I agree. David Daney. --------------050704070601060306050104 Content-Type: application/x-gzip; name="glibc-2.3.3.diff.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="glibc-2.3.3.diff.gz" H4sICMm/ZkECA2dsaWJjLTIuMy4zLmRpZmYA7Dx7f9rGsn+7n2JC3BoSCSMExiZNTjAmDicY 8zO4TX91j44QC6gRElcPP5rb735ndiUh8cZxTnvvjUMArXZmd+c9sysG5nAIsmtMYWSZfUMu 5lX857jm6DDRcGg49tAc5Sf6J5Y3bVh967sXL17sgmqvWCiosqLgC5SjqlqpFtR8IfoDuXBc KHwnyzKsR1GSlYJcOIKiWi0VquWjFIoKoniR/oOxfstkYzqVdW8iD1g/GJn20IHX8JbG0Yxb DW9qusfXUy5LRwUgOD4VulQAv8nfATBb71uIasyMT7LeNwmFaNN4m4Ztb7EfH3D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B/sb//NrpHkcmNEnZR 3k4PQjT09waHfFvND17nx7m8ze78V8DPI1FZAuP0KQe+xLB9vh9CHg7Y7aEdWJZ4hDHGyh8B P3i+7UbMwasYMl7Y4b9usqnp59pHJe3wRjnE2f+4bM6poRd2gdbsRvHhuWXgnIqOfP2v4tTQ oh9NwQX+P2LZU1g2jGF1sbltwGOAvtC+JTDNmbiiUi1WvszEzSFPes7CsoPPSz1nKa5/cA0p SWphlhPFzuqBF1zI6sUPCsR3M8InybNKRGbtEwZh2BZ5WINhxuLygwD+WPej6qlY2cxhJ52q 8MliWIIjN87B6GeGdI8SGHLjoQcmcubpyAGOwjMivD0JPP+p5CvMkehnFHYJ0uYhv1zSUuie vjSxbIS0zKmVx57DVP/q0xuwZRr0NEKD6uTr3k7SEoF8qZhEeFLPN6nVgooi8mWhfAp18hGZ YrV8/HRPO5Hn6dW62vvFZ5yStdB1fNa008Z5s81P53SfkqmUbOzKVQHzBGwViL6C3qdwJ6sa laqy3WNsdECrtGp35rqLGf3C/oho3VNmVXY6QUu/QgPTwJ06Ik3zk+fIqI59fnbK9wDp07Et OnB75tgHPtAT9sIw+I6D9t+gnxrwHTD9uAv3Gb548NZ+QNSY7TvoQVxyTDZHGdgW8zyB58H5 n5UqZOfllwNdBay2QDxQoZWSD+8nwpammeCaGyLoczwD90MuNABfV9ZwuF4AAA== --------------050704070601060306050104 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 --------------050704070601060306050104-- From - Mon Sep 12 00:26:34 2005 X-UIDL: 19b834d52957a604 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 97970 invoked by uid 3177); 12 Sep 2005 07:34:55 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 97967 invoked from network); 12 Sep 2005 07:34:55 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 12 Sep 2005 07:34:55 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 9BDEC92D16 for ; Mon, 12 Sep 2005 03:34:55 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.8 required=5.0 tests=MIME_BASE64_BLANKS autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 3A7F992D23 for ; Mon, 12 Sep 2005 03:34:54 -0400 (EDT) Received: (qmail 18856 invoked by alias); 12 Sep 2005 07:34:46 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 18169 invoked by uid 22791); 12 Sep 2005 07:34:30 -0000 Received: from deliver-1.mx.triera.net (HELO deliver-1.mx.triera.net) (213.161.0.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 12 Sep 2005 07:34:30 +0000 Received: from localhost (in-2.mx.triera.net [213.161.0.26]) by deliver-1.mx.triera.net (Postfix) with ESMTP id D55CCC092; Mon, 12 Sep 2005 09:34:22 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-2.mx.triera.net (Postfix) with SMTP id 93DDD1BC08A; Mon, 12 Sep 2005 09:34:24 +0200 (CEST) Received: from [172.18.1.53] (unknown [213.161.20.162]) by smtp.triera.net (Postfix) with ESMTP id AA2581A18B4; Mon, 12 Sep 2005 09:34:24 +0200 (CEST) Subject: Re: MIPS SF toolchain From: Matej Kupljen To: David Daney Cc: crossgcc@sources.redhat.com, linux-mips@linux-mips.org In-Reply-To: <4321A823.8050703@avtrex.com> References: <1126098584.12696.19.camel@localhost.localdomain> <431F0850.8090804@avtrex.com> <1126168866.25388.11.camel@orionlinux.starfleet.com> <1126179199.25389.20.camel@orionlinux.starfleet.com> <1126182122.25393.27.camel@orionlinux.starfleet.com> <432058C1.80106@avtrex.com> <1126248502.20058.5.camel@localhost.localdomain> <4321A823.8050703@avtrex.com> Content-Type: multipart/mixed; boundary="=-PxFfBUIefT8W1dpZLbJ+" Date: Mon, 12 Sep 2005 09:33:58 +0200 Message-Id: <1126510438.9647.8.camel@localhost.localdomain> Mime-Version: 1.0 --=-PxFfBUIefT8W1dpZLbJ+ Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi > Attached is the portions of my patches to glibc-2.3.3 that contain the > setjump/longjump hacks. There are other things in there as well, so you > will have to pick and choose as to which parts you want. Done that :-) > I did this more as a proof of concept rather than the definitive answer. > There are still some FP instructions being generated but I have not > tracked them down yet. I did. They were in the sysdeps/mips/fpu_control.h I tested it with busybox and MPlayer and found no SF ins in the binaries. I run those binaries on kernel which has no FPU emulator. Versions: BINUTILS: 2.16.1 GCC: 3.4.4 GLIBC: 2.3.5 Let me know the results, if someone is going to use this patch. BR, Matej --=-PxFfBUIefT8W1dpZLbJ+ Content-Disposition: attachment; filename=glibc-2.3.5-mips-sf.patch.bz2 Content-Type: application/x-bzip; name=glibc-2.3.5-mips-sf.patch.bz2 Content-Transfer-Encoding: base64 H4sIAA0PJEMCA61Wa4/aOBT9nl9xxUwlKCRxCOGRaSukdne0WlUaia72w2plmcQJmcmrsQOD9s/v dcJkgIbHVAWUJ/fc43OPr/1tFQnImfRWgBdLJrgPWQpyxXdPl1v4wtaRj8eUb+GD76vznK1lwZ8N L0s+ad2VlLlrmiIrC48Lo+D+ikn1zkxi0ysyIULPM4eEODqZmYkICSHTsbGSSdwDlvpakvlREGFq zPaVSf4If5Z5/MhT+JCoW+Opvp2XsSyYIaJPI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LbJ+ 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 --=-PxFfBUIefT8W1dpZLbJ+-- From - Mon Sep 12 20:39:49 2005 X-UIDL: 8f9aae9f515a8dd3 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 6383 invoked by uid 3177); 13 Sep 2005 01:17:13 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 6380 invoked from network); 13 Sep 2005 01:17:13 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 13 Sep 2005 01:17:13 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 0479692D38 for ; Mon, 12 Sep 2005 21:17:13 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.2 required=5.0 tests=MIME_MISSING_BOUNDARY autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from av.mvista.com (gateway-1237.mvista.com [12.44.186.158]) by mailwash1.pair.com (Postfix) with ESMTP id 2E9A592D1D for ; Mon, 12 Sep 2005 21:17:12 -0400 (EDT) Received: from [10.0.4.58] (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id SAA23899; Mon, 12 Sep 2005 18:17:08 -0700 Message-ID: <43262894.80506@mvista.com> Date: Mon, 12 Sep 2005 18:17:08 -0700 From: Khem Raj User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Khem Raj CC: dank@kegel.com, crossgcc@sources.redhat.com Subject: Re: Modified the patch posted for GCC PR12010 References: <4325C0D2.9070006@mvista.com> In-Reply-To: <4325C0D2.9070006@mvista.com> Content-Type: multipart/mixed; boundary="------------080300070107060001080902" This is a multi-part message in MIME format. --------------080300070107060001080902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Khem Raj wrote: > Hi Dan, > > I applied the patch you posted for PR12010. It did not work for me for > two reasons. > > 1. My builddir is in parallel to libstdc++ dir in the source tree. I > have to change the order of searching. It will search for a libstdc++ > in builddir before srcdir otherwise it was hitting srcdir/libstdc++ > and failing if the objdir is created inside the GCC source tree. > 2. I use tranform name as a result my target_triplet is different from > target_alias and target libraries like libstdc++ are created under > folder named after target_alias and not target_triplet. > > I have refreshed your patch and now I can run g++ testsuite on > arm-linux cross compiler. I wonder if it looks OK to you > > Thanks > > Khem > > >------------------------------------------------------------------------ > >Index: gcc-3.4.4/gcc/testsuite/lib/g++.exp >=================================================================== >--- gcc-3.4.4.orig/gcc/testsuite/lib/g++.exp 2005-05-02 23:32:40.000000000 +0000 >+++ gcc-3.4.4/gcc/testsuite/lib/g++.exp 2005-09-10 12:11:03.000000000 +0000 >@@ -72,6 +72,8 @@ proc g++_version { } { > # > proc g++_include_flags { paths } { > global srcdir >+ global objdir >+ global target_alias > global HAVE_LIBSTDCXX_V3 > global TESTING_IN_BUILD_TREE > >@@ -83,7 +85,24 @@ proc g++_include_flags { paths } { > > set gccpath ${paths} > >- set odir [lookfor_file ${gccpath} libstdc++-v3] >+ # first assume no multilibs >+ verbose "g++_include_flags: trying in build directory $objdir" >+ set odir [lookfor_file ${objdir} "$target_alias/libstdc++-v3"] >+ >+ if { $odir == "" } { >+ verbose "g++_include_flags: couldn't find libstdc++-v3 on first try, trying multilib" >+ # assume multilib only one level deep >+ set multisub [file tail $gccpath] >+ set odir [lookfor_file ${objdir} "$target_alias/$multisub/libstdc++-v3"] >+ } >+ if { $odir == "" } { >+ verbose "g++_include_flags: couldn't find libstdc++-v3 on second try, now looking in gccpath directory $gccpath" >+ set odir [lookfor_file ${gccpath} libstdc++-v3] >+ } >+ if { $odir == "" } { >+ error "Can't find libstdc++-v3" >+ } >+ > if { ${odir} != "" } { > append flags [exec sh ${odir}/scripts/testsuite_flags --build-includes] > } >Index: gcc-3.4.4/libstdc++-v3/testsuite/lib/libstdc++.exp >=================================================================== >--- gcc-3.4.4.orig/libstdc++-v3/testsuite/lib/libstdc++.exp 2005-05-05 04:09:22.000000000 +0000 >+++ gcc-3.4.4/libstdc++-v3/testsuite/lib/libstdc++.exp 2005-09-10 12:13:17.000000000 +0000 >@@ -83,10 +83,23 @@ proc libstdc++_init { testfile } { > global includes > global gluefile wrap_flags > global ld_library_path >- global target_triplet >+ global target_alias > > set blddir [lookfor_file [get_multilibs] libstdc++-v3] >- set flags_file "${blddir}/scripts/testsuite_flags" >+ if { $blddir == "" } { >+ set multilibs [get_multilibs] >+ # FIXME: assume multilib only one level deep >+ set multisub [file tail $multilibs] >+ verbose "libstdc++-v3-init: couldn't find libstdc++-v3 in $multilibs, trying $objdir" >+ set blddir [lookfor_file ${objdir} "$target_alias/$multisub/libstdc++-v3"] >+ } >+ if { $blddir == "" } { >+ verbose "libstdc++-v3-init: couldn't find libstdc++-v3, trying $objdir without multilibs" >+ set blddir [lookfor_file ${objdir} "$target_alias/libstdc++-v3"] >+ } >+ if { $blddir == "" } { >+ error "Can't find libstdc++-v3" >+ } set flags_file "${blddir}/scripts/testsuite_flags" > v3track flags_file 2 > > # If a test doesn't have special options, use DEFAULT_CXXFLAGS. > > > >------------------------------------------------------------------------ > >------ >Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ >Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > I have removed target_triplet definition in libstdc++.exp and forgot a newline after last if statement in same file here is revised patch. It worked ok on arm-sim and arm-elf cross gcc testing. --------------080300070107060001080902 Content-Type: text/plain; name="diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff" Index: gcc-3.4.4/gcc/testsuite/lib/g++.exp =================================================================== --- gcc-3.4.4.orig/gcc/testsuite/lib/g++.exp 2005-05-02 23:32:40.000000000 +0000 +++ gcc-3.4.4/gcc/testsuite/lib/g++.exp 2005-09-10 12:11:03.000000000 +0000 @@ -72,6 +72,8 @@ proc g++_version { } { # proc g++_include_flags { paths } { global srcdir + global objdir + global target_alias global HAVE_LIBSTDCXX_V3 global TESTING_IN_BUILD_TREE @@ -83,7 +85,24 @@ proc g++_include_flags { paths } { set gccpath ${paths} - set odir [lookfor_file ${gccpath} libstdc++-v3] + # first assume no multilibs + verbose "g++_include_flags: trying in build directory $objdir" + set odir [lookfor_file ${objdir} "$target_alias/libstdc++-v3"] + + if { $odir == "" } { + verbose "g++_include_flags: couldn't find libstdc++-v3 on first try, trying multilib" + # assume multilib only one level deep + set multisub [file tail $gccpath] + set odir [lookfor_file ${objdir} "$target_alias/$multisub/libstdc++-v3"] + } + if { $odir == "" } { + verbose "g++_include_flags: couldn't find libstdc++-v3 on second try, now looking in gccpath directory $gccpath" + set odir [lookfor_file ${gccpath} libstdc++-v3] + } + if { $odir == "" } { + error "Can't find libstdc++-v3" + } + if { ${odir} != "" } { append flags [exec sh ${odir}/scripts/testsuite_flags --build-includes] } Index: gcc-3.4.4/libstdc++-v3/testsuite/lib/libstdc++.exp =================================================================== --- gcc-3.4.4.orig/libstdc++-v3/testsuite/lib/libstdc++.exp 2005-05-05 04:09:22.000000000 +0000 +++ gcc-3.4.4/libstdc++-v3/testsuite/lib/libstdc++.exp 2005-09-13 00:42:54.000000000 +0000 @@ -83,12 +83,26 @@ proc libstdc++_init { testfile } { global includes global gluefile wrap_flags global ld_library_path + global target_alias global target_triplet set blddir [lookfor_file [get_multilibs] libstdc++-v3] + if { $blddir == "" } { + set multilibs [get_multilibs] + # FIXME: assume multilib only one level deep + set multisub [file tail $multilibs] + verbose "libstdc++-v3-init: couldn't find libstdc++-v3 in $multilibs, trying $objdir" + set blddir [lookfor_file ${objdir} "$target_alias/$multisub/libstdc++-v3"] + } + if { $blddir == "" } { + verbose "libstdc++-v3-init: couldn't find libstdc++-v3, trying $objdir without multilibs" + set blddir [lookfor_file ${objdir} "$target_alias/libstdc++-v3"] + } + if { $blddir == "" } { + error "Can't find libstdc++-v3" + } set flags_file "${blddir}/scripts/testsuite_flags" v3track flags_file 2 - # If a test doesn't have special options, use DEFAULT_CXXFLAGS. # Use this variable if the behavior # 1) only applies to libstdc++ testing --------------080300070107060001080902-- From - Wed Sep 14 07:23:45 2005 X-UIDL: b1ebba5542346b41 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 26914 invoked by uid 3177); 14 Sep 2005 14:24:04 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 26911 invoked from network); 14 Sep 2005 14:24:03 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 14 Sep 2005 14:24:03 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 0363592D3A for ; Wed, 14 Sep 2005 10:24:04 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 90DC392D3E for ; Wed, 14 Sep 2005 10:24:02 -0400 (EDT) Received: (qmail 2615 invoked by alias); 14 Sep 2005 14:24:00 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 2579 invoked by uid 22791); 14 Sep 2005 14:23:52 -0000 Received: from amsterdam.ucdavis.edu (HELO amsterdam.ucdavis.edu) (169.237.104.160) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 14 Sep 2005 14:23:52 +0000 Received: from [192.168.1.102] (c-66-31-40-68.hsd1.ma.comcast.net [66.31.40.68]) (authenticated bits=0) by amsterdam.ucdavis.edu (8.13.3/8.13.1/it-defang-5.4.0) with ESMTP id j8EENkPn014034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Sep 2005 07:23:48 -0700 (PDT) Message-ID: <43283262.9010006@ucdavis.edu> Date: Wed, 14 Sep 2005 10:23:30 -0400 From: Josh Parsons User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) MIME-Version: 1.0 To: crossgcc@sources.redhat.com Subject: Re: On limits.h problem between 0.29 and 0.38 References: <4326E25F.7090504@kegel.com> In-Reply-To: <4326E25F.7090504@kegel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UCD-Spam-Score: 0.001 () BAYES_00 Dan Kegel wrote: > http://gcc.gnu.org/PR22541 > I include a patch to deal with this for gcc-3.4.3 and gcc-4.0.1, but not > for 3.4.1. > Can you use gcc-3.4.3 instead of gcc-3.4.1? > Or try doing > cd crosstool-0.38/patches > cp gcc-3.4.3/fix-fixincl.patch gcc-3.4.1/ For the record, I've found this bug when building arm toolchains with gcc 3.3.5 and 3.3.4 - the patch from crosstool 0.38 for gcc 3.4.3 applied without difficulty and resolved the problem. -- Josh Parsons Philosophy Department 1238 Social Sciences and Humanities Bldg. University of California Davis, CA 95616-8673 USA Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ------ 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 - Wed Sep 14 17:56:55 2005 X-UIDL: b0417a453a2ae234 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 52679 invoked by uid 3177); 15 Sep 2005 01:04:32 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 52676 invoked from network); 15 Sep 2005 01:04:32 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 15 Sep 2005 01:04:32 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 3AD2292D3E for ; Wed, 14 Sep 2005 21:04:32 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.7 required=5.0 tests=HTML_MESSAGE,HTML_NONELEMENT_20_30,HTML_TAG_BALANCE_BODY,MIME_MISSING_BOUNDARY autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from petasus.ch.intel.com (petasus.ch.intel.com [143.182.124.5]) by mailwash1.pair.com (Postfix) with ESMTP id 973CE92D4A for ; Wed, 14 Sep 2005 21:04:30 -0400 (EDT) Received: from azsmsxvs041.ch.intel.com (azsmsxvs041.ch.intel.com [143.182.252.55]) by petasus.ch.intel.com (8.12.9-20030918-01/8.12.10/d: small-solo.mc,v 1.2 2004/09/17 18:05:04 root Exp $) with SMTP id j8ENdHOF012434 for ; Wed, 14 Sep 2005 23:39:17 GMT Received: from azsmsx331-2.ch.intel.com ([10.2.161.41]) by azsmsxvs041.ch.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2005091416403213604 for ; Wed, 14 Sep 2005 16:40:32 -0700 Received: from azsmsx403.amr.corp.intel.com ([10.2.161.25]) by azsmsx331-2.ch.intel.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 14 Sep 2005 16:40:26 -0700 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_01C5B985.AE87647A" Subject: crosstool arm-iwmmxt.dat for gcc-4.0.1 Date: Wed, 14 Sep 2005 16:40:25 -0700 Message-ID: <9D8D8CF43632BE4F8B7BE234B128C60C071A50A1@azsmsx403> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: crosstool arm-iwmmxt.dat for gcc-4.0.1 Thread-Index: AcW5ha41VFw6/Fs1StiwUa4uAgUm3g== From: "Gass, Larry H" To: X-OriginalArrivalTime: 14 Sep 2005 23:40:26.0168 (UTC) FILETIME=[AEA3B380:01C5B985] This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B985.AE87647A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Dan, =20 I work at Intel Corporation in Chandler, Arizona. First off, I just wanted to say how wonderful crosstool is. You have done a great job of providing something EXTREMELY valuable for everyone. I'm not a Linux expert; I'm trying to get up to speed as quickly as possible, though. In my tinkering around, I found that version 4.0.1 of the arm-iwmmxt-linux-gnu compiler will compile if the "-with-abi=3Diwmmxt" parameter is added to GCC_EXTRA_CONFIG. I'm not sure the implications downstream of this flag, but I'm able to compile "normal C" programs with it. =20 =20 Have a good one, and thanks a million for crosstool. =20 Best regards, Larry Gass =20 =20 =20 >From arm-iwmmxt.dat: =20 KERNELCONFIG=3D`pwd`/arm.config TARGET=3Darm-iwmmxt-linux-gnu TARGET_CFLAGS=3D"-O" GCC_EXTRA_CONFIG=3D"--with-cpu=3Diwmmxt --with-abi=3Diwmmxt --enable-cxx-flags=3D-mcpu=3Diwmmxt" =20 =20 ------_=_NextPart_001_01C5B985.AE87647A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi = Dan,

 

I work at Intel = Corporation in Chandler, = Arizona.  First off, I just wanted to say how wonderful crosstool is. =  You have done a great job of providing something EXTREMELY valuable for = everyone.  I’m not a Linux expert; I’m trying to get up to speed as = quickly as possible, though.  In my tinkering around, I found that version = 4.0.1 of the arm-iwmmxt-linux-gnu compiler will compile if the = “—with-abi=3Diwmmxt” parameter is added to GCC_EXTRA_CONFIG.  I’m not sure the implications downstream of this flag, but I’m able to compile = “normal C” programs with it. 

 

Have a good one, = and thanks a million for crosstool.

 

Best = regards,

Larry = Gass

 

 

 

From = arm-iwmmxt.dat:

 

KERNELCONFIG=3D`pwd`/arm.config

TARGET=3Darm-iwmmxt-linux-gnu

TARGET_CFLAGS=3D"-O"

GCC_EXTRA_CONFIG=3D"--with-cpu=3Diwmmxt --with-abi=3Diwmmxt = --enable-cxx-flags=3D-mcpu=3Diwmmxt"

 

 

------_=_NextPart_001_01C5B985.AE87647A-- From - Mon Sep 19 00:27:01 2005 X-UIDL: 5380b1f32fc4880d 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 58759 invoked by uid 3177); 19 Sep 2005 07:31:27 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 58756 invoked from network); 19 Sep 2005 07:31:27 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Sep 2005 07:31:27 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 8B14992D3A for ; Mon, 19 Sep 2005 03:31:27 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 4AE1F92D3E for ; Mon, 19 Sep 2005 03:31:25 -0400 (EDT) Received: (qmail 29468 invoked by alias); 19 Sep 2005 07:31:24 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 29414 invoked by uid 22791); 19 Sep 2005 07:31:16 -0000 Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 19 Sep 2005 07:31:16 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id 9AEBA2224C; Mon, 19 Sep 2005 00:31:14 -0700 (PDT) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17770-07-5; Mon, 19 Sep 2005 00:31:13 -0700 (PDT) Received: from ussunex1.palmsource.com (unknown [192.168.101.16]) by mx2.palmsource.com (Postfix) with ESMTP id C0FEC21F7C; Mon, 19 Sep 2005 00:31:13 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: On limits.h problem between 0.29 and 0.38 Date: Mon, 19 Sep 2005 00:31:13 -0700 Message-ID: From: "Martin Fouts" To: "Dan Kegel" Cc: > This is nearly certainly the problem I reported on the gcc=20 > mailing list and in bugzilla. Have a look at > http://gcc.gnu.org/PR22541 It is. I didn't understand why changing versions of crosstool would cause it to appear in the same compiler until I saw your explanation. > I include a patch to deal with this for gcc-3.4.3 and=20 > gcc-4.0.1, but not for 3.4.1. > Can you use gcc-3.4.3 instead of gcc-3.4.1? Will try that when we have more time. We're currently hard pressed on a milestone and I'd hate to change toolchains at this point. > Or try doing > cd crosstool-0.38/patches > cp gcc-3.4.3/fix-fixincl.patch gcc-3.4.1/ That solved it. Thanks, again. Marty ------ 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 Sep 27 22:39:31 2005 X-UIDL: 33a51c545d1e2dbe 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 85037 invoked by uid 3177); 20 Sep 2005 16:16:53 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 85034 invoked from network); 20 Sep 2005 16:16:53 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 20 Sep 2005 16:16:53 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 786CB92D3D for ; Tue, 20 Sep 2005 12:16:53 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=5.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id CD60D92D27 for ; Tue, 20 Sep 2005 12:16:50 -0400 (EDT) Received: (qmail 28606 invoked by alias); 20 Sep 2005 16:16:08 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 28387 invoked by uid 22791); 20 Sep 2005 16:15:50 -0000 Received: from smtpauth04.mail.atl.earthlink.net (HELO smtpauth04.mail.atl.earthlink.net) (209.86.89.64) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 20 Sep 2005 16:15:49 +0000 Received: from [129.44.183.194] (helo=Finin) by smtpauth04.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1EHkmZ-00020x-6c for crossgcc@sourceware.org; Tue, 20 Sep 2005 12:15:47 -0400 Subject: Re: Building on Fedora From: Mike Joyce Reply-To: fiann@earthlink.net To: crossgcc@sourceware.org In-Reply-To: <1127196984.27701.ezmlm@sourceware.org> References: <1127196984.27701.ezmlm@sourceware.org> Content-Type: text/plain Date: Tue, 20 Sep 2005 12:15:46 -0400 Message-Id: <1127232946.10497.42.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 1109715354c1bf4a74bf435c0eb9d47858fd6117bcadbe0bfb05ca94f87f874d395058a089a7c6ae350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c On Tue, 2005-09-20 at 06:16 +0000, David Karlton wrote: > I'm trying to build crosstool-0.38 on a number of linux installation > (Suse 9.1, Fedora Core 2), and am having trouble with Fedora. Notably, > it is telling me that gcc 4.0.0 is too "old", when trying to build > gcc-3.3.4-glibc-2.3.2 for mipsel. > > On my Suse installation, I have gcc 3.3.3. Is the fact that it > complains about 4.0.0 on Fedora a bug in the build routine? Something I > can fix? > > dk > > ********************************* > > checking build system type... i686-pc-linux-gnu > checking host system type... mipsel-unknown-linux-gnu > checking sysdep dirs... sysdeps/mips/elf sysdeps/unix/sysv/linux/mips > sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common > sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/mips > sysdeps/unix sysdeps/posix sysdeps/mips/mipsel sysdeps/mips/fpu > sysdeps/mips sysdeps/wordsize-32 sysdeps/ieee754/flt-32 > sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic > checking for a BSD-compatible install... /usr/bin/install -c > checking whether ln -s works... yes > checking for pwd... /bin/pwd > checking for mipsel-unknown-linux-gnu-gcc... gcc > checking version of gcc... 4.0.0, bad > checking for gnumake... no > checking for gmake... gmake > checking version of gmake... 3.80, ok > configure: error: > *** These critical programs are missing or too old: gcc > *** Check the INSTALL file for required versions. > I have had the same problem. What I found was that the glibc configure script was testing for a version of gcc 3.2.* or later. It does not test for a major number above 3 so the test fails. I do not know where this test is initiated, but once you have reached that point you can patch the configure script and run demo-*.sh with the --nounpack option added to your desired toolchain build. This patch worked for me: --- configure.orig 2005-09-19 21:31:45.000000000 -0400 +++ configure 2005-09-19 21:32:13.000000000 -0400 @@ -2274,6 +2274,8 @@ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 3.[2-9]*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + 4.*) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac I hope that this helps. Good Luck. -Mike Joyce ------ 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 Sep 27 22:39:35 2005 X-UIDL: dbedc8dfe76dc8c4 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 88175 invoked by uid 3177); 20 Sep 2005 16:27:31 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 88172 invoked from network); 20 Sep 2005 16:27:31 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 20 Sep 2005 16:27:31 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 93CD892D3A for ; Tue, 20 Sep 2005 12:27:31 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id 282D492D3D for ; Tue, 20 Sep 2005 12:27:30 -0400 (EDT) Received: (qmail 5149 invoked by alias); 20 Sep 2005 16:27:29 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 4967 invoked by uid 22791); 20 Sep 2005 16:27:15 -0000 Received: from host217-40-213-68.in-addr.btopenworld.com (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 20 Sep 2005 16:27:15 +0000 Received: from mace ([192.168.1.25]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Sep 2005 17:27:13 +0100 From: "Dave Korn" To: , Subject: RE: Building on Fedora Date: Tue, 20 Sep 2005 17:27:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <1127232946.10497.42.camel@localhost.localdomain> Message-ID: ----Original Message---- >From: Mike Joyce >Sent: 20 September 2005 17:16 > I have had the same problem. What I found was that the glibc configure > script was testing for a version of gcc 3.2.* or later. It does not test > for a major number above 3 so the test fails. I do not know where this > test is initiated, but once you have reached that point you can patch > the configure script and run demo-*.sh with the --nounpack option added > to your desired toolchain build. > > This patch worked for me: > > --- configure.orig 2005-09-19 21:31:45.000000000 -0400 > +++ configure 2005-09-19 21:32:13.000000000 -0400 > @@ -2274,6 +2274,8 @@ > '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; > 3.[2-9]*) > ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; > + 4.*) > + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; > *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; > > esac Hey, as long as we're at it, why not be a bit more generous and assume that all future versions of gcc will be good? --- configure.orig 2005-09-19 21:31:45.000000000 -0400 +++ configure 2005-09-19 21:32:13.000000000 -0400 @@ -2274,6 +2274,8 @@ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 3.[2-9]*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + [4-9].*) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac Heh, I guess there was that terrible regression in gcc-408.6.2 back in the year 3621, but let's not worry about that for the moment..... cheers, DaveK -- Can't think of a witty .sigline today.... ------ 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 - Wed Sep 28 08:52:02 2005 X-UIDL: 494945f8e145c59e 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 1964 invoked by uid 3177); 28 Sep 2005 15:58:04 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 1961 invoked from network); 28 Sep 2005 15:58:04 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 28 Sep 2005 15:58:04 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 08CD092D31 for ; Wed, 28 Sep 2005 11:58:04 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 X-Greylisting: 12.107.209.0/24 is whitelisted Received: from sourceware.org (sourceware.org [12.107.209.250]) by mailwash1.pair.com (Postfix) with SMTP id C22A292D3D for ; Wed, 28 Sep 2005 11:58:00 -0400 (EDT) Received: (qmail 17471 invoked by alias); 28 Sep 2005 15:57:58 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 17463 invoked by uid 22791); 28 Sep 2005 15:57:55 -0000 Received: from world.rdmcorp.com (HELO mailhost.rdmcorp.com) (204.225.180.10) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 28 Sep 2005 15:57:55 +0000 Received: from [10.1.1.101] (10.1.2.1) by mailhost.rdmcorp.com (Worldmail 1.3.167) for crossgcc@sources.redhat.com; 28 Sep 2005 11:57:53 -0400 Date: Wed, 28 Sep 2005 11:55:26 -0400 (EDT) From: "Robert P. J. Day" To: crossgcc list Subject: gcc-4.0.2: 2/3 gcc-4.0.1 patches required Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII brand new gcc-4.0.2 and, from cursory examination of the patches from gcc-4.0.1 and the source code, it looks like: fix-fixincl.patch Carry forward pr20815-fix.patch Carry forward pr21951-fix2.patch Drop a build is currently running to verify this. rday ------ 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 Oct 4 08:07:46 2005 X-UIDL: ee2f3ffc78682fd5 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 68432 invoked by uid 3177); 4 Oct 2005 15:16:52 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 68427 invoked from network); 4 Oct 2005 15:16:52 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 4 Oct 2005 15:16:52 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 8B9ED92D4A for ; Tue, 4 Oct 2005 11:16:52 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mailwash1.pair.com (Postfix) with SMTP id E732992D40 for ; Tue, 4 Oct 2005 11:16:47 -0400 (EDT) Received: (qmail 15002 invoked by alias); 4 Oct 2005 15:16:46 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 14972 invoked by uid 22791); 4 Oct 2005 15:16:43 -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, 04 Oct 2005 15:16:43 +0000 Received: from [198.120.73.9] (helo=KA-S-EX1.karlsfeld.vst-vossloh.com) by gatekeeper.vitk.vossloh.com with esmtp (Exim 4.43) id 1EMoX2-0001vt-UA for crossgcc@sources.redhat.com; Tue, 04 Oct 2005 17:16:40 +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.0.2 arm-softfloat-linux Date: Tue, 4 Oct 2005 17:16:40 +0200 Message-ID: From: "Michelsen, Robert" To: Hello, i just want to add that gcc 4.0.2 series toolchain compiles and successfully run software (userland) on test system now. target: arm7 (sharp blue streak series), linux (2.4.27 series) with softfloat host: cygwin (win xp) and fedora linux =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /opt/crosstool/src/crosstool-0.38 $ ls patches/gcc-4.0.2/ fix-fixincl.patch gcc-3.4.0-arm-lib1asm.patch gcc-4.0.2-arm-nolibfloat.patch pr20815-fix.patch ------------------ The "gcc-4.0.2-arm-nolibfloat" patch is rediffed/modified against "arm-nolibfloat.patch" of gcc 3.4.x series Probably useful for 4.0.0 and 4.0.1 too. --- gcc-4.0.2/gcc/config/arm/linux-elf.h.orig 2005-09-30 11:58:10.218750000 +0200 +++ gcc-4.0.2/gcc/config/arm/linux-elf.h 2005-09-30 11:58:44.984375000 +0200 @@ -56,7 +56,7 @@ %{shared:-lc} \ %{!shared:%{profile:-lc_p}%{!profile:-lc}}" =20 -#define LIBGCC_SPEC "%{msoft-float:-lfloat} = %{mfloat-abi=3Dsoft*:-lfloat} -lgcc" +#define LIBGCC_SPEC "-lgcc" =20 /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add the GNU/Linux magical crtbegin.o file (see crtstuff.c) which=20 =20 ------------------ The "gcc-3.4.0-arm-lib1asm" patch is modified to get glibc 2.3.5 to build (notice additional "_floatdidf _floatdisf") diff -urNd gcc-3.4.0-orig/gcc/config/arm/t-linux gcc-3.4.0/gcc/config/arm/t-linux --- gcc-3.4.0-orig/gcc/config/arm/t-linux 2003-09-20 23:09:07.000000000 +0200 +++ gcc-3.4.0/gcc/config/arm/t-linux 2004-05-01 20:31:59.102846400 +0200 @@ -4,7 +4,10 @@ LIBGCC2_DEBUG_CFLAGS =3D -g0 =20 LIB1ASMSRC =3D arm/lib1funcs.asm -LIB1ASMFUNCS =3D _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx +LIB1ASMFUNCS =3D _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \ + _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \ + _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \ + _fixsfsi _fixunssfsi _floatdidf _floatdisf=20 =20 # MULTILIB_OPTIONS =3D mhard-float/msoft-float # MULTILIB_DIRNAMES =3D hard-float soft-float=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ cat gcc-4.0.2-glibc-2.3.5-linux-2.4.27-vrs1-lineo5-stl3.dat BINUTILS_DIR=3Dbinutils-2.16.1 GCC_DIR=3Dgcc-4.0.2 GLIBC_DIR=3Dglibc-2.3.5 LINUX_DIR=3Dlinux-2.4.27-vrs1-lineo5-stl3 GLIBCTHREADS_FILENAME=3Dglibc-linuxthreads-2.3.5 GDB_DIR=3Dgdb-6.3.50.20050926 ------------------ $ cat arm-softfloat-linux.dat KERNELCONFIG=3D`pwd`/arm.config TARGET=3Darm-softfloat-linux-gnu TARGET_CFLAGS=3D"-O" GCC_EXTRA_CONFIG=3D"--with-float=3Dsoft --with-cpu=3Darm7tdmi \ --enable-cxx-flags=3D-mcpu=3Darm7tdmi" GLIBC_EXTRA_CONFIG=3D"--without-fp"=20 ------------------ I have now two cross toolchains running (capable of producing arm executables):=20 gcc-3.4.4-glibc-2.3.3-linux-2.4.27-vrs1-lineo5-stl3.dat (stable, production systems) gcc-4.0.2-glibc-2.3.5-linux-2.4.27-vrs1-lineo5-stl3.dat (testing, mainly due to C++ optimization improvements) I have also running the same toolchains as native x86 cygwin/mingw32 (not cross but just for additonal testing, because the software is cross true platform) =20 I want to say "thank you" once again for this wonderful crosstool. It is a real time-saver. 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 - Wed Oct 5 17:01:39 2005 X-UIDL: 85e2a369914b3cd8 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 72518 invoked by uid 3177); 6 Oct 2005 00:09:23 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 72514 invoked from network); 6 Oct 2005 00:09:22 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Oct 2005 00:09:22 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id F0C5492D40 for ; Wed, 5 Oct 2005 20:09:22 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.1 required=6.0 tests=HTML_30_40,HTML_MESSAGE,RCVD_BY_IP autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mailwash1.pair.com (Postfix) with ESMTP id 8989092D31 for ; Wed, 5 Oct 2005 20:09:20 -0400 (EDT) Received: by zproxy.gmail.com with SMTP id n1so119147nzf for ; Wed, 05 Oct 2005 17:09:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type; b=Ktiqv3uFex0/BAurv1PHBQDFI/jcroxLlGfdW8ffs32geLwo01zlOMcO0IAtb76kMjOGvr2GETjkLLqqLrj3sri4EDXLFgCtgcYr+d/eNPJ5FOj53mAu/fzQ+pczqahHrgkwuot0aVbfamYrq0vRBg9fYviiS+rrHs/jJroPRW8= Received: by 10.36.90.11 with SMTP id n11mr11962nzb; Wed, 05 Oct 2005 17:09:10 -0700 (PDT) Received: by 10.36.31.6 with HTTP; Wed, 5 Oct 2005 17:09:19 -0700 (PDT) Message-ID: <6f506bf60510051709x1bffbf6co3b4456d904ef3b68@mail.gmail.com> Date: Wed, 5 Oct 2005 17:09:19 -0700 From: Grant Mills Reply-To: Grant Mills Sender: mills.grant@gmail.com To: dank@kegel.com Subject: Modifications to demo-*.sh scripts MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8209_11473761.1128557359966" ------=_Part_8209_11473761.1128557359966 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dan, I'm using crosstool-0.38 to build cross compilers for i686 (just to see if the native cross actually works), arm-xscale, and mips (still trying to figure out if I need mips or mipsel, but that's a different story.) So far I'v been able to build all four, then when I try to build gdb or testlinux = ( 2.6.8) I start running into problems. But that's not why I'm writting. I was looking at the setup of the demo-*.sh scripts. I wanted to call the demo-*.sh script with extra parameters (--nounpack --nobuild --gdb --testlinux). I have a suggestion, you might see it as an improvement, you might not. I'm pasting in the contents of the demo-arm-xscale.sh script (because it's the shortest one I've used.) #!/bin/sh set -ex CROSSTOOL=3D$HOME/src/crosstool TARBALLS_DIR=3D$CROSSTOOL/downloads RESULT_TOP=3D$CROSSTOOL/results export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES=3D"c,c++" export GCC_LANGUAGES # 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. # gcc-3.3 doesn't support this, need gcc-3.4 #COMP_LIB_HDR_DAT=3Dgcc-3.4.0-glibc-2.3.2.dat #COMP_LIB_HDR_DAT=3Dgcc-3.4.1-glibc-2.3.3.dat #COMP_LIB_HDR_DAT=3Dgcc-3.4.1-glibc-20040827.dat #COMP_LIB_HDR_DAT=3Dgcc-3.4.2-glibc-20040827.dat COMP_LIB_HDR_DAT=3Dgcc-3.4.4-glibc-2.3.2-hdrs-2.6.11.2.dat eval `cat arm-xscale.dat $COMP_LIB_HDR_DAT` sh all.sh --notest $* echo Done. I fiddled with the TARBALLS_DIR and RESULT_TOP but that was for my particular. Just a suggestion, it makes the file more readable for me, but that's me. Thanks for doing most of the other grunt work. -- Grant Mills gmills@ucsd.edu ------=_Part_8209_11473761.1128557359966 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Dan,
    I'm using crosstool-0.38 to build cross compilers f= or i686 (just to see if the native cross actually works), arm-xscale, and m= ips (still trying to figure out if I need mips or mipsel, but that's a diff= erent story.)  So far I'v been able to build all four, then when I try= to build gdb or testlinux ( 2.6.8) I start running into problems.  But that's not why I'm writting= .
    I was looking at the setup of the demo-*.sh scripts= .  I wanted to call the demo-*.sh script with extra parameters (--noun= pack --nobuild --gdb --testlinux).  I have a suggestion, you might see= it as an improvement, you might not.  I'm pasting in the contents of = the=20 demo-arm-xscale.sh script (because it's the shortest one I've used.)
 

#!/bin/sh
set -ex
= CROSSTOOL=3D$HOME/src/crosstool
TARBALLS_DIR=3D$CROSSTOOL/downloads
R= ESULT_TOP=3D$CROSSTOOL/results
export TARBALLS_DIR RESULT_TOP
GCC_LAN= GUAGES=3D"c,c++"
export GCC_LANGUAGES

# 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.&n= bsp; Takes a couple hours and a couple gigabytes.

# gcc-3.3 doesn't suppor= t this, need gcc-3.4
#COMP_LIB_HDR_DAT=3Dgcc-3.4.0-glibc-2.3.2.dat
#C= OMP_LIB_HDR_DAT=3Dgcc-3.4.1-glibc-2.3.3.dat
#COMP_LIB_HDR_DAT=3Dgcc-3.4.= 1-glibc-20040827.dat
#COMP_LIB_HDR_DAT=3Dgcc-3.4.2-glibc-20040827.dat
COMP_LIB_HDR_DAT=3D= gcc-3.4.4-glibc-2.3.2-hdrs-2.6.11.2.dat

eval `cat arm-xscale.dat= $COMP_LIB_HDR_DAT` sh all.sh --notest $*

echo Done.=
I fiddled with the TARBALLS_DIR and RESULT_TOP but that wa= s for my particular.
 
Just a suggestion, it makes the file more readable for me,= but that's me.  Thanks for doing most of the other grunt work.

--
Grant Mills
gmi= lls@ucsd.edu
 
------=_Part_8209_11473761.1128557359966-- From - Thu Oct 6 03:23:16 2005 X-UIDL: 7ae699cc24becf0e X-Mozilla-Status: 0003 X-Mozilla-Status2: 10000000 Return-Path: Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 85689 invoked by uid 3177); 6 Oct 2005 10:25:45 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 85686 invoked from network); 6 Oct 2005 10:25:45 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Oct 2005 10:25:45 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 2AFB392D3A for ; Thu, 6 Oct 2005 06:25:45 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.1 required=6.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from srv-fw2.metrohm.ch (mail.metrohm.ch [62.2.237.193]) by mailwash1.pair.com (Postfix) with SMTP id 8B4E092D27 for ; Thu, 6 Oct 2005 06:25:44 -0400 (EDT) Received: from mailx.metrohm.ch ([10.157.212.29]) by srv-fw2.metrohm.ch (SAVSMTP 3.1.0.29) with SMTP id M2005100612103830906 for ; Thu, 06 Oct 2005 12:10:38 +0200 Received: from [10.157.213.59] ([10.157.213.59]) by mailx.metrohm.ch with Microsoft SMTPSVC(5.0.2195.6713); Thu, 6 Oct 2005 12:10:39 +0200 Subject: Crosstool From: el_gast To: dank@kegel.com Content-Type: multipart/mixed; boundary="=-tg3D3dbx2+2x3PUibbB1" Date: Thu, 06 Oct 2005 12:10:43 +0000 Message-Id: <1128600643.16802.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-OriginalArrivalTime: 06 Oct 2005 10:10:39.0186 (UTC) FILETIME=[33A11B20:01C5CA5E] --=-tg3D3dbx2+2x3PUibbB1 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello! I've modified crosstool-0.38 to work with MPC823. Here is the patch. It's tested and working. Greetings Hannes Diethelm Metrohm AG Oberdorfstr. 68 CH-9101 Herisau AR --=-tg3D3dbx2+2x3PUibbB1 Content-Disposition: attachment; filename=crosstool_mpc823_small.patch Content-Type: text/x-patch; name=crosstool_mpc823_small.patch; charset=us-ascii Content-Transfer-Encoding: 7bit diff -rNu crosstool-0.38/crosstool.sh crosstool-0.38-orig/crosstool.sh --- crosstool-0.38/crosstool.sh 2005-07-21 17:58:19.000000000 +0000 +++ crosstool-0.38-orig/crosstool.sh 2005-10-05 11:39:56.000000000 +0000 @@ -502,6 +502,12 @@ # 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 + # Remove broken memset.S for 8xx and 403 (they have cachesize=4) + # This file assumes an 8 word wide cache apparently! + if test ${TARGET} = powerpc-823-linux-gnu; then + rm ${GLIBC_DIR}/sysdeps/powerpc/powerpc32/memset.S + fi + BUILD_CC=gcc CFLAGS="$TARGET_CFLAGS $EXTRA_TARGET_CFLAGS" CC="${TARGET}-gcc $GLIBC_EXTRA_CC_ARGS" \ AR=${TARGET}-ar RANLIB=${TARGET}-ranlib \ ${GLIBC_DIR}/configure --prefix=/usr \ diff -rNu crosstool-0.38/demo-ppc823.sh crosstool-0.38-orig/demo-ppc823.sh --- crosstool-0.38/demo-ppc823.sh 1970-01-01 00:00:00.000000000 +0000 +++ crosstool-0.38-orig/demo-ppc823.sh 2005-10-05 11:45:56.000000000 +0000 @@ -0,0 +1,22 @@ +#!/bin/sh +set -ex +TARBALLS_DIR=$HOME/downloads +RESULT_TOP=/opt/crosstool +export TARBALLS_DIR RESULT_TOP +GCC_LANGUAGES="c,c++" +export GCC_LANGUAGES + +# 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 powerpc-860.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest +#eval `cat powerpc-860.dat gcc-3.3.3-glibc-2.3.2.dat` sh all.sh --notest +#eval `cat powerpc-860.dat gcc-3.4.0-glibc-2.3.2.dat` sh all.sh --notest + eval `cat powerpc-823.dat gcc-3.4.1-glibc-2.3.3.dat` sh all.sh --notest +#eval `cat powerpc-860.dat gcc-3.4.1-glibc-20040827.dat` sh all.sh --notest + +echo Done. diff -rNu crosstool-0.38/powerpc-823.dat crosstool-0.38-orig/powerpc-823.dat --- crosstool-0.38/powerpc-823.dat 1970-01-01 00:00:00.000000000 +0000 +++ crosstool-0.38-orig/powerpc-823.dat 2005-10-05 11:33:13.000000000 +0000 @@ -0,0 +1,4 @@ +TARGET=powerpc-823-linux-gnu +TARGET_CFLAGS="-O" +GCC_EXTRA_CONFIG="--with-cpu=823 --enable-cxx-flags=-mcpu=823" +GLIBC_EXTRA_CONFIG="--without-fp" diff -rNu crosstool-0.38/testhello.sh crosstool-0.38-orig/testhello.sh --- crosstool-0.38/testhello.sh 2005-07-12 18:06:57.000000000 +0000 +++ crosstool-0.38-orig/testhello.sh 2005-10-05 13:44:20.000000000 +0000 @@ -21,8 +21,7 @@ cat > hello.c <<_eof_ #include #include -static long x = LONG_MIN; -int main() { printf("Hello, world! LONG_MIN is %ld, PATH_MAX is %d\n", x, PATH_MAX); return 0; } +int main() { printf("Hello, world!"); return 0; } _eof_ $PREFIX/bin/$TARGET-gcc -static hello.c -o $TARGET-hello-static --=-tg3D3dbx2+2x3PUibbB1-- From - Thu Oct 6 07:58:00 2005 X-UIDL: c104cb16619c6482 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 34957 invoked by uid 3177); 6 Oct 2005 14:57:59 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 34954 invoked from network); 6 Oct 2005 14:57:59 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Oct 2005 14:57:59 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id B066D92D8B for ; Thu, 6 Oct 2005 10:57:59 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.5 required=6.0 tests=HTML_20_30,HTML_MESSAGE,RCVD_BY_IP autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mailwash1.pair.com (Postfix) with ESMTP id 4E65B92D87 for ; Thu, 6 Oct 2005 10:57:59 -0400 (EDT) Received: by zproxy.gmail.com with SMTP id n1so189951nzf for ; Thu, 06 Oct 2005 07:57:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type; b=OSHU4H+Zbvk4r0Ha7HWs17YDfMZfdm9Dbbhohpl+lwknbqbmTd4r8wRpFyN5WGDqmW9HBFt2DIhPk75nigwK9ZwETq1nJCW8rTRV9ThR0FYPsibFDrEaImC7aeOYG7OgUBkK2XZkxFXoZLe/PDdwCgesVKg+gvUD4xt4F0htWe8= Received: by 10.36.31.19 with SMTP id e19mr71169nze; Thu, 06 Oct 2005 07:57:58 -0700 (PDT) Received: by 10.36.31.6 with HTTP; Thu, 6 Oct 2005 07:57:58 -0700 (PDT) Message-ID: <6f506bf60510060757j1ae1a09cw9036fb3d82101b6f@mail.gmail.com> Date: Thu, 6 Oct 2005 07:57:58 -0700 From: Grant Mills Reply-To: Grant Mills Sender: mills.grant@gmail.com To: dank@kegel.com Subject: Build problems MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11344_11522213.1128610678834" ------=_Part_11344_11522213.1128610678834 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dan, I'm stumped. I built i686, arm-xscale, mips and mipsel under cygwin targeting gcc-3.4.4, glibc-2.3.2, and headers-2.6.11.2. When I tried the same combo under Redhat 9, I don't get past "Build glibc and linuxthreads" for the i686 processor. Haven't tried arm and mips yet. While building glibc, make -c iconvdata others is the call and the Error is that there is no rule to build IBM903.so. I've logged the output and find that IBM903.d i= s generated but somehow manages to disappear. This might be happening for several files but IBM903.d is the first occurance which kills the build. Any thoughts? I won't have access to my logs until I got home tonight but if you need any info from them, just ask. On the other side of the build problems ... Under cygwin, I was able to build all four processors cross compilers (--notest) was the only parameter passed to all.sh. When I tried to build the kernel for i686, the error that stops the build is "No rule to make target ...ipt_ecn.o". I found something on the web about needing a patch for building on case insensitive systems. That patch is being applied. Another curious note is that crosstool.sh is being executed, not crosstool-cygwin.sh. Again, any thoughts? This problem I can provide information on quickly as = I am doing these builds at work. Thanks in advance. -- Grant Mills gmills@ucsd.edu ------=_Part_11344_11522213.1128610678834 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Dan,
    I'm stumped.  I built i686, arm-xscale, mips a= nd mipsel under cygwin targeting gcc-3.4.4, glibc-2.3.2, and headers-2= .6.11.2.  When I tried the same combo under Redhat 9, I don't get past= "Build glibc and linuxthreads" for the i686 processor.  Hav= en't tried arm and mips yet.  While building glibc, make -c iconvdata = others is the call and the Error is that there is no rule to build=20 IBM903.so.  I've logged the output and find that IBM903.d is generated= but somehow manages to disappear.  This might be happening for severa= l files but IBM903.d is the first occurance which kills the build.
    Any thoughts?  I won't have access to my logs = until I got home tonight but if you need any info from them, just ask.
 
    On the other side of the build problems ... Under c= ygwin, I was able to build all four processors cross compilers (--notest) w= as the only parameter passed to all.sh.  When I tried to build the ker= nel for i686, the error that stops the build is "No rule to make targe= t ...ipt_ecn.o".  I found something on the web about needing a pa= tch for building on case insensitive systems.  That patch is being app= lied.  Another curious note is that=20 crosstool.sh is being executed, not crosstool-cygwin.sh.
    Again, any thoughts?  This problem I can provi= de information on quickly as I am doing these builds at work.
 
    Thanks in advance.

--
Gran= t Mills
gmills@ucsd.edu
 =
------=_Part_11344_11522213.1128610678834-- From - Thu Oct 6 12:07:35 2005 X-UIDL: 6659dc7d4404a956 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 1341 invoked by uid 3177); 6 Oct 2005 19:11:32 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 1338 invoked from network); 6 Oct 2005 19:11:31 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 6 Oct 2005 19:11:31 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id C92C592D3E for ; Thu, 6 Oct 2005 15:11:31 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mailwash1.pair.com (Postfix) with SMTP id 040FF92D4A for ; Thu, 6 Oct 2005 15:11:28 -0400 (EDT) Received: (qmail 7432 invoked by alias); 6 Oct 2005 19:11:27 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 7422 invoked by uid 22791); 6 Oct 2005 19:11:23 -0000 Received: from natfrord.rzone.de (HELO natfrord.rzone.de) (81.169.145.161) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 06 Oct 2005 19:11:23 +0000 Received: from [192.168.40.208] (p54A15E5B.dip.t-dialin.net [84.161.94.91]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j96JBKoG003485 for ; Thu, 6 Oct 2005 21:11:20 +0200 (MEST) Message-ID: <434576E1.6020305@sscd.de> Date: Thu, 06 Oct 2005 21:11:29 +0200 From: Alexander Sieb User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: crossgcc@sourceware.org Subject: Crosstool sh4-linux-gcc-4.0.2-glibc-2.3.5 patches Content-Type: multipart/mixed; boundary="------------060101070609030300090709" --------------060101070609030300090709 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, attached you find the files I needed to add to crosstool-0.38 in order to build a sh4-linux gcc-4.0.2-glibc-2.3.5 tool chain. Files attached: sh4-gcc4.dat: * gcc4 needs --with-multilib-list=m4,m4-nofpu otherwise a linux kernel won't build as it uses the -m4-nofpu option. gcc-pr21623.patch: * Kaz Kojima provided a patch for PR21623. glibc-2.3.5-sh-memset.patch: * A patch for glibc-2.3.5 which corrects memset. From SUGIOKA Toshinobu. See content for rationale. -- Regards, Alexander --------------060101070609030300090709 Content-Type: text/plain; name="gcc-pr21623.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="gcc-pr21623.patch" MjAwNS0wOS0zMCAgS2F6IEtvamltYSAgPGtrb2ppbWFAZ2NjLmdudS5vcmc+DQoNCgkqIGNv bmZpZy9zaC9zaC5jIChzaF9yZWdpc3Rlcl9tb3ZlX2Nvc3QpOiBBZGQgY2FzZSBmb3IgbW92 aW5nDQoJZnJvbSBUX1JFR1MgdG8gRlAgcmVnaXN0ZXIgY2xhc3MuDQoNCmRpZmYgLXVwIE9S SUcvZ2NjL2djYy9jb25maWcvc2gvc2guYyBUTVAvZ2NjL2djYy9jb25maWcvc2gvc2guYw0K LS0tIGdjYy9nY2MvY29uZmlnL3NoL3NoLmMJMjAwNS0wOS0wNyAwNjoxNjo1Ni4wMDAwMDAw MDAgKzA5MDANCisrKyBnY2MvZ2NjL2NvbmZpZy9zaC9zaC5jCTIwMDUtMDktMzAgMDc6MDY6 MzUuMDAwMDAwMDAwICswOTAwDQpAQCAtOTQ5MSw2ICs5NDkxLDkgQEAgc2hfcmVnaXN0ZXJf bW92ZV9jb3N0IChlbnVtIG1hY2hpbmVfbW9kZQ0KICAgICAgICYmIFJFR0NMQVNTX0hBU19G UF9SRUcgKGRzdGNsYXNzKSkNCiAgICAgcmV0dXJuIDQ7DQogDQorICBpZiAoUkVHQ0xBU1Nf SEFTX0ZQX1JFRyAoZHN0Y2xhc3MpICYmIHNyY2NsYXNzID09IFRfUkVHUykNCisgICAgcmV0 dXJuICgoVEFSR0VUX0hBUkRfU0g0ICYmICFvcHRpbWl6ZV9zaXplKSA/IDEwIDogNyk7DQor DQogICBpZiAoKFJFR0NMQVNTX0hBU19GUF9SRUcgKGRzdGNsYXNzKSAmJiBzcmNjbGFzcyA9 PSBNQUNfUkVHUykNCiAgICAgICB8fCAoZHN0Y2xhc3MgPT0gTUFDX1JFR1MgJiYgUkVHQ0xB U1NfSEFTX0ZQX1JFRyAoc3JjY2xhc3MpKSkNCiAgICAgcmV0dXJuIDk7DQo= --------------060101070609030300090709 Content-Type: text/plain; name="sh4-gcc4.dat" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="sh4-gcc4.dat" S0VSTkVMQ09ORklHPWBwd2RgL3NoNC5jb25maWcNClRBUkdFVD1zaDQtbGludXgNClRBUkdF VF9DRkxBR1M9Ii1PIC1tbCAtbTQiDQpHQ0NfRVhUUkFfQ09ORklHPSItLXdpdGgtbXVsdGls aWItbGlzdD1tNCxtNC1ub2ZwdSINCkdMSUJDX0NPTkZJR1BBUk1TPSJuby16LWRlZnM9eWVz Ig0K --------------060101070609030300090709 Content-Type: text/plain; name="glibc-2.3.5-sh-memset.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="glibc-2.3.5-sh-memset.patch" RnJvbTogaHR0cDovL3NvdXJjZXMucmVkaGF0LmNvbS9tbC9saWJjLWFscGhhLzIwMDUtMDcv bXNnMDAwNTEuaHRtbA0KDQogT24gc2hbMzRdLWxpbnV4LCBtZW1zZXQgZnVuY3Rpb24gZG9l cyBub3Qgd29yayBpZiAybmQgYXJndW1lbnQgaXMgbmVnYXRpdmUNCiBhbmQgM3JkIGFyZ3Vt ZW50IGlzIGdyZWF0ZXIgdGhhbiAxMi4NCiBmb3IgZXhhbXBsZSwgbWVtc2V0KHB0ciwgIlx4 ZGEiLCAyMCkgc2V0cyAweGZmIGluc3RlYWQgb2YgMHhkYS4NCiANCiBBdHRhY2hlZCBwYXRj aCBmaXhlcyB0aGlzIHByb2JsZW0uDQogDQogCSogc3lzZGVwcy9zaC9tZW1zZXQuUyAobWVt c2V0KTogQ29ycmVjdCAybmQgYXJndW1lbnQgaGFuZGxpbmcuDQogDQogZGlmZiAtdSAtcCAt cjEuNCBtZW1zZXQuUw0KIC0tLSBnbGliYy0yLjMuNS9zeXNkZXBzL3NoL21lbXNldC5TCTI5 IEFwciAyMDAzIDIyOjQ3OjE4IC0wMDAwCTEuNA0KICsrKyBnbGliYy0yLjMuNS9zeXNkZXBz L3NoL21lbXNldC5TCTIzIEp1bCAyMDA1IDA4OjM3OjIxIC0wMDAwDQogQEAgLTI4LDYgKzI4 LDcgQEAgRU5UUlkobWVtc2V0KQ0KICAJYnQucwlMX2J5dGVfbG9vcF9pbml0DQogIAltb3YJ cjQscjcNCiAgDQogKwlleHR1LmIJcjUscjUNCiAgCXN3YXAuYglyNSxyMQ0KICAJb3IJcjEs cjUNCiAgCXN3YXAudwlyNSxyMQ0K --------------060101070609030300090709 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 --------------060101070609030300090709-- From - Wed Oct 19 08:19:42 2005 X-UIDL: e6423211ff1d637f 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 60441 invoked by uid 3177); 19 Oct 2005 09:50:49 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 60438 invoked from network); 19 Oct 2005 09:50:49 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Oct 2005 09:50:49 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id DEC2492D3F for ; Wed, 19 Oct 2005 05:50:49 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mailwash1.pair.com (Postfix) with SMTP id 66B1192D3A for ; Wed, 19 Oct 2005 05:50:46 -0400 (EDT) Received: (qmail 28205 invoked by alias); 19 Oct 2005 09:50:41 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 28151 invoked by uid 22791); 19 Oct 2005 09:50:37 -0000 Received: from pop-satin.atl.sa.earthlink.net (HELO pop-satin.atl.sa.earthlink.net) (207.69.195.63) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 19 Oct 2005 09:50:37 +0000 Received: from user-0c8hvt5.cable.mindspring.com ([24.136.255.165] helo=[192.168.1.102]) by pop-satin.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1ESAah-00058E-00; Wed, 19 Oct 2005 05:50:35 -0400 Date: Wed, 19 Oct 2005 05:47:26 -0400 (EDT) From: "Robert P. J. Day" To: Dan Kegel cc: crossgcc list Subject: Re: error building for SH4: insn and constraints error In-Reply-To: <43558E1C.4020709@kegel.com> Message-ID: References: <43558E1C.4020709@kegel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 18 Oct 2005, Dan Kegel wrote: > Robert P. J. Day wrote: > > having built fine for little-endian SH3, tweaking slightly for SH4 > > generates: > > > > In file included from dcigettext.c:377: > > plural-eval.c: In function 'plural_eval': > > plural-eval.c:101: error: insn does not satisfy its constraints: > > (insn 57 55 315 6 (set (reg/v:SI 76 fr12 [orig:170 n ] [170]) > > (reg:SI 147 t)) 129 {movsi_ie} (insn_list:REG_DEP_TRUE 55 > > (nil)) > > (nil)) > > plural-eval.c:101: internal compiler error: in > > reload_cse_simplify_operands, at postreload.c:391 > > Yeah, I get that, too: > > http://kegel.com/crosstool/crosstool-0.38/buildlogs/sh4-gcc-4.0.0-glibc-2.3.5-hdrs-2.6.11.2.log.txt kaz on the linux SH list pointed out that you'd already filed this as a bug for which he'd supplied a patch: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21623 so i'll give this a shot right away. if the patch fixes it, it would seem to make sense to add it to the crosstool patches directory until it's no longer needed. thanks. rday ------ 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 - Wed Oct 19 08:20:02 2005 X-UIDL: 698770fecd3840db 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 83679 invoked by uid 3177); 19 Oct 2005 12:19:25 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 83676 invoked from network); 19 Oct 2005 12:19:25 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Oct 2005 12:19:25 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 4C5C592D3E for ; Wed, 19 Oct 2005 08:19:25 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mailwash1.pair.com (Postfix) with SMTP id D29CC92D3A for ; Wed, 19 Oct 2005 08:19:22 -0400 (EDT) Received: (qmail 3945 invoked by alias); 19 Oct 2005 12:19:21 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 3938 invoked by uid 22791); 19 Oct 2005 12:19:18 -0000 Received: from natfrord.rzone.de (HELO natfrord.rzone.de) (81.169.145.161) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 19 Oct 2005 12:19:18 +0000 Received: from [192.168.1.142] (p54A07E05.dip.t-dialin.net [84.160.126.5]) (authenticated bits=0) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j9JCJ1G0017979; Wed, 19 Oct 2005 14:19:11 +0200 (MEST) Message-ID: <435639B5.9030100@sscd.de> Date: Wed, 19 Oct 2005 14:19:01 +0200 From: Alexander Sieb User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) MIME-Version: 1.0 To: rpjday@mindspring.com CC: crossgcc@sources.redhat.com Subject: error building for SH4: insn and constraints error Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Robert, I've already sent patches to Dan and to the list. See http://sourceware.org/ml/crossgcc/2005-10/msg00035.html Regards, Alexander ------ 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 - Wed Oct 19 08:20:05 2005 X-UIDL: 99ecec60cd67ee46 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 86858 invoked by uid 3177); 19 Oct 2005 12:40:47 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 86855 invoked from network); 19 Oct 2005 12:40:47 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 19 Oct 2005 12:40:47 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 191C292D37 for ; Wed, 19 Oct 2005 08:40:47 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mailwash1.pair.com (Postfix) with SMTP id 3E2C092D27 for ; Wed, 19 Oct 2005 08:40:45 -0400 (EDT) Received: (qmail 14970 invoked by alias); 19 Oct 2005 12:40:43 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 14954 invoked by uid 22791); 19 Oct 2005 12:40:38 -0000 Received: from pop-altamira.atl.sa.earthlink.net (HELO pop-altamira.atl.sa.earthlink.net) (207.69.195.62) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 19 Oct 2005 12:40:38 +0000 Received: from user-0c8hvt5.cable.mindspring.com ([24.136.255.165] helo=[192.168.1.102]) by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1ESDFF-0000cP-00 for crossgcc@sources.redhat.com; Wed, 19 Oct 2005 08:40:37 -0400 Date: Wed, 19 Oct 2005 08:37:28 -0400 (EDT) From: "Robert P. J. Day" To: crossgcc list Subject: [PATCH] full patch file for (new) gcc-4.1-20051015/ patch subdirectory Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII a slightly tweaked version of the same "gcc-4.1-fix-fixincl.patch" patch file that is found in earlier versions of gcc-4.1 snapshots. the only difference is that the second hunk applied against Makefile.in adds an extra test of ! $(inhibit_libc) in that "if" statement, without which the patch attempt fails. rday ======================================================================== See http://gcc.gnu.org/PR22541 From: Dan Kegel When building gcc-3.4.3 or gcc-4.x into a clean $PREFIX, the configure script happily copies the glibc include files from include to sys-include; here's the line from the log file (with $PREFIX instead of the real prefix): Copying $PREFIX/i686-unknown-linux-gnu/include to $PREFIX/i686-unknown-linux-gnu/sys-include But later, when running fixincludes, it gives the error message The directory that should contain system headers does not exist: $PREFIX/lib/gcc/i686-unknown-linux-gnu/3.4.3/../../../../i686-unknown-linux-gnu/sys-include Nevertheless, it continues building; the header files it installs in $PREFIX/lib/gcc/i686-unknown-linux-gnu/3.4.3/include do not include the boilerplate that would cause it to #include_next the glibc headers in the system header directory. Thus the resulting toolchain can't compile the following program: #include int x = PATH_MAX; because its limits.h doesn't include the glibc header. The problem is that gcc/Makefile.in assumes that it can refer to $PREFIX/i686-unknown-linux-gnu with the path $PREFIX/lib/../i686-unknown-linux-gnu, but that fails because the directory $PREFIX/lib doesn't exist during 'make all'; it is only created later, during 'make install'. (Which makes this problem confusing, since one only notices the breakage well after 'make install', at which point the path configure complained about does exist, and has the right stuff in it.) A fix that I've been using for a while is to use sed to canonicalize the path. The sed syntax is a bit obtuse, but it works. (hey, that's the first time I've ever used a label in a sed script; thanks to the sed faq for explaining the :a ... ta method of looping to repeat a search-and-replace until it doesn't match.) [rediffed against gcc-4.1-20051015] --- gcc-4.1-20051015/gcc/Makefile.in.old 2005-07-11 09:25:37.171541744 -0700 +++ gcc-4.1-20051015/gcc/Makefile.in 2005-07-11 09:30:27.203450192 -0700 @@ -388,7 +388,10 @@ CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@ # autoconf sets SYSTEM_HEADER_DIR to one of the above. -SYSTEM_HEADER_DIR = @SYSTEM_HEADER_DIR@ +# Purge it of unneccessary internal relative paths +# to directories that might not exist yet. +# The sed idiom for this is to repeat the search-and-replace until it doesn't match, using :a ... ta. +SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta` # Control whether to run fixproto and fixincludes. STMP_FIXPROTO = @STMP_FIXPROTO@ @@ -3163,13 +3166,15 @@ ../$(build_subdir)/fixincludes/fixincl: ; @ : # Build fixed copies of system files. +# Abort if no system headers available, unless building a crosscompiler. +# Canonicalize path so directory/that/doesnt/exist/yet/../../../.. doesn't fail stmp-fixinc: gsyslimits.h macro_list \ $(build_objdir)/fixincludes/fixincl \ $(build_objdir)/fixincludes/fixinc.sh @if ! $(inhibit_libc) && test ! -d ${SYSTEM_HEADER_DIR}; then \ echo The directory that should contain system headers does not exist: >&2 ; \ echo " ${SYSTEM_HEADER_DIR}" >&2 ; \ - if test "x${SYSTEM_HEADER_DIR}" = "x${gcc_tooldir}/sys-include"; \ + if test "x${SYSTEM_HEADER_DIR}" = "x`echo "${gcc_tooldir}/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`"; \ then sleep 1; else exit 1; fi; \ fi rm -rf include; mkdir include ------ 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 Oct 20 05:08:56 2005 X-UIDL: c5e70fd5c8398c3f 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 45942 invoked by uid 3177); 20 Oct 2005 10:32:50 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 45939 invoked from network); 20 Oct 2005 10:32:50 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 20 Oct 2005 10:32:50 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 995EF92D53 for ; Thu, 20 Oct 2005 06:32:50 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from pop-gadwall.atl.sa.earthlink.net (pop-gadwall.atl.sa.earthlink.net [207.69.195.61]) by mailwash1.pair.com (Postfix) with ESMTP id 1202592D4C for ; Thu, 20 Oct 2005 06:32:50 -0400 (EDT) Received: from user-0c8hvt5.cable.mindspring.com ([24.136.255.165] helo=[192.168.1.102]) by pop-gadwall.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1ESXj7-00013B-00 for dank@kegel.com; Thu, 20 Oct 2005 06:32:49 -0400 Date: Thu, 20 Oct 2005 06:29:37 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Dan Kegel Subject: collected observations for crosstool-0.39 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII before i forget all of this, i'll just collect my observations for stuff that you can consider for crosstool-0.39. 1) accommodate gcc-4.0.2 with a corresponding patches directory that includes only the first two of the three patches from gcc-4.0.1: fix-fixincl.patch pr20815-fix.patch 2) accommodate linux-libc-headers-2.6.12.0, which requires no patches at all. obviously, you don't need to do anything here but i'm wondering if it's worth changing the existing CT files to just refer to the newer and fixed headers and dropping the references to the older headers altogether. 3) add a reference to a really recent gcc snapshot that uses the slightly-modified patch i submitted just so folks can have a starting point for even newer snapshots with a patch file that applies cleanly. (gcc-4.1-20051015 seems to be a good baseline for now.) 4) toss outdated patches subdirectories? one more thought coming shortly after i ponder it a bit longer. rday From - Fri Oct 28 13:04:43 2005 X-UIDL: 589272a6125b0c11 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 20573 invoked by uid 3177); 28 Oct 2005 20:11:11 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 20570 invoked from network); 28 Oct 2005 20:11:11 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 28 Oct 2005 20:11:11 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id F277092D46 for ; Fri, 28 Oct 2005 16:11:11 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.0 required=6.0 tests= autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from mailhost.rdmcorp.com (world.rdmcorp.com [204.225.180.10]) by mailwash1.pair.com (Postfix) with ESMTP id 37C8092D37 for ; Fri, 28 Oct 2005 16:11:07 -0400 (EDT) Received: from virtwinxp01 (10.1.2.1) by mailhost.rdmcorp.com (Worldmail 1.3.167) for dank@kegel.com; 28 Oct 2005 15:41:06 -0400 Date: Fri, 28 Oct 2005 15:37:37 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@virtwinxp01.rdmcorp.com To: Dan Kegel Subject: new patches subdirectory Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="17473281-422786656-1130528257=:4653" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --17473281-422786656-1130528257=:4653 Content-Type: TEXT/PLAIN; charset=US-ASCII here's what appears to be a minimally working patches directory for the most recent snapshot of glibc. you can toss the earlier one for the week before. this one differs only in that it adds the NPTL-only patch. feel free to peruse the files and make whatever adjustments you think are necessary. rday --17473281-422786656-1130528257=:4653 Content-Type: APPLICATION/x-bzip2; name=glibc-20051024.tar.bz2 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: att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FwpABmnOzMtEHyUcBF wUiFoCNLqTFN4pRzE6A3j4zmWvrjXHSkjCdj5l2ecZJfqzGMkhJaTq7LCrR+ rakEbOeDas79rh8zkgGQwYSiRSTAG+hRUA0IRAEFoSYUmtgqCDfZBnksUPMY zMqq1YsjvqBbORAKRQiRpRBCsWQQojjpNkfuJcQpWAS3Oq66hsMkQT2lHA6S k9qTEGzFKTYXahoHEq75uTApgOhCJraM2BG4EqFEonA3lhCJsK2EZ3rkZZ6T NMKpkgha6JdTWVxUXC6+9JYMvUTKANxm4QiqSsmlhMGym2VIrvW7sp48HNxk 3EVCazZtA2Hv19nSZmTGXCH4mhLTfAwYbgW0NstXJBs1zki7YUAMbbQsIrk1 iVuW/OmFHpQuEYQrwSuGBgtbnOXKYmnGhExiwLJAZ5N02ivBRLLciYzGpIVq xW6ywOINpLWFcLBIZLeqwhDDMDgCmqcWAKYeCFiAX/Teos70IYUyWp4UoybA WBCNXhyPPd2BzI88o5JGtBixdsa1sFhqQZgeZtqaSIYujS8e6+r1ULQ5UARE GzokMOWgAwjp7ooIxNtx4u3eHchiR86ft8DJMsfGzish8AhOjUToYsNm9mpl ocTK1Nd6jVIjTRKuwZOmqGUQPs7VJ2iWCZkhXGlVRAM0L9Pcc3U+XlAeIDaQ 04CGfnW9EgkwkGg3iDuZ8mE5nAq7TQkgCkQNJjLE/YcF90MzfB1hJD6epAcv aVvTSrAKX0GEYALHaM1BX5OEPLN8fun+Gxp7XIdLdmiH/i7kinChIRroSq4= --17473281-422786656-1130528257=:4653-- From - Sat Oct 29 12:02:14 2005 X-UIDL: 113b8a9227df90cd X-Mozilla-Status: 0003 X-Mozilla-Status2: 00000000 Return-Path: <031113@comcast.net> Delivered-To: dank-kegel:com-dank04@kegel.com X-Envelope-To: dank04@kegel.com Received: (qmail 42054 invoked by uid 3177); 29 Oct 2005 19:04:13 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 42051 invoked from network); 29 Oct 2005 19:04:13 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 29 Oct 2005 19:04:13 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 7A8EF92D3F for ; Sat, 29 Oct 2005 15:04:13 -0400 (EDT) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=2.2 required=6.0 tests=FROM_ALL_NUMS,FROM_ENDS_IN_NUMS autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: ** X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from rwcrmhc12.comcast.net (rwcrmhc13.comcast.net [216.148.227.118]) by mailwash1.pair.com (Postfix) with ESMTP id 3158292D33 for ; Sat, 29 Oct 2005 15:04:12 -0400 (EDT) Received: from DCLX5B81 (pcp0011247007pcs.wilog301.pa.comcast.net[68.36.96.201]) by comcast.net (rwcrmhc13) with SMTP id <2005102919041101500b9knfe>; Sat, 29 Oct 2005 19:04:11 +0000 Message-ID: <000301c5dcbb$95b77330$6401a8c0@DCLX5B81> From: "031113" <031113@comcast.net> To: Subject: Test for flex sooner. Date: Sat, 29 Oct 2005 15:04:26 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Dan, Thank you very much for all the work you have done with crosstools. I am using crosstools on cygwin for the ppc7450. Is it possible to test for the tool flex sooner in the build process? I did not have it installed before running your script so crosstools aborted. Crosstools had to start from scratch when I ran it again redoing about an hour of work. Thanks, Francisco J. Quiros From - Sun Oct 30 07:39:14 2005 X-UIDL: ca46ea457b84a062 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 76151 invoked by uid 3177); 30 Oct 2005 15:50:19 -0000 Delivered-To: dank-kegel:com-dank@kegel.com Received: (qmail 76148 invoked from network); 30 Oct 2005 15:50:19 -0000 Received: from mailwash1.pair.com (66.39.2.1) by vroo.pair.com with SMTP; 30 Oct 2005 15:50:19 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id 3795A92D3D for ; Sun, 30 Oct 2005 10:50:21 -0500 (EST) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=0.2 required=6.0 tests=MIME_MISSING_BOUNDARY autolearn=disabled version=3.000000 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 099ee077f4e150b408c7ad97010bdf39 Received: from mailhost.rdmcorp.com (world.rdmcorp.com [204.225.180.10]) by mailwash1.pair.com (Postfix) with ESMTP id 3AA2492D33 for ; Sun, 30 Oct 2005 10:50:19 -0500 (EST) Received: from [10.1.1.110] (10.1.2.1) by mailhost.rdmcorp.com (Worldmail 1.3.167) for dank@kegel.com; 30 Oct 2005 10:50:18 -0500 Date: Sun, 30 Oct 2005 10:46:44 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Dan Kegel Subject: Re: ETA on crosstool-0.39? In-Reply-To: <4364E05C.5030800@kegel.com> Message-ID: References: <4364DD65.4080602@kegel.com> <4364E05C.5030800@kegel.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-410769024-1130686876=:11926" Content-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-410769024-1130686876=:11926 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: On Sun, 30 Oct 2005, Dan Kegel wrote: > Great. I expect to start building sometime this week, go ahead and > send me what you've got. No promises of course though. i've attached a small tarball of a subset of the patches directory i've put together, i just copy that into the installed crosstool patches directory. there are only three subdirectories: binutils-2.16.1 gcc-4.1-20051029 glibc-20051024 some notes/observations/ponderings: 1) the binutils-2.16.1 directory is actually superfluous, it's just a renaming and rediffing to allow the patches to apply cleanly, plus file renaming. you could, if you want, ignore that directory entirely, it has no effect on the final result. 2) for all directories, i renamed a number of the patch files to remove the explicit version number. it seems that this is an inconsistent practice -- should the patch files incorporate the actual version number in the filename? not that it matters either way but it might make it cleaner to be consistent. 3) i *believe* that all of the patches in these three directories are essential. more may need to be migrated forward for different builds, but i'm confident that you need *at* *least* these for now, and all of them apply absolutely cleanly. 4) the single NPTL patch is in the glibc directory. as i posted on the crossgcc list, it came from here: http://dev.gentoo.org/~halcy0n/glibc/patches/5070_all_cross-compile-nptl.patch and appears to solve the problem of trying to build with NPTL only, and not linuxthreads. 5) the build still doesn't complete -- error here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24445 and, so far, i've seen no proposed solution or workaround. 6) if you want, i can finish tidying up and documenting my mini.sh script and submit it for inclusion, but that's your call. i'm finding it pretty handy for quick and dirty testing. i'm still not completely sure about all of the commands in that script as i took a good part of it straight from crosstool.sh, but it does seem to work properly, up to at least where it stops working. :-( rday --8323328-410769024-1130686876=:11926 Content-Type: APPLICATION/X-TAR; NAME=ct-patches.tar Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=ct-patches.tar cGF0Y2hlcy8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAADAwMDA3NTUAMDAwMDc2NAAwMDAwNzY0ADAwMDAwMDAwMDAw ADEwMzMxMTUxMDc2ADAxMjA1NgAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhciAgA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