From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D4023858D34; Mon, 22 Jul 2024 00:23:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D4023858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1721607812; bh=f9ZuLV0Z0lRJ9jhK7KB8lZ6qNLeTbFbOWX0Tsa0OOc0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=weKG2xnMHYtDhaEmGzBGuRyjIaiCFq+klcZo7+tzqXrIAfGCP00wjlfdGLcd5LXtP vb/arFhYTUxha5kbqFMWXVJgIP0jf0VYiIoeOcdXg7/edb8swMcJDWYFp31bzdFzfm 92qqqUMVnEnVp+FMzyZQOhNCRWrbSZ+q/UJxtZyA= From: "bugdal at aerifal dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF' Date: Mon, 22 Jul 2024 00:23:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.1.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D116007 Rich Felker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugdal at aerifal dot cx --- Comment #10 from Rich Felker --- musl uses ld64 for all powerpc targets because the ABI was designed when compiler support for IEEE quad was not widespread, with an intent of suppor= ting existing compilers rather than requiring recent ones. Since presumably libquadmath builds fine on other targets where ld is not i= eee quad or IBM double-double, I'm assuming it must be target-specific code tha= t's failing. Could libquadmath just fallback to using generic arch-agnostic cod= e on targets (including musl) where ld is not one of the currently supported one= s?=