[LLVMbugs] Re: Can't build LLVM after last changes in SystemUtils.cpp

Chris Lattner sabre at nondot.org
Sun Jul 25 00:44:50 PDT 2004


On Sun, 25 Jul 2004, Vladimir Merzliakov wrote:

> I can't build LLVM at FreeBSD 5.1 after last chages in SystemUtils.cpp
> http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040719/016417.html

Please try this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040719/016462.html

Thanks for letting me know!

-Chris


> Error log:
> ----8x------------------------------
> Compiling SystemUtils.cpp
> /home/wanderer/pkg/build/llvm/src/llvm/lib/Support/SystemUtils.cpp: In
> function `int llvm::RunProgramWithTimeout(const std::string&, const char**,
> const std::string&, const std::string&, const std::string&, unsigned int)':
> /home/wanderer/pkg/build/llvm/src/llvm/lib/Support/SystemUtils.cpp:177:
> error: `SA_NOMASK' was not declared in this scope
> /home/wanderer/pkg/build/llvm/src/llvm/lib/Support/SystemUtils.cpp:178:
> error: no matching function for call to `sigaction::sigaction(int,
> sigaction*, sigaction*)'
> /usr/include/sys/signal.h:215: note: candidates are: sigaction::sigaction()
> /usr/include/sys/signal.h:215: note:
> sigaction::sigaction(const sigaction&)
> /home/wanderer/pkg/build/llvm/src/llvm/lib/Support/SystemUtils.cpp:189:
> error: `kill' was not declared in this scope
> /home/wanderer/pkg/build/llvm/src/llvm/lib/Support/SystemUtils.cpp:195:
> error: no matching function for call to `sigaction::sigaction(int,
> sigaction*, int)'
> /usr/include/sys/signal.h:215: note: candidates are: sigaction::sigaction()
> /usr/include/sys/signal.h:215: note:
> sigaction::sigaction(const sigaction&)
> /home/wanderer/pkg/build/llvm/src/llvm/lib/Support/SystemUtils.cpp:204:
> error: no matching function for call to `sigaction::sigaction(int,
> sigaction*, int)'
> /usr/include/sys/signal.h:215: note: candidates are: sigaction::sigaction()
> /usr/include/sys/signal.h:215: note:
> sigaction::sigaction(const sigaction&)
> gmake[1]: ***
> [/usr/home/wanderer/pkg/build/llvm/obj/lib/Support/Debug/SystemUtils.lo]
> Error 1
> gmake[1]: Leaving directory
> `/usr/home/wanderer/pkg/build/llvm/obj/lib/Support'
> ----x8------------------------------
>
> Vladimir
>
>

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://nondot.org/sabre/




More information about the llvm-bugs mailing list