[LLVMdev] FreeBSD Support In lib/System

Jeff Cohen jeffc at jolt-lang.org
Wed Sep 1 08:05:18 PDT 2004


Well, that didn't take long.  "Unix" doesn't work either:

gmake[2]: Entering directory `/usr/home/llvm/obj/utils/TableGen'
Compiling AsmWriterEmitter.cpp
Compiling CodeEmitterGen.cpp
Compiling CodeGenTarget.cpp
Compiling FileLexer.cpp
Compiling FileParser.cpp
Compiling InstrInfoEmitter.cpp
Compiling InstrSelectorEmitter.cpp
Compiling Record.cpp
Compiling RegisterInfoEmitter.cpp
Compiling TableGen.cpp
Compiling TableGenBackend.cpp
Linking tblgen debug executable (without symbols)
/usr/home/llvm/obj/lib/Debug/libLLVMsystem.a(Path.o): In function `llvm::sys::Path::is_file() const':
/usr/include/c++/3.3/bits/basic_string.h:889: undefined reference to `llvm::sys::Path::is_valid() const'
/usr/home/llvm/obj/lib/Debug/libLLVMsystem.a(Path.o): In function `llvm::sys::Path::is_directory() const':
/usr/include/c++/3.3/bits/basic_string.h:891: undefined reference to `llvm::sys::Path::is_valid() const'
/usr/home/llvm/obj/lib/Debug/libLLVMsystem.a(Path.o): In function `llvm::sys::Path::Path(std::string)':
/usr/home/llvm/obj/lib/System/platform/Path.cpp:32: undefined reference to `llvm::sys::Path::is_valid() const'
/usr/home/llvm/obj/lib/Debug/libLLVMsystem.a(Path.o): In function `llvm::sys::Path::Path(std::string)':
/usr/home/llvm/obj/lib/System/platform/Path.cpp:32: undefined reference to `llvm::sys::Path::is_valid() const'
/usr/home/llvm/obj/lib/Debug/libLLVMsystem.a(Path.o): In function `llvm::sys::Path::set_directory(std::string const&)':
/usr/home/llvm/obj/lib/System/platform/Path.cpp:131: undefined reference to `llvm::sys::Path::is_valid() const'
/usr/home/llvm/obj/lib/Debug/libLLVMsystem.a(Path.o):/usr/home/llvm/obj/lib/System/platform/Path.cpp:148: more undefined references to `llvm::sys::Path::is_valid() const' follow
gmake[2]: *** [/usr/home/llvm/obj/tools/Debug/tblgen] Error 1
gmake[2]: Leaving directory `/usr/home/llvm/obj/utils/TableGen'



On Tue, 31 Aug 2004 11:12:49 -0700
Reid Spencer <reid at x10sys.com> wrote:

> Jeff/Vladimir:
> 
> As with Interix, I've recently added support for FreeBSD into
> lib/System. Currently, the implementation of FreeBSD just uses the
> "generic Unix" implementation which probably should work on FreeBSD. If
> not, I would appreciate it if you could make patches in the FreeBSD
> directory. If you do, don't forget that you need to remove anything that
> doesn't work in the lib/System/Unix directory and re-implement it on all
> platforms.
> 
> Hopefully this will help you get better FreeBSD support out of LLVM.
> 
> Thanks
> 
> Reid.
> 




More information about the llvm-dev mailing list