Search Criteria
Package Details: flang 21.1.4-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/flang.git (read-only, click to copy) |
|---|---|
| Package Base: | flang |
| Description: | ground-up implementation of a Fortran front end written in modern C++ |
| Upstream URL: | http://llvm.org/ |
| Licenses: | Apache-2.0 WITH LLVM-exception |
| Submitter: | xantares |
| Maintainer: | xantares |
| Last Packager: | xantares |
| Votes: | 5 |
| Popularity: | 0.124803 |
| First Submitted: | 2023-08-25 22:06 (UTC) |
| Last Updated: | 2025-11-02 14:41 (UTC) |
Dependencies (6)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- llvm-libs (llvm-libs-gitAUR)
- mlirAUR
- cmake (cmake3AUR, cmake-gitAUR) (make)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR) (make)
- python (make)
Required by (0)
Sources (8)
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/clang-21.1.4.src.tar.xz
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/clang-21.1.4.src.tar.xz.sig
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/cmake-21.1.4.src.tar.xz
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/cmake-21.1.4.src.tar.xz.sig
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/flang-21.1.4.src.tar.xz
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/flang-21.1.4.src.tar.xz.sig
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/llvm-project-21.1.4.src.tar.xz
- https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.4/llvm-project-21.1.4.src.tar.xz.sig
Latest Comments
1 2 Next › Last »
xantares commented on 2025-11-02 15:14 (UTC)
I added the flang-rt lib
MartinDiehl commented on 2025-10-30 09:29 (UTC) (edited on 2025-10-30 09:29 (UTC) by MartinDiehl)
compilation of 21.1.4-1 works for me but invoking flang fails with
/usr/bin/ld: cannot find -lflang_rt.runtime: No such file or directoryHurricanePootis commented on 2025-09-06 20:32 (UTC)
@xantares Your package could do with the following:
clangandllvm-libstodepends()license()SPDX compliante-kwsm commented on 2025-06-16 14:21 (UTC)
omp_lib.mod and omp_lib_kinds.mod are missed. We have to compile omp_lib.F90 by flang and install the modules.
xantares commented on 2025-01-16 17:56 (UTC)
how about now ?
MartinDiehl commented on 2025-01-16 17:37 (UTC)
I can't build in a clean chroot:
leads to
xantares commented on 2023-11-08 17:07 (UTC)
could you update and retry ?
Logrus commented on 2023-11-05 15:23 (UTC) (edited on 2023-11-05 15:33 (UTC) by Logrus)
Here are makepkg.conf https://drive.google.com/file/d/1KIK487enTswoyN4ljk2tKUxMbDGJAjCj/view?usp=sharing Here are log.txt of makepkg command https://drive.google.com/file/d/1t7_dOZ59dnK67PS6YNZVrbEj97OGfCCB/view
Logrus commented on 2023-11-05 15:18 (UTC) (edited on 2023-11-05 15:34 (UTC) by Logrus)
Sorry for Wall of Text
#Console output
makepkg -si > log.txt flang-16.0.6.src.tar.xz ... Passed flang-16.0.6.src.tar.xz.sig ... Skipped cmake-16.0.6.src.tar.xz ... Passed cmake-16.0.6.src.tar.xz.sig ... Skipped clang-16.0.6.src.tar.xz ... Passed clang-16.0.6.src.tar.xz.sig ... Skipped flang-16.0.6.src.tar.xz ... Passed cmake-16.0.6.src.tar.xz ... Passed clang-16.0.6.src.tar.xz ... Passed CMake Deprecation Warning at /home/user/flang/src/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include)
Building Flang as a standalone project. /home/user/flang/src/flang-16.0.6.src/lib/Lower/ConvertCall.cpp: In member function ‘bool {anonymous}::ElementalUserCallBuilder::canLoadActualArgumentBeforeLoop(unsigned int) const’: /home/user/flang/src/flang-16.0.6.src/lib/Lower/ConvertCall.cpp:902:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 902 | const auto &arg = caller.getPassedArguments()[argIdx]; | ^~~ /home/user/flang/src/flang-16.0.6.src/lib/Lower/ConvertCall.cpp:902:57: note: the temporary was destroyed at the end of the full expression ‘(&((const {anonymous}::ElementalUserCallBuilder*)this)->{anonymous}::ElementalUserCallBuilder::caller)->Fortran::lower::CallerInterface::<anonymous>.Fortran::lower::CallInterface<Fortran::lower::CallerInterface>::getPassedArguments().llvm::ArrayRef<Fortran::lower::CallInterface\<Fortran::lower::CallerInterface>::PassedEntity>::operator’ 902 | const auto &arg = caller.getPassedArguments()[argIdx]; | ^ /home/user/flang/src/flang-16.0.6.src/lib/Semantics/runtime-type-info.cpp: In function ‘Fortran::semantics::SomeExpr Fortran::semantics::SaveDerivedPointerTarget(Scope&, SourceName, std::vector<Fortran::evaluate::StructureConstructor>&&, Fortran::evaluate::ConstantSubscripts&&)’: /home/user/flang/src/flang-16.0.6.src/lib/Semantics/runtime-type-info.cpp:298:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 298 | const auto &derivedType{x.front().GetType().GetDerivedTypeSpec()}; | ^~~~~~~~~~~ /home/user/flang/src/flang-16.0.6.src/lib/Semantics/runtime-type-info.cpp:298:67: note: the temporary was destroyed at the end of the full expression ‘(&(& x)->std::vector<Fortran::evaluate::StructureConstructor>::front())->Fortran::evaluate::StructureConstructor::GetType().Fortran::evaluate::DynamicType::GetDerivedTypeSpec()’ 298 | const auto &derivedType{x.front().GetType().GetDerivedTypeSpec()}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/user/flang/src/flang-16.0.6.src/include/flang/Tools/CLOptions.inc:16, from /home/user/flang/src/flang-16.0.6.src/lib/Frontend/FrontendActions.cpp:508: /home/user/flang/src/flang-16.0.6.src/include/flang/Optimizer/CodeGen/CodeGen.h:27:10: fatal error: flang/Optimizer/CodeGen/CGPasses.h.inc: No such file or directory 27 | #include "flang/Optimizer/CodeGen/CGPasses.h.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [lib/Frontend/CMakeFiles/obj.flangFrontend.dir/build.make:132: lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2084: lib/Frontend/CMakeFiles/obj.flangFrontend.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
#Console output
xantares commented on 2023-11-05 08:07 (UTC)
seems like an upstream issue:
https://github.com/llvm/llvm-project/issues/61543
maybe a missing dependency
please provide full log and makepkg.conf
1 2 Next › Last »