Bug#1041202: flang-16: flang fails to compile: missing libraries
Alastair McKinstry
mckinstry at debian.org
Sat Jul 15 16:50:15 BST 2023
Package: flang-16
Version: 16.0.6-4
Severity: normal
flang-new fails to compile a hello world program:
alastair at debian:/tmp$ flang-new-16 -o foo hello.f90
/usr/bin/ld: cannot find -lFortran_main: No such file or directory
/usr/bin/ld: cannot find -lFortranRuntime: No such file or directory
/usr/bin/ld: cannot find -lFortranDecimal: No such file or directory
flang-new: error: linker command failed with exit code 1 (use -v to see invocation)
regards
Alastair
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8), LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Pkg-llvm-team
mailing list