From owner-freebsd-toolchain@FreeBSD.ORG Thu Sep 26 05:26:40 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 967ABA04 for ; Thu, 26 Sep 2013 05:26:40 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 29B212BE8 for ; Thu, 26 Sep 2013 05:26:40 +0000 (UTC) Received: by mail-ee0-f50.google.com with SMTP id d51so256160eek.37 for ; Wed, 25 Sep 2013 22:26:38 -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=B94gZgMQw1t05vmOHDstr5pY27AWB48M9SN0URfz63A=; b=lbsZt5nTSppWD7+tMWKfHKTEM4vmljcz1w2OuhUSo11sbSv4bQ2pNLoX61KN7/HmMK 5lyPI3CyDz1GsaxToIwZhynnNWUMcZgPaP8pvsUHbyuiJcFLpn+3/2WnFUAgrm3Ren3l KzwD1j6ERhafbrxjnggtO6BZ9dB1iTB2wkY2MOLGZnY8A6CUeYW7FSj5r3xpRv+1B6XO z8y/MLdWa7BVF6vcoWdrHXnnpKqT5B6cluemfFj8uxchRIpa92WswesZFItxTM6uCb8R ds5LHVdXLbThhtDETG/T1vBI2iKKgnnDcAbC8+Y0D8HDkSrfPTPw1FUaCdBHXyiLEm+E iM7Q== MIME-Version: 1.0 X-Received: by 10.14.172.133 with SMTP id t5mr60682318eel.35.1380173198421; Wed, 25 Sep 2013 22:26:38 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Wed, 25 Sep 2013 22:26:38 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Sep 2013 22:26:38 -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: Thu, 26 Sep 2013 05:26:40 -0000 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