From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23044 invoked by alias); 27 Mar 2012 20:56:36 -0000 Received: (qmail 23031 invoked by uid 22791); 27 Mar 2012 20:56:35 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-lpp01m010-f41.google.com (HELO mail-lpp01m010-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Mar 2012 20:56:20 +0000 Received: by lagz14 with SMTP id z14so432052lag.0 for ; Tue, 27 Mar 2012 13:56:19 -0700 (PDT) Received: by 10.152.133.144 with SMTP id pc16mr20135790lab.0.1332881778526; Tue, 27 Mar 2012 13:56:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.3.161 with HTTP; Tue, 27 Mar 2012 13:55:48 -0700 (PDT) In-Reply-To: <4F6B3EFD.4000501@cs.utoronto.ca> References: <4F647CC3.60004@cs.utoronto.ca> <4F6B3EFD.4000501@cs.utoronto.ca> From: Khem Raj Date: Tue, 27 Mar 2012 20:56:00 -0000 Message-ID: Subject: Re: Patches for eglibc to support cygwin host To: Ryan Johnson Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00061.txt.bz2 On Thu, Mar 22, 2012 at 8:02 AM, Ryan Johnson wrote: > Hi all, > > Thanks for this awesome tool. I'm attaching three patches for eglibc-2.12 > which allowed me to target x86_64-unknown-linux-gnu-gcc (4.5.3 and 4.6.1) on > both cygwin-1.5 and 1.7 hosts. I suspect the gcc version doesn't matter > much, and probably the patches would work for other eglibc versions as well > (they're pretty minimal). > > Notes: > > 1. gcc can't be built with lto/plugin support on a cygwin host (very > annoying to have the build fail after 2h for that reason). This might have > been fixed for gcc-4.7 but I haven't tested this on a cross-compiler yet. > > 2. While building posix/cross-getconf, the error is encountered: > i686-build_pc-cygwin-gcc: command not found. > > Solution: add $XTOOLS/.build/$TARGET/buildtools/bin to $PATH before starting > the build (the dir will be created as part of the build) > > 3. Run rebaseall before starting. Enable save states. If you encounter fork > errors while a just-built gcc is running: background the build just after it > finishes extracting the offending state, then issue the following command > (from the .build directory): rebase -sv $(find . -name "*.dll"). > Can you also send these patches to eglibc mailing lists please. > Enjoy! > Ryan > > > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq