From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C3C53858D37; Wed, 24 Jan 2024 14:33:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C3C53858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706106836; bh=+XrWWYFQo+GpcEEBVbSvppdvVrQQM/rk3/v/y3eydIo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jSb7o7+1v3pXCjdasFoIiObZgKgn0YFUYIJnaxLb3dN1hTCReplQUpOJvCn+l0L/J rZhJHoqd9Lccqe+1TC7ITzDtZwRZ6bHIeWKqeykX58VCPLUgHrDRcMEwWN36a8CoBP i4Pqjy1ovTzhNlJ9JU6CqvUykA1a+HBJdb2YUWmU= From: "ro at gcc dot gnu.org" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/113553] rust fails to build on sparc64-linux-gnu Date: Wed, 24 Jan 2024 14:33:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org 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: 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=3D113553 --- Comment #1 from Rainer Orth --- The build works for me just fine on sparc-sun-solaris2.11. I've also fired one off on sparc64-unknown-linux-gnu which worked just as w= ell. It was a rough ride, however, with the build aborting with xgcc: fatal error: cannot execute '/var/gcc/regression/master/6.4.0-gcc-gas-gld/build/./gcc/cc1plus': posix_spawn: Bad address several times. When I ran make under strace -f, however, the build worked = just fine. Quite ugly, actually. That said, those specializations of std::to_string live in libstdc++-v3/include/bits/basic_string.h. The floating point ones are guarded by _GLIBCXX_USE_C99_STDIO. In my build, sparc64-unknown-linux-gnu/libstdc++-v3/config.h has #define _GLIBCXX11_USE_C99_STDIO 1 #define _GLIBCXX98_USE_C99_STDIO 1 If yours does not, you need to check config.log to find out what's wrong. --=20 You are receiving this mail because: You are on the CC list for the bug.=