From nobody Tue Jun 9 23:26:30 2026 X-Original-To: python@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 4gZlRB6HVFz6gsZr for ; Tue, 09 Jun 2026 23:26:30 +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 4gZlRB4HTCz3pBW for ; Tue, 09 Jun 2026 23:26:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781047590; 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=KTNSIUGqZ65uiaGPebfO/bvdaWtRaBLKrGDpgWi1AHs=; b=vIB02sjCB6vLNTPRIJMHNq1Z9StKg1OoxxW9BRr0kEl/ejPUEK32i7u2dbwr98hNFvEMbO 5GdE7qQo6CzP5s9WUNIiYPmQ9E5m63cAJyaCh3twQZ9wohXlAcvRg5t8wwlVelY1GgNGXT h+vAW/m1G3DJWdh7/YVvjFW9tVaDdHgs7rjHEm/s2Qifq8mDETzZN1Eo3pip7Dm1AyPD6u 1qFtJ0iJvafTf3TXROerzmh5xceA7tNjVjv/wyWPMrzLOAGjHWfu3+LMrtgcTdb2OuwBm8 JevCcGE2sorxReZsVpMtz8jALsRw/tWTnyHB/VledaVDn8EU5/W+W6kviXSYgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781047590; a=rsa-sha256; cv=none; b=rhhvGI9LeQiylJYfoaGAAkClxOR0AyYWMRNpomZCYdaz2XH6Pxw0mJYue6No3564V6EBkx wSICAUVIQyo9S5sgFu4B+YrUWYAeThEJ65QdG45yBMnkSs5+esIDHeLQQWrwx/SfgomQzh zK4thbGDRY8uKsYeGGNGGVIMJaKrFB4qLBHQGK6uhtVHG3x/Kwg/uZaaDgcRDndU9PsQPG qBwAw1b6LPrw9bihLzKB+KlhpLikbIrCIvTXXtnwIA9JIbgA7pOHp6PhUzeHPek7NG6I5s +MGC0SQO5I1+dC6XtKGcv7/g/9gbjL/UkMVhy2IXN+TBhFhN6U1pbpTNF3TQzA== 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=1781047590; 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=KTNSIUGqZ65uiaGPebfO/bvdaWtRaBLKrGDpgWi1AHs=; b=bPTRrdpOTOcO0ZtYR2wPKzdWcdsRVm2iQhW+rwRLVsg1ghEXhNMKHg/z6cbRvBxD+l77wT eCwsu/XOjM66uXWC9WH10I72s40za14A9xYD18MaGENSw57hsPugXMzScuiAXWYTPCm1OI 7apVYHv4cbrwjxXsAjtir3EiRnVo/VIzS4wvNLvC8TVqvu+OWyC1+u/9iOuu6ds5b0MeIF jftCPZVc5gX6xDKv3MGi7/1upwwcid5HlSm+sYZfj0mKMj8sYplMoqWFp/QdWNiLQwHDHK hvCWcUApQogiTlsfx3r7OHPxUSMuGS1Q0Syufz7NeHSTu5BTixpA3Z+rODfFEQ== 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 4gZlRB3Hjvzw1T for ; Tue, 09 Jun 2026 23:26:30 +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 659NQUCZ082267 for ; Tue, 9 Jun 2026 23:26:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 659NQUt1082266 for python@FreeBSD.org; Tue, 9 Jun 2026 23:26:30 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: python@FreeBSD.org Subject: [Bug 295965] wait3(&status, WNOHANG, ...) clobbers status to -65536 when no child exits. (compat32 bug?) Date: Tue, 09 Jun 2026 23:26:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 15.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@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=3D295965 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #8 from Mark Millard --- (In reply to Matthias Andree from comment #0) I'll note that: $ cc -std=3Dc11 -m32 -o try try-wait3.c -O3 -Wall may not be doing what you expect. Note the: -triple armv4t-unknown-freebsd16.0 in: # cc -v -m32 -std=3Dc11 -o try try-wait3.c -O3 -Wall && ./try FreeBSD clang version 21.1.8 (https://github.com/llvm/llvm-project.git llvmorg-21.1.8-0-g2078da43e25a) Target: arm-unknown-freebsd16.0 Thread model: posix InstalledDir: /usr/bin Build config: +assertions "/usr/bin/cc" -cc1 -triple armv4t-unknown-freebsd16.0 -O3 -emit-obj -dumpd= ir try- -disable-free -clear-ast-before-backend -main-file-name try-wait3.c -mrelocation-model static -mframe-pointer=3Dall -ffp-contract=3Don -fno-rounding-math -mconstructor-aliases -funwind-tables=3D2 -target-cpu ar= m7tdmi -target-feature +soft-float -target-feature +soft-float-abi -target-feature -vfp2 -target-feature -vfp2sp -target-feature -vfp3 -target-feature -vfp3d16 -target-feature -vfp3d16sp -target-feature -vfp3sp -target-feature -fp16 -target-feature -vfp4 -target-feature -vfp4d16 -target-feature -vfp4d16sp -target-feature -vfp4sp -target-feature -fp-armv8 -target-feature -fp-armv8= d16 -target-feature -fp-armv8d16sp -target-feature -fp-armv8sp -target-feature -fullfp16 -target-feature -fp64 -target-feature -d32 -target-feature -neon -target-feature -sha2 -target-feature -aes -target-feature -dotprod -target-feature -fp16fml -target-feature -bf16 -target-feature -mve -target-feature -mve.fp -target-feature -fpregs -target-feature +strict-ali= gn -target-abi aapcs-linux -msoft-float -mfloat-abi soft -Wunaligned-access -debugger-tuning=3Dgdb -fdebug-compilation-dir=3D/root/c_tests -v -fcoverage-compilation-dir=3D/root/c_tests -resource-dir /usr/lib/clang/21 -internal-isystem /usr/lib/clang/21/include -internal-externc-isystem /usr/include -Wall -std=3Dc11 -ferror-limit 19 -fmessage-length=3D200 -fno-signed-char -fgnuc-version=3D4.2.1 -fskip-odr-check-in-gmf -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=3D1 -o /tmp/try-wait3-4f775a.o -x c try-wait3.c clang -cc1 version 21.1.8 based upon LLVM 21.1.8 default target aarch64-unknown-freebsd16.0 #include "..." search starts here: #include <...> search starts here: /usr/lib/clang/21/include /usr/include End of search list. "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=3Dboth --enable-new-dtags -o try /usr/lib32/crt1.o /usr/lib32/= crti.o /usr/lib32/crtbegin.o -L/usr/lib32 /tmp/try-wait3-4f775a.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib32/crtend.o /usr/lib32/crtn.o pid =3D 0, status =3D -65535 =3D 0xffff0001 I wish that FreeBSD had -m32 targeting armv7 like normal compiles do on armv7 itself. Note the: -triple armv7-unknown-freebsd16.0-gnueabihf in: # cc -v -std=3Dc11 -o try try-wait3.c -O3 -Wall FreeBSD clang version 21.1.8 (https://github.com/llvm/llvm-project.git llvmorg-21.1.8-0-g2078da43e25a) Target: armv7-unknown-freebsd16.0-gnueabihf Thread model: posix InstalledDir: /usr/bin Build config: +assertions "/usr/bin/cc" -cc1 -triple armv7-unknown-freebsd16.0-gnueabihf -O3 -emit-o= bj -dumpdir try- -disable-free -clear-ast-before-backend -main-file-name try-wait3.c -mrelocation-model static -mframe-pointer=3Dall -ffp-contract= =3Don -fno-rounding-math -mconstructor-aliases -funwind-tables=3D2 -target-cpu cortex-a8 -target-feature +read-tp-tpidruro -target-feature +vfp2 -target-feature +vfp2sp -target-feature +vfp3 -target-feature +vfp3d16 -target-feature +vfp3d16sp -target-feature +vfp3sp -target-feature -fp16 -target-feature -vfp4 -target-feature -vfp4d16 -target-feature -vfp4d16sp -target-feature -vfp4sp -target-feature -fp-armv8 -target-feature -fp-armv8= d16 -target-feature -fp-armv8d16sp -target-feature -fp-armv8sp -target-feature -fullfp16 -target-feature +fp64 -target-feature +d32 -target-feature +neon -target-feature -sha2 -target-feature -aes -target-feature -fp16fml -target= -abi aapcs-linux -mfloat-abi hard -debugger-tuning=3Dgdb -fdebug-compilation-dir=3D/root/c_tests -v -fcoverage-compilation-dir=3D/root/c_tests -resource-dir /usr/lib/clang/21 -internal-isystem /usr/lib/clang/21/include -internal-externc-isystem /usr/include -Wall -std=3Dc11 -ferror-limit 19 -fmessage-length=3D200 -fno-signed-char -fgnuc-version=3D4.2.1 -fskip-odr-check-in-gmf -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=3D1 -o /tmp/try-wait3-b44565.o -x c try-wait3.c clang -cc1 version 21.1.8 based upon LLVM 21.1.8 default target armv7-unknown-freebsd16.0-gnueabihf #include "..." search starts here: #include <...> search starts here: /usr/lib/clang/21/include /usr/include End of search list. "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=3Dboth --enable-new-dtags -o try /usr/lib/crt1.o /usr/lib/crti= .o /usr/lib/crtbegin.o -L/usr/lib /tmp/try-wait3-b44565.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o --=20 You are receiving this mail because: You are on the CC list for the bug.=