[clang][Driver] Don't let -save-temps overwrite the input file
With -save-temps, an intermediate file named after the input can be the
input itself, e.g. the preprocessed output of a .s file on Darwin. The
driver catches this, but only checked for it when the output's name was
the input's file name. It missed two cases, and overwrote the input with
the preprocessed output:
- With -save-temps=obj, the output is in the output's directory, so
"clang -c -save-temps=obj sub/t.s -o sub/t.o" wrote "sub/t.s".
- On a case-insensitive file system, such as macOS's default, the
preprocessed output "t.s" of an input "t.S" is the same file.
Check whether the output is the same file as the input whenever temps
are saved.
Fixes #7002.
Assisted-by: Claude Opus 5.5
[NVPTX] Set default value of nvptx-allow-ftz-atomics to false (#231429)
This restores the strict FTZ default originally introduced in #200732 and temporarily relaxed in #206154.
Frontends can now explicitly opt in to native FTZ-mismatched atomics on a per-instruction basis using `!atomic.ignore.denormal.mode` metadata (#217585, #217586, #217587, #217588, #232725, #232726), which is supported in Clang, Flang, MLIR, and XLA. Users who need the previous behavior globally can still pass `-nvptx-allow-ftz-atomics=true`.
Update test cases to verify the new default disallow behavior.
Remove Qt5 support in security/pinentry
Merge qt5 and qt6 into a new qt (qt6) subpackage.
Tweaks from sthen@ and ajacoutot@, OK ajacoutot@ (maintainer)
[KnownFPClass] Combine fpext and fptrunc into a shared routine (#225188)
Implements https://github.com/llvm/llvm-project/issues/219847
Partially addresses https://github.com/llvm/llvm-project/issues/219300
Fixes:
- `DenormalMode` handling by `fptrunc`/`fpext`
- `fpext` no longer rules out `qNaN` if the input could be `sNaN`.
Changes:
- `fptrunc` now takes the input/output types.
- `fpext`/`fptrunc` take the `DenormalMode` of the source/destination
types.
I completely rewrote `fpext` and `fptrunc` to use a shared `fpconvert`
routine. Using an approach of starting from `fcAllFlags` and removing
classes instead of starting from `KnownSrc` and adding classes. This
rewrite also improves some deductions for `fptrunc`.
The internal `fpconvert` routine I added should also be able to handle
[13 lines not shown]
graphics/appleseed: unbreak the port's build against Python 3.13
PyEval_ThreadsInitialized() was deprecated since Python 3.9 and
had been finally removed; GIL is initialized by Py_Initialize()
since Python 3.7. We could probably drop the calls altogether,
but let's replace them with Py_IsInitialized() for extra safety.
PR: 299955
dsynth - Do not cross mount boundaries when making template's /etc
* When making the template's /etc, do not cross mount boundaries.
* This is a bit of a hack but /etc/namedb sometimes has a "dev"
subdirectory for its chroot area that mounts devfs. This kinda
implodes when we later try to tmpfs it.
signing: Add mldsa (ML-DSA-87) signer.
Add a signer backed by OpenSSL's ML-DSA-87 implementation, available
when pkg is built against OpenSSL 3.5 or later.
Keys may be generated with pkg key --create -t mldsa or with:
openssl genpkey -algorithm ML-DSA-87 -out repo.key -outpubkey repo.pub
The signer signs the hex-encoded SHA512 of the repository catalog and
reports SHA512 as its digest, so signing_command (with --sign-type
mldsa) and local key signing produce signatures that verify the same
way. Verification works for both PUBKEY and FINGERPRINTS repositories,
and only ML-DSA-87 keys are accepted.
tests: Add mldsa signer tests.
Cover key creation, public key export and signing (with OpenSSL interop
when openssl(1) supports ML-DSA), signing and verifying a repository
with a public key, rejection of a mismatched key and of a non-ML-DSA-87
key, and signing via a signing command with fingerprint verification.
Add atf_require_signer so these are skipped when pkg is built against an
OpenSSL without ML-DSA.
docs: Document the mldsa signer.
Describe the mldsa signer in pkg-repo(8) and pkg-key(8): the digest it
signs, generating keys with pkg key or OpenSSL, signing a repository
with a local key or a signing server via --sign-type mldsa, and the
OpenSSL 3.5 requirement.
Merge tag 'devicetree-for-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree updates from Rob Herring:
- A bunch of improvements in dt-check-style. Fix various bindings based
on these additional checks.
- Convert hisilicon,hix5hd2-ir, hisilicon,hi6220-ade,
hisilicon,hi6220-dsi, hisilicon,hip05-sas-v1, MediaTek RT5650 codecs,
mediatek,g3dsys, mediatek,mt2701-scpsys, ti,omap-mpu, and
ti,omap-ocp2scp to DT schema format
- Add schemas for ST STM32MP2 DWC3 xHCI USB, ST STM32MP25 USB2-FEMTO
PHY, spacemit,k1-gpu and spacemit,k3-gpu, HiSilicon local bus,
HiSilicon HIP05 CPLD, SDMC DM2016, and QCom SM7250 and Kuno PDC
- Various binding updates to fix schema warnings in .dts files
- Drop obsolete .txt bindings for STM32(MP1) RCC, VExpress hwmon and
[30 lines not shown]