From owner-freebsd-toolchain@freebsd.org Sun May 29 04:50:14 2016 Return-Path: Delivered-To: freebsd-toolchain@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 6953DB4F324 for ; Sun, 29 May 2016 04:50:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 3BF351BDE for ; Sun, 29 May 2016 04:50:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22e.google.com with SMTP id z123so15291696itg.0 for ; Sat, 28 May 2016 21:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=ruanxs6t+dBMtT5ehzs+ZxHsFfXkGJfzBOf1K6ZpQP4=; b=nO85F9FUrc/nRP24ZtJdz6gipvLtsYrPYJ6SUFVmq822njLtNqI8cDwxF77gwgqXd/ GOoHAcxC6XhZ0YrcJieO8saoVVPEGmaXW776bhGr8HnV6fharVeUNk/nQ2OZ5tt2R4xZ CRkQZXepoLO09XWgKgjlL7DWIk6XpCfVlILBF/NU3FyLujqwy/eHZ4gwCU+pfHr/fMV/ FrpT5ETDqde0LPKZZcuTXnYowXPCNu7cMckwwAW48iN2OY1A3myeAGtjYkfAnjXOarFk hNuN4xQ97uJYpE+zeixuctVrevkI98Uswng0FtWUG44unuF6T0ggl4VpQKpXTLCQ3/LW CiEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=ruanxs6t+dBMtT5ehzs+ZxHsFfXkGJfzBOf1K6ZpQP4=; b=Ff7CBpZU/52j4VaRgs2Jus97NPh/9RX3aZyiyFdOFGmgJX63ctxy7hDC72To2moPAA BNPTISSh4495NB0u8oyuFaretjpXVpNNSyzWtNWzpobjjn46/LWygx41mqLCo37g+zzP oq3Mteix0VaLt4M3zS8B966H9i4/cvoC1a60SCxIO5EBzrn7GdhDFJ8Jo1cyhqlgtUv8 u1Y42ZWkB49Om5DITT9NUC/5ZMhRXDaxZ8ZOF4MJitzaQrD9+ln91fJhqKF/JQwPw88Z n/i5FIYYQQQfBYLCg/Xpb4ViTZTjOZ1W+BMx9q+UYyMCngOaKRA22YY96J5cGG31J3o1 o6Ag== X-Gm-Message-State: ALyK8tLWB/x9ADuUyFjniIzJDwHOq2vZhupgFH8uIYavsjUzsR20Pyy/QZ4sZOsrzONPtgEtqLVuQUgKq9VtJA== MIME-Version: 1.0 X-Received: by 10.36.46.67 with SMTP id i64mr4329040ita.60.1464497413416; Sat, 28 May 2016 21:50:13 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.79.75.68 with HTTP; Sat, 28 May 2016 21:50:13 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <1E66E56C-E615-4180-A3F2-E8E48E26B6CD@dsl-only.net> References: <1E66E56C-E615-4180-A3F2-E8E48E26B6CD@dsl-only.net> Date: Sat, 28 May 2016 22:50:13 -0600 X-Google-Sender-Auth: WOtrra4rDRn6xBzlme7RvuSlv1k Message-ID: Subject: Re: 11.0-CURRENT: lang/gcc, lang/gcc5, lang/gcc6-devel, lang/llvm38, etc. do not build on/for armv6 (now implicitly hard float) From: Warner Losh To: Mark Millard Cc: Gerald Pfeifer , Brooks Davis , FreeBSD Ports , FreeBSD Toolchain Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 04:50:14 -0000 On Wed, May 25, 2016 at 10:12 AM, Mark Millard wrote: > I'm not sure that Gerald or Brooks were CC'd on a report made to the arm list about armv6 builds of gcc and llvm being broken now because of hard float now being implicit: > (the first report listed below has more detail directly visible for gcc examples) > > https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013931.html > and: > https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013930.html > https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013932.html > https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013933.html > > The first (013931.html) shows that xgcc for configure:3686 for contest.c ends up with the likes of: > > /usr/local/bin/ld: error: a.out uses VFP register arguments, > /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtbegin.o does not > /usr/local/bin/ld: failed to merge target specific data of file > /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtbegin.o > /usr/local/bin/ld: error: a.out uses VFP register arguments, > /tmp//cchNL2QG.o does not > /usr/local/bin/ld: failed to merge target specific data of file /tmp//cchNL2QG.o > /usr/local/bin/ld: error: a.out uses VFP register arguments, > /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtend.o does not > /usr/local/bin/ld: failed to merge target specific data of file > /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtend.o > collect2: error: ld returned 1 exit status > > and points to gcc/config.gcc only having TARGET_FREEBSD_ARM_HARD_FLOAT=1 for arm*hf-*-freebsd* . But now armv6*-*-freebsd* is also hard float for 11.0-CURRENT. armv6*-*-freebsd is only hard float ABI for FreeBSD 11. > Of course until everyone updates to modern enough armv6 context a mix of softfloat and hardfloat will be around. Are you saying that we need to get these changes to the ports in place to support hard float? Are you saying we need to support a mix better (which is unlikely to happen, btw, without a passionate champion)? Is there some other point I'm missing? Warner