From owner-freebsd-arm@freebsd.org Fri May 27 17:52:58 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 542CBB4CBD4 for ; Fri, 27 May 2016 17:52:58 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 166661487 for ; Fri, 27 May 2016 17:52:58 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id o16so112875720ywd.2 for ; Fri, 27 May 2016 10:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=F1iVidVoPyYTilXhkpgX8uZxdb736z00O1NQynOGN7I=; b=doi1Nd6QJkWVZQqBXVSDRa8REoMjMlLFo0gVrF37mGXathU/GWgZF+GMVncu8JNOwX hLyy4Qg0m5UqAlR3B+bD4BjU1d5M2d8V4o7FPrGWqEi8mv98K9Oodm2fO+FMKzPT/QQD Ba+r5xK0UoFh61SOkDSf5lU6EZ81cX7mxYSbRDmiSasFaxLITzoVGICqNKRU8V0ZwelX 8SuzzeOy+WM2Iw2mOXw1UBcAVLglBhsvcXEJlc5hQT7s28p+3Pbp7zoPQ2r0FZ8T9WZg fWho+ofxO1C1Nbh87Li5+AY0BQ7HkLIs/BW5Sycd+YGq5RW9YlWYBv+rNpKAzg3Y40M2 T1gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F1iVidVoPyYTilXhkpgX8uZxdb736z00O1NQynOGN7I=; b=EVjeOe0hcD1APRMnuA5nlv6FzaACYirxaa9gx83skRuL17FBCvGNmqg+/BV8VDkgcI TjzB8z2qsWUxrwR6asx8BeA1R3ygNg3nAbm6SxHd/M2HTnyoPT32qecVy7Q3+LDwdMLG cVhqkjBSFLn1T+88MzdddjHBeOZLcYhOc7KsTuY5tn5GwwMUWIdjPWKxxRAKeR7d77gs CrFQ5/SWegMMBSd4YFoECIiycnHObn5Ot65q0RsdaojXY7vdvKVXlkcQ+hqZHtkJJhn5 UNcBKRbaEP2LQKQuBYiOo9I4uEyv4jbbfsjLdVriIJXLbnWKnpGmIv6t+6JfrpDFzXcv YXrw== X-Gm-Message-State: ALyK8tJREjmZrewv83bPTxSCP8xZRGTbazwvj4sFsITsVAi8ZnNQuxa+nFQBoGt5r0NOEB5ageKCWkbQHoAzsg== X-Received: by 10.129.92.4 with SMTP id q4mr9317340ywb.156.1464371577268; Fri, 27 May 2016 10:52:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.215.78 with HTTP; Fri, 27 May 2016 10:52:17 -0700 (PDT) In-Reply-To: <4a13641f-89ca-ad65-2095-49a3696662bb@madpilot.net> References: <4a13641f-89ca-ad65-2095-49a3696662bb@madpilot.net> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Fri, 27 May 2016 19:52:17 +0200 Message-ID: Subject: Re: Cross building ports using poudriere on armv6 failing To: Guido Falsi Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 17:52:58 -0000 2016-05-27 17:08 GMT+02:00 Guido Falsi : > Hi! > > I'm doing some experiments with a RPI2 board and I cross build my > packages using poudriere on amd64. > > Since the ABI change my poudriere jails have not been working. > > Now, it's quite problable I'm missing something obvious or doing > something wrong. But I cannot really figure out how to fix this. I'm > looking for someone to point me in the right direction. > > > I successfully upgraded the jails to r300410 using poudriere jail -u. > > Now each time I start the jail it dies trying to compile pkg (the first > port it tries, with this error: > > checking whether the C compiler works... no > configure: error: in `/wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.8.3': > configure: error: C compiler cannot create executables > See `config.log' for more details > ===> Script "configure" failed unexpectedly. > > > Looking at the config.log gives me this error message: > > configure:3581: checking whether the C compiler works > configure:3603: /nxb-bin/usr/bin/cc -O2 -pipe -Wno-error > -fno-strict-aliasing conftest.c >&5 > /nxb-bin/usr/bin/ld: ERROR: a.out uses VFP register arguments, > /tmp/conftest-808afb.o does not > /nxb-bin/usr/bin/ld: failed to merge target specific data of file > /tmp/conftest-808afb.o > cc: error: linker command failed with exit code 1 (use -v to see invocation) > > What should I do? Did I messed up the update? update_jail() doesn't seem to update the native-xtools, you are probably using an old toolchain. Keep in mind that the native-xtools are built using /usr/src not the 'poudriere' one, you need to update your /usr/src tree before updating your toolchain (or creating a new jail)