[flang-commits] [clang] [flang] [mlir] [clang][flang][mlir] Support -frecord-command-line option (PR #102975)

David Spickett via flang-commits flang-commits at lists.llvm.org
Fri Sep 20 04:33:55 PDT 2024


DavidSpickett wrote:

I've had to revert this due to the failures listed above. To reproduce, configure with `-DBUILD_SHARED_LIBS=ON`.

(the other 2 bots are not called shared libs but they do enable this setting too)

```
$ ./bin/bbc
: CommandLine Error: Option 'fdynamic-heap-array' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
```

This happens to at least the bbc and tco tools that I notice include a .inc file related to commands. So that might be the issue, but simply removing the include wasn't correct so I leave it to you to figure out.

https://github.com/llvm/llvm-project/pull/102975


More information about the flang-commits mailing list