[llvm-dev] Building LLVM under Cygwin32 fails

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 30 07:43:30 PDT 2016


Nakamura runs a bot labelled "cygwin" here, but it's apparently down:
http://bb.pgr.jp/builders

I'm not sure it's still a supported configuration, but we could probably
accept non-invasive patches to make it work.

On Thu, Jun 30, 2016 at 1:16 AM, Martin J. O'Riordan via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I am updating our out-of-tree copy of LLVM to track the head (revision
> #272991 specifically).
>
>
>
> I have it building successfully with VC++ 2013 and CMake v3.5.2 on
> Windows, and with GCC v4.8.5 and CMake v3.5.2 on CentOS; but when I try
> building on Windows using Cygwin32 I get the following build failures:
>
>
>
> [  4%] Building CXX object
> lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
>
> In file included from
> /src/Compilers/llvmHead/llvm/lib/Support/Signals.cpp:180:0:
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc: In function
> ‘void llvm::sys::PrintStackTrace(llvm::raw_ostream&)’:
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc:418:5: error:
> ‘Dl_info’ was not declared in this scope
>
>      Dl_info dlinfo;
>
>      ^
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc:419:28: error:
> ‘dlinfo’ was not declared in this scope
>
>      dladdr(StackTrace[i], &dlinfo);
>
>                             ^
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc:419:34: error:
> ‘dladdr’ was not declared in this scope
>
>      dladdr(StackTrace[i], &dlinfo);
>
>                                   ^
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc:430:5: error:
> ‘Dl_info’ was not declared in this scope
>
>      Dl_info dlinfo;
>
>      ^
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc:431:28: error:
> ‘dlinfo’ was not declared in this scope
>
>      dladdr(StackTrace[i], &dlinfo);
>
>                             ^
>
> /src/Compilers/llvmHead/llvm/lib/Support/Unix/Signals.inc:431:34: error:
> ‘dladdr’ was not declared in this scope
>
>      dladdr(StackTrace[i], &dlinfo);
>
>                                   ^
>
> make[4]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/build.make:2223:
> lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o] Error 1
>
>
>
> I am using CMake v3.5.2 built from source on Cygwin32 because v3.5.2 is
> not yet available from for download, and GCC v5.4.0.  Other than CMake, all
> of my Cygwin32 installation is from the distribution.
>
>
>
> Is there a quick-fix known for this, or has it been fixed in a later
> revision, or is this a new problem?
>
>
>
> Thanks,
>
>
>
>             MartinO
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160630/8d1607fa/attachment-0001.html>


More information about the llvm-dev mailing list