https://bugs.llvm.org/show_bug.cgi?id=47212

            Bug ID: 47212
           Summary: [flang] fails to run when compiled with
                    LLVM_BUILD_LLVM_DYLIB=ON and LLVM_LINK_LLVM_DYLIB=ON
           Product: flang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Build System
          Assignee: unassignedb...@nondot.org
          Reporter: bro...@freebsd.org
                CC: david.tr...@arm.com, jper...@nvidia.com,
                    llvm-bugs@lists.llvm.org, sscalp...@nvidia.com

When trying to build flang as part of the FreeBSD llvm-devel package it fails
with:

FAILED: tools/flang/include/flang/__fortran_builtins.mod
cd
/usr/local/poudriere/ports/brooks/devel/llvm-devel/work/.build/tools/flang/include/flang
&& /usr/local/poudriere/ports/brooks/devel/llvm-devel/work/.build/bin/f18
-fparse-only
-I/usr/local/poudriere/ports/brooks/devel/llvm-devel/work/.build/tools/flang/include/flang
/usr/local/poudriere/ports/brooks/devel/llvm-devel/work/llvm-project-30c1633386e7cfb01c0a54b31ccf4c3a3873e71b/flang/module/__fortran_builtins.f90
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

Compiling without LLVM_LINK_LLVM_DYLIB=ON works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to