Linking tblgen: undefined reference to `llvm::sys::Path::Path(std::string)'

Hi,

I'm linking tblgen. However, I get below error. I can't figure out what's wrong here. Could it be this statement in the Path.h:

        mutable std::string path; ///< Storage for the path name.

The Path ctor changed from taking a string by value to a string by const reference. It's possible that you have stale .o files compiled with the old prototype. Can you try updating your tree, doing a make clean, then trying again?

-Chris

Yeah, that's confirmed. Make sure you update include/llvm/System/Path.h
and the contents of lib/System then make clean and rebuild. Should fix
it

Reid.

Hi,

Done and new errors arise :slight_smile:

Henrik.