Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp712050lqj; Sun, 2 Jun 2024 19:46:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+VdwFlJ8DBzfcLHg8Tu4CnF+Bti0gTFArhGpYfQZPaSbA+3VQPoAfz+9H7atc9TgoFHa0E9QiDfS4rOS7+C7HAQko+1/1twDf6cAN1Q== X-Google-Smtp-Source: AGHT+IFD5Am9hCC7aGv/WiZyKjGL1EPUfhl25EIleNA0Is5KPH0dhuoLf94/jiHD461u2GqhIiLT X-Received: by 2002:a05:6870:5e0a:b0:24c:678c:4282 with SMTP id 586e51a60fabf-2508bcb4144mr9226185fac.44.1717382775092; Sun, 02 Jun 2024 19:46:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717382775; cv=pass; d=google.com; s=arc-20160816; b=PCaz4I2E/bP9eq+gT8AGoTxXUToHGP/YMKDNLTCc73Rb5gDZwzQ3VC/RVCPeVpcbnU ZTrFRPO+RulyvgWxfWE9juklfYLqnrRLeMdD/60r3qWbO1nc5mIQ6uKelcBmjd2+T/j9 ogNPwZBleCYxCsrPO/jCMtzhkauHXiEfNbjs2ndfed3K9dd7+GFW7D0QkZOjXX77lbqP SBZxC0NM+00KeFJEd0lDmhsXFoBSznrR8K/MOpRd1i0xYyvNWGf2Zs6xltKrxyKJ8kR0 i0VS6jAWat5rmnrzwo2b0F2NCYgYDj8pBrPOwoGtHe2RPe2rdjPm0zzOJTqgVjObOG5T lkSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=QbbRfm0602VKBBPd0+e64o6N+7TyF3Ra7/bCNpyJupA=; fh=jo+/Ng6MEAdd3CRT1dQuepUksOiYRkG9U+Ciw3H1Wd8=; b=D7XQTinFq4ntrYODlgL5TQAaDJBDZ3PwiHMg01Tyn9oOChoSddOORtsKyPQab46Y4F ULG1RaKrdbdWbQenSRzkqzdp8JQsOe7/ACwcZU4qlJC9K4SXU3FPWL/IUatR+GZPcZLD 8KHH+mpVZ6zy26Xqy1X4dsD1e/rGHa9wIa23Bh3PJBQwDkLccqWHr08GsQ51szb/dFIQ 3pqeS+0CR5Z5rdZTphE/M58a6j6XMfqcts/kFUBfojHGOHFTmgvK79seh39OfBVOZGZd acx3UEpC4Vve3GHCNU7jyHN+7K7+x9FBbvlAhF9b7nl7bT2z8bNzA58cJ1stv5XPjXXk UEaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-198551-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198551-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-702500d7cb3si4491215b3a.57.2024.06.02.19.46.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 19:46:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198551-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-198551-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198551-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 63BC9280E91 for ; Mon, 3 Jun 2024 02:46:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E6E2D29B; Mon, 3 Jun 2024 02:45:59 +0000 (UTC) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D34B85250 for ; Mon, 3 Jun 2024 02:45:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717382758; cv=none; b=eyAbT7Agyb8rCI/yXIP2C7fgzeAyfS2j0bbVnbn7f8u6g35MSLnK0jKdkw0jd1yIyX737ZwbB9n4W0skc3dh2I7XSR/5iuahkZGwlJmx4mPbz0IZTZWFtwv5+IF6pQcezuP7qTsY9drUDDYhPziyzoyXHX/VUVA2Q8vBmtFkBYM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717382758; c=relaxed/simple; bh=WwGcRP6mCBmbf/YWltCakJ7KiVVOy2rpd5H+yMpxcZ8=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Pfglr3eVz5QwfTvK6kNefHP1VibfxwgjyVZi0E5Xonh/P5OQcZ+ifFFd0fj71Xhf+fQIE4kr1jC1hS1jH6rtvqgxoNf4ysx6vitRHBrFk2sayiisKToRLkUUlwmFfqLS4/ZIrM9YJrWsUdKchEDR0bEShab3HP8YfcpN2QIohEA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VsylP5N6Nz4x12; Mon, 3 Jun 2024 12:45:53 +1000 (AEST) From: Michael Ellerman To: linuxppc-dev@lists.ozlabs.org, Samuel Holland Cc: kernel test robot , Guenter Roeck , Andrew Morton , Christian König , Christophe Leroy , Michael Ellerman , "Naveen N. Rao" , Nicholas Piggin , linux-kernel@vger.kernel.org In-Reply-To: <20240529162852.1209-1-samuel.holland@sifive.com> References: <20240529162852.1209-1-samuel.holland@sifive.com> Subject: Re: [PATCH] powerpc: Limit ARCH_HAS_KERNEL_FPU_SUPPORT to PPC64 Message-Id: <171738271138.1517513.7328136672025419201.b4-ty@ellerman.id.au> Date: Mon, 03 Jun 2024 12:45:11 +1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 29 May 2024 09:28:50 -0700, Samuel Holland wrote: > When building a 32-bit kernel, some toolchains do not allow mixing soft > float and hard float object files: > > LD vmlinux.o > powerpc64le-unknown-linux-musl-ld: lib/test_fpu_impl.o uses hard float, arch/powerpc/kernel/udbg.o uses soft float > powerpc64le-unknown-linux-musl-ld: failed to merge target specific data of file lib/test_fpu_impl.o > make[2]: *** [scripts/Makefile.vmlinux_o:62: vmlinux.o] Error 1 > make[1]: *** [Makefile:1152: vmlinux_o] Error 2 > make: *** [Makefile:240: __sub-make] Error 2 > > [...] Applied to powerpc/fixes. [1/1] powerpc: Limit ARCH_HAS_KERNEL_FPU_SUPPORT to PPC64 https://git.kernel.org/powerpc/c/be2fc65d66e0406cc9d39d40becaecdf4ee765f3 cheers