| d87ec161 | 11-Mar-2024 |
Jose E. Roman <jroman@dsic.upv.es> |
Filter out linker warnings in macOS with latest CLT
$ make check ... *******************Error detected during compile or link!******************* See https://petsc.org/release/faq/ ... ld: warning:
Filter out linker warnings in macOS with latest CLT
$ make check ... *******************Error detected during compile or link!******************* See https://petsc.org/release/faq/ ... ld: warning: duplicate -rpath '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/gcc/x86_64-apple-darwin23/13' ignored ld: warning: duplicate -rpath '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current' ignored ld: warning: duplicate -rpath '/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib' ignored ld: warning: duplicate -rpath '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/gcc' ignored
show more ...
|
| 571416bb | 08-Mar-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix for linker warnings that appear with latest macOS XCode release
ld: warning: -commons use_dylibs is no longer supported, using error treatment instead ld: warning: -bind_at_load is deprecated on
Fix for linker warnings that appear with latest macOS XCode release
ld: warning: -commons use_dylibs is no longer supported, using error treatment instead ld: warning: -bind_at_load is deprecated on macOS
ld: warning: duplicate -rpath '/Users/barrysmith/Src/petsc/arch-fix-macos-latest-configure/lib' ignored
For this fix we need to always pass the libraries through self.libraries.toStringNoDupes() with fully resolved strings (no ${PETSC_ARCH}/${PETSC_DIR}) so the generation of the library lists is now done ONLY in config/PETSc/Configure.py and not in variables. Tested both single and multiple libraries with --download-hypre which previously would produce a duplicate.
show more ...
|