Kenneth Boyd <zaimoni at zaimoni.com> writes:>> I'm seeing a failure related to circular library references while >> building LLVM with CMake and MSYS. This didn't happen on the >> past. Building with the configure script works, so it seems something >> related to CMake. Do you have any insight on this? >> > I'll get back on this tonight or tomorrow.Thanks.> * Am I correct in thinking that the CMake process doesn't reference > GenLibDeps.pl?The LLVM CMake build system generates and uses llvm-config where it is required (MSVC++ can live without it). This means that GenLibDeps.pl is invoked for building llvm-config.> * I am seeing desynchronization between the configure-generated > Makefiles and the CMakeFile.txt files. [e.g., llc; makefile doesn't > have asmprinter, CMakeFile.txt does]. That much I should be able to > construct a patch for "blind", if no-one gets to it first.Maybe there are some such desynchronizations. Please report them and I'll fix them. On this specific case, IIRC, MinGW chokes if asmprinter is not on the list of components. This may be another consequence of the malfunctoning of llvm-config/GenLibDeps.pl on MinGW/MSYS. -- Oscar
Óscar Fuentes wrote:> Kenneth Boyd <zaimoni at zaimoni.com> writes: > >> * I am seeing desynchronization between the configure-generated >> Makefiles and the CMakeFile.txt files. [e.g., llc; makefile doesn't >> have asmprinter, CMakeFile.txt does]. That much I should be able to >> construct a patch for "blind", if no-one gets to it first. >> > > Maybe there are some such desynchronizations. Please report them and > I'll fix them. > > On this specific case, IIRC, MinGW chokes if asmprinter is not on the > list of components. This may be another consequence of the malfunctoning > of llvm-config/GenLibDeps.pl on MinGW/MSYS. >That is the only desynchronization among the tools for libraries to link in. I haven't rigged the proofreader assistant system I'm writing to handle the actual file lists for each library yet. (Prototype is Windows batchfile. If I don't find the features I need to make this readable in the documentation, I may change my mind about what language to write it in.) Is that choking post-linking? I am getting a clean build (autoconf/configure) without asmprinter on the list of components. [As of Oct. 5. I'm about to recheck as I switch over to a parallel directory system to check on various levels of debugging.] Kenneth
Kenneth Boyd <zaimoni at zaimoni.com> writes:>>> * I am seeing desynchronization between the configure-generated >>> Makefiles and the CMakeFile.txt files. [e.g., llc; makefile doesn't >>> have asmprinter, CMakeFile.txt does]. That much I should be able to >>> construct a patch for "blind", if no-one gets to it first. >>> >> >> Maybe there are some such desynchronizations. Please report them and >> I'll fix them. >> >> On this specific case, IIRC, MinGW chokes if asmprinter is not on the >> list of components. This may be another consequence of the malfunctoning >> of llvm-config/GenLibDeps.pl on MinGW/MSYS.[snip]> Is that choking post-linking?IIRC, it caused the link to fail with unresolved externals, most likely because some library was not mentioned on the output of llvm-config, which in turn may be caused by the malfunction of GenLibDeps.pl for the MinGW/CMake combo. [snip] -- Oscar