From owner-freebsd-toolchain@FreeBSD.ORG Wed Sep 25 23:00:00 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 9264BB71 for ; Wed, 25 Sep 2013 23:00:00 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 301952AF8 for ; Wed, 25 Sep 2013 23:00:00 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b45so150771eek.15 for ; Wed, 25 Sep 2013 15:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OMalRwFUh6AvAzSvAc5oAGEYtagsZtH4MEjneTx08B0=; b=Nql3VFSxglVwzpKw1Ai3YyLKzBESVvThWk2QAmAR3bTO4p1KjeXgszSoFOJvv5x59k CmTkXvrfT7BlZ0PVWMaOFBi3VP927mnx5zp/CIJoRzPsinrnKDZGhKhvqOerUQAX5TMy rXbfVbiPBTyKH8xacFPUd9JYmN8kBZCgnp7Yst7T/ToMG3melLQpgLSWG+ZOUE3BVUK8 FXD+/w21h0sBDfQejHO6VyjheFteZOAV6S8tn6ybuFGmCi8Bub2oFNgW3Aaf8PgIJZhH m11UA+zGvnzmwe7RuP2WbgZolwu04MHazwa4Njzlz4wNuLkwViRrLOwhLX4FLkEhMQ34 ln/w== MIME-Version: 1.0 X-Received: by 10.14.4.1 with SMTP id 1mr59518445eei.21.1380149997657; Wed, 25 Sep 2013 15:59:57 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Wed, 25 Sep 2013 15:59:57 -0700 (PDT) Date: Wed, 25 Sep 2013 15:59:57 -0700 Message-ID: Subject: gcc failing for mips cross-compile From: hiren panchasara To: freebsd-toolchain@freebsd.org 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: Wed, 25 Sep 2013 23:00:00 -0000 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. Cheers, Hiren 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 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 > > > From owner-freebsd-toolchain@FreeBSD.ORG Fri Sep 27 21:34:03 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 E925725A for ; Fri, 27 Sep 2013 21:34:03 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9FEE2C45 for ; Fri, 27 Sep 2013 21:34:03 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::9cd:61ab:a630:284c] (unknown [IPv6:2001:7b8:3a7:0:9cd:61ab:a630:284c]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 961C75C44; Fri, 27 Sep 2013 23:33:57 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: gcc failing for mips cross-compile From: Dimitry Andric In-Reply-To: Date: Fri, 27 Sep 2013 23:33:48 +0200 Message-Id: <363D1C17-6D3D-4A08-AB05-C374115BD8FE@andric.com> References: To: hiren panchasara X-Mailer: Apple Mail (2.1510) Cc: freebsd-toolchain 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 21:34:04 -0000 --Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 27, 2013, at 22:07, hiren panchasara = wrote: ... >> So, following worked: >> sudo make TARGET=3Dmips TARGET_ARCH=3Dmipseb TARGET_CPUARCH=3Dmips = toolchain >>=20 >> What does that mean? >>=20 >> how do I get/know 32bit mips setup? Reading https://wiki.freebsd.org/FreeBSD/BuildingMIPS , it seems just "mips" means 32-bit big-endian, using the old ABI. If you want the new ABI, use "mipsn32" instead. I have just tried "make TARGET=3Dmips toolchain", and that seemed to = work fine. --Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iEYEARECAAYFAlJF+cMACgkQsF6jCi4glqPsdwCfVmkttLJinrHUrIpd6lITJyfn EkwAn2CYoQbOO08jmM24m5xSTR+N/xQA =hKcX -----END PGP SIGNATURE----- --Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65-- From owner-freebsd-toolchain@FreeBSD.ORG Sat Sep 28 23:25:46 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 016F8218 for ; Sat, 28 Sep 2013 23:25:46 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x229.google.com (mail-ee0-x229.google.com [IPv6:2a00:1450:4013:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D687291A for ; Sat, 28 Sep 2013 23:25:45 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id d17so1921988eek.0 for ; Sat, 28 Sep 2013 16:25:43 -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 :cc:content-type; bh=z52ltavG8DK6EQoY+hrG5i2PdjE8dnj1A98XNDOI4jM=; b=YV/s5fwxyv5cv4fqXRIQKmCwxWF6TWyYcms/KWjGcS3XNhN419Sc++eV/sO+ciaAAE qHDRguXxBrsq4+NLdSQ+jW0rUnEH5yjPKqNcZgyNPjEQHc9pFkmqCGMV+oOvB3hkPMOw 4l/QlaPnL5wHqPoWcC4yY8XVFiL0NRcCkiUobI3SMMkFenZdGqKsCQmrsq5x7ZzP6x+D ynfuSJ0hBZu5hPnsU1rTKClNlcZHq2FSJ3bO2uCAaHveyJmz33RXYtzWN8A9PKvb1hGW 8wezNJIhskDCAIzWv6GTCbpiokuQ0ACvsF54P7KcOI6jmohk0QUhmy93H3+WKrJZ+R6Z mLTA== MIME-Version: 1.0 X-Received: by 10.15.100.198 with SMTP id bn46mr22929516eeb.11.1380410743902; Sat, 28 Sep 2013 16:25:43 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Sat, 28 Sep 2013 16:25:43 -0700 (PDT) In-Reply-To: <363D1C17-6D3D-4A08-AB05-C374115BD8FE@andric.com> References: <363D1C17-6D3D-4A08-AB05-C374115BD8FE@andric.com> Date: Sat, 28 Sep 2013 16:25:43 -0700 Message-ID: Subject: Re: gcc failing for mips cross-compile From: hiren panchasara To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-toolchain 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: Sat, 28 Sep 2013 23:25:46 -0000 On Fri, Sep 27, 2013 at 2:33 PM, Dimitry Andric wrote: > On Sep 27, 2013, at 22:07, hiren panchasara > wrote: > ... > >> 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? > > Reading https://wiki.freebsd.org/FreeBSD/BuildingMIPS , it seems just > "mips" means 32-bit big-endian, using the old ABI. If you want the new > ABI, use "mipsn32" instead. > I have just tried "make TARGET=mips toolchain", and that seemed to work > fine. > Thanks a ton for clarification, Dimitry. Appreciate your help. Cheers, Hiren