From nobody Sat May 16 05:06:40 2026 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gHX9D49hkz6cwl0 for ; Sat, 16 May 2026 05:06:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gHX9D32mbz3XLy for ; Sat, 16 May 2026 05:06:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778908000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v37uNGP/7quFQAx7QhzHq/wDSvL6akmYbJPMGNKa38w=; b=i3U2PqFjwEpDG137QrFF91j309XWTD0Fy3ektiKELo8BYuh5vTE3hestPxxQI9eknpmmR1 yIkco8v5OXG0GTod4B+Jh1yGBL1vlnVGOX4CFwt89YO12IFcZEm8bfnT5U+BFFt+HQ2RkH JY41ldm8fbS048wwWNV6HaeDjHFPq9xBkdBvMz6sMtkWAoe5vQhuzuNKJPKsTwqiMZkP9Z 9OWIH5A3qjO8atLzpncB9GXn5Of9cvliLyO57PzMD7ealoo6+d6pol2mEamEbu0ua+uqUK xSBDgqghRPuebPvXtki7BFO2XP6JoipFg/McodxIMXAd9UWa1ehYw0Z2XsZrSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778908000; a=rsa-sha256; cv=none; b=RDBwKGHIHP0kRExfgl66x4QSttkqE1/e1EcovxgS7CpxqIgr3oiJbStyB4QE7hs5jnv/kw YFNFm1IRZ4btrRw6LSc+8gDu96Q07RqhCKQHE8M8DgTjzDUiaW45IN9IcdYLgwsmeZot8b VNAIkWpMT4CDCvIFT+gy90Du/lVU0JvWwWcKhNB8zkNQnQnqi0PdW96H5I1Aw0Q+T38MXE xv8Fhth/TgKIYzNNSBzRMzc9dmcCWw/phQSvSnMwS6YG/bw7rrM/rADjGlfte4tUYREAgl JNoSr1+rmCZTYLivAhRVCOH1OaobbHcyY2kPncTrIFQcWpD+FdlnPHSB+mJRjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778908000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v37uNGP/7quFQAx7QhzHq/wDSvL6akmYbJPMGNKa38w=; b=oYZA2tcuOoOg2Lr7fI9ll1GyJ2Rohsoe9S+3GyOJMxMk+Z2VJyKmiaoMaJ8JPY4QkY3XyE /JzpLJb2YQcT7J3Vu7c296FNRyKPREUTPWeQzrDHxwq7Foy6YD/Y4DB9cLhQhhxOH9sIgI 6phA1+TPqebgJofXePKc6Os3HZeydDav7igzrUg/jNGVyzWAGUcg6ke1LgopxIHr5YiSya s60OCC1R/fKlXiuEj66Xg3BGkCs8HPUpuaZbi8MqM2ri6AvYKySOLEPauUa1OatO6p8V1p O0Bqy5583ZSBsWQ9QGig6hlW7cyoZzHC0KE8AReJtdkIXG/26bQKl48xsBs9lw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gHX9D2PbgzhGM for ; Sat, 16 May 2026 05:06:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 64G56exe027145 for ; Sat, 16 May 2026 05:06:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 64G56eXU027144 for bugs@FreeBSD.org; Sat, 16 May 2026 05:06:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277612] libc printf not compatible with glibc with negative nan Date: Sat, 16 May 2026 05:06:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pjfloyd@wanadoo.fr X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277612 --- Comment #4 from Paul Floyd --- This issue resurfaced last week. We were using "0.0/0.0" as our NaN generator. Two fun facts. GCC generates = code that does the division. On i386 and amd64 the result is a NaN with a negati= ve sign bit. clang does compile time constant folding and produces a positive = NaN, See this regression test failure and discussion: https://sourceforge.net/p/valgrind/mailman/valgrind-testresults/thread/2026= 05070526.6475Q2BE072333%40localhost.orange.fr/#msg59331691 --=20 You are receiving this mail because: You are the assignee for the bug.=