From owner-freebsd-toolchain@FreeBSD.ORG Fri Sep 27 20:07:59 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EC228A31 for ; Fri, 27 Sep 2013 20:07:59 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x234.google.com (mail-ea0-x234.google.com [IPv6:2a00:1450:4013:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 84FFF286D for ; Fri, 27 Sep 2013 20:07:59 +0000 (UTC) Received: by mail-ea0-f180.google.com with SMTP id h10so1443420eaj.11 for ; Fri, 27 Sep 2013 13:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fEGzOufU37MkkdnI54pwd5QyJbkbVElios5I2tHkkKE=; b=ItSHyW3zDsvG2o3hDjbAca0oYoBqqGoFQ0n6rO7Wz1ZjrWzmd989u+pEm2/kLMtDkX x7it7cbfk9ErsHFqLHEcoDVgEJoawxs6rE0n2CHNe8ddgNbFastKcdUVvAZ8aoTkP0vA GciBbJedC0WT+T0YaCaE0S5++mcpd9X8bzVDFK9b6Z02kF3GAv7b198vS9FLKMIQNIqO OkiUkp6+1cnr1AYbZWPiGnq4oeQvV4FrkMZosNWhsowr7ZOwSH/H43XIQXP/GnP+tF9P THd2/30jp2edLsiAtaAXbGyeSQn9wRRrV9Q1NDiEsqZDdgS5shJ08Uzt1rOJd1/m5XSC xfww== MIME-Version: 1.0 X-Received: by 10.14.109.201 with SMTP id s49mr6786035eeg.54.1380312477912; Fri, 27 Sep 2013 13:07:57 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Fri, 27 Sep 2013 13:07:57 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Sep 2013 13:07:57 -0700 Message-ID: Subject: Re: gcc failing for mips cross-compile From: hiren panchasara To: freebsd-toolchain Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 20:08:00 -0000 Anyone? Is this not the correct list? Am I not asking the correct question? Any pointers/help would be appreciated. cheers, Hiren On Wed, Sep 25, 2013 at 10:26 PM, hiren panchasara < hiren.panchasara@gmail.com> wrote: > > > > On Wed, Sep 25, 2013 at 3:59 PM, hiren panchasara < > hiren.panchasara@gmail.com> wrote: > >> Checked out -head at 255871 and did: >> >> sudo make -DNO_CLEAN TARGET=mips TARGET_ARCH=mipseb TARGET_CPUARCH=mips32 >> toolchain >> > >> Which failed in "stage 4.2: building libraries" section at: >> >> In file included from >> /usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:34: >> ./tm.h:5:28: error: mips32/mips32.h: No such file or directory >> ./tm.h:12:29: error: mips32/freebsd.h: No such file or directory >> In file included from >> /usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:43: >> /usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.h:60: >> error: 'FIRST_PSEUDO_REGISTER' undeclared here (not in a function) >> *** Error code 1 >> >> Stop. >> make[4]: stopped in /usr/home/hirenp/mips_head/gnu/lib/libgcc >> *** Error code 1 >> >> Let me know if more info is needed of any sort. >> Any help is appreciated. >> > > So, following worked: > sudo make TARGET=mips TARGET_ARCH=mipseb TARGET_CPUARCH=mips toolchain > > What does that mean? > > how do I get/know 32bit mips setup? > > Thanks, > Hiren > > >