Brad King
c8f4ae9ccf
Merge topic 'GNU-linker-pushpop_state-detection'
...
d5be7c7f31 Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64 Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49 Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10468
2025-03-21 08:07:16 -04:00
Marc Chevrier
d5be7c7f31
Linker: Detect GNU push-state/pop-state flags more robustly
...
Try actually passing them to the linker to see whether it complains.
Fixes : #26766
2025-03-20 11:00:02 -04:00
Marc Chevrier
7b552b9a64
Linker: Save GNU push-/pop-state detection with compiler inspection results
...
Previously we saved it in the cache, which:
* Persists even if a new version of CMake changes how the check works.
* Does not propagate to `try_compile` checks.
2025-03-20 11:00:02 -04:00
Kitware Robot
1772622772
LICENSE: Replace references to Copyright.txt with LICENSE.rst
...
```
git grep -lz 'Copyright.txt or https://cmake.org/licensing ' |
while IFS= read -r -d $'\0' f ; do
sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / {
s/Copyright.txt/LICENSE.rst/
}' "$f" ; done
```
2025-03-03 10:43:35 -05:00
Brad King
d1e0eb405f
Merge topic 'linker-configuration-haiku'
...
379785e869 Linker configuration: Add missing platform Haiku
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10318
2025-02-10 16:16:22 -05:00
Begasus
379785e869
Linker configuration: Add missing platform Haiku
...
Add Haiku information modules missed by commit c1c4cf9545 (Linker
configuration: introduce a new architecture, 2024-06-05,
v3.31.0-rc1~307^2~1).
2025-02-10 10:27:27 -05:00
Brad King
ee35812ddf
Merge topic 'fix-swift-whole-archive'
...
c894bc0831 Linker: Restore support for WHOLE_ARCHIVE with Swift libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10266
2025-02-04 08:47:56 -05:00
Alexandra Cherdantseva
c894bc0831
Linker: Restore support for WHOLE_ARCHIVE with Swift libraries
...
Add Swift linker information modules missed by commit c1c4cf9545 (Linker
configuration: introduce a new architecture, 2024-06-05,
v3.31.0-rc1~307^2~1) and needed since commit 1e35163ae8 (WHOLE_ARCHIVE
link feature: rely now on linker configuration, 2024-07-01,
v3.31.0-rc1~307^2).
Fixes : #26657
2025-02-03 10:32:34 -05:00
Brad King
90d814f024
CMP0054: Remove support for OLD behavior
2025-01-20 09:46:55 -05:00
Marc Chevrier
0445190d2f
LLD linker: avoid regression on archive libraries deduplication
...
Due to a bug on LLD linker for ELF binaries, deduplication should
occur only if CMP0156 and CMP0179 are NEW.
Fixes : #26447
2024-11-18 21:02:50 +01:00
Marc Chevrier
d2997ab601
Linker configuration: Add missing platforms
...
The following platforms were missing:
* Android
* WindowsCE, WindowsPhone, WindowsStore and WindowsKernelModeDriver
And enhance various Apple platforms support (iOS, tvOS, etc...)
Fixes : #26439
2024-11-12 16:46:54 +01:00
Marc Chevrier
1e35163ae8
WHOLE_ARCHIVE link feature: rely now on linker configuration
...
Fixes : #26019
2024-07-22 16:58:51 +02:00
Marc Chevrier
c1c4cf9545
Linker configuration: introduce a new architecture
...
A new set of files are dedicated to linker configuration.
This set of files enable a fine-tuned configuration based of the linker
type as identified during compiler detection.
Fixes : #25360
2024-07-20 19:05:54 +02:00