Issue |
127542
|
Summary |
[flang][MacOS] warning messages in linking with libflang_rt.runtime.a
|
Labels |
flang
|
Assignees |
|
Reporter |
kkwli
|
```
% cat print.f90
print *, 'hello world'
end
% flang print.f90
flang version 21.0.0git (g...@github.com:kkwli/llvm-project.git 9d487050a144b895950a6fd48b993513a714e69d)
Target: arm64-apple-darwin23.6.0
Thread model: posix
InstalledDir: /Users/kelvin/wrk/llvm/build-new/bin
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[2](binary-to-decimal.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[3](decimal-to-binary.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[4](ISO_Fortran_binding.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[5](allocator-registry.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[8](assign.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[9](buffer.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[14](connection.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
ld: warning: object file (/Users/kelvin/wrk/llvm/build-new/lib/libflang_rt.runtime.a[17](derived.cpp.o)) was built for newer 'macOS' version (14.7) than being linked (14.0)
...
```
Here is the compile environment.
```
% uname -a
Darwin neutrino2.local 23.6.0 Darwin Kernel Version 23.6.0: Thu Dec 19 20:44:10 PST 2024; root:xnu-10063.141.1.703.2~1/RELEASE_ARM64_T6000 arm64
% sw_vers
ProductName: macOS
ProductVersion: 14.7.4
BuildVersion: 23H420
% xcrun --show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs