tarunprabhu wrote: The underlying issue is due to `CLOptions.inc` being included in `FrontendActions.cpp` and `bbc.cpp`. The file contained a number of command line options and functions, all of which were declared `static`. This PR added `libflangFrontend` to the list of libraries linked into `bbc` which resulted in duplicate definition errors. The underlying issue can be solved by avoiding including files containing definitions directly in another. #109874 does this. It should be safe to reland this after that is merged.
https://github.com/llvm/llvm-project/pull/102975 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits