[LLVMdev] Compiling llvm and Clang in solaris 10

Jorge Rodrigues skeept at gmail.com
Tue Jun 25 07:47:17 PDT 2013


In the solaris machine I have access to I cannot use svn. I downloaded it
at home tranfered with pen drive and now the compilations doesn't complain
about endian.h missing.
The error now is

> make
make[1]: Entering directory
`/project/helder/scratch/tmp/llvm/build/lib/Support'
llvm[1]: Compiling PathV2.cpp for Debug+Asserts build
In file included from
/project/helder/scratch/tmp/llvm/lib/Support/PathV2.cpp:964:0:
/project/helder/scratch/tmp/llvm/lib/Support/Unix/PathV2.inc: In function
'llvm::error_code llvm::sys::fs::setLastModificationAndAccessTime(int,
llvm::sys::TimeValue)':
/project/helder/scratch/tmp/llvm/lib/Support/Unix/PathV2.inc:452:7: error:
'::futimes' has not been declared
   if (::futimes(FD, Times))
       ^
/project/aircrews/packages/sun/5.10/x86/gnu/bin/rm: cannot remove
`/project/helder/scratch/tmp/llvm/build/lib/Support/Debug+Asserts/PathV2.d.tmp':
No such file or directory
make[1]: ***
[/project/helder/scratch/tmp/llvm/build/lib/Support/Debug+Asserts/PathV2.o]
Error 1
make[1]: Leaving directory
`/project/helder/scratch/tmp/llvm/build/lib/Support'
make: *** [all] Error 1


Thanks,
Jorge


On Mon, Jun 24, 2013 at 6:41 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:

>
> On Jun 24, 2013, at 4:18 PM, Stefan Teleman <stefan.teleman at gmail.com>
> wrote:
>
> > I'll file the bug about the endian stuff, but we'll also have to have
> > an <endian.h> in Solaris as well.
>
> Do you still have issues after r182419?
>
> commit 01ef4f6982451e6a7c00a713d9ae677d3a15d042
> Author: Jakob Stoklund Olesen <stoklund at 2pi.dk>
> Date:   Tue May 21 13:36:13 2013
>
>     Define BYTE_ORDER on Solaris.
>
>     Solaris doesn't have an endian.h header, but SPARC is the only
>     big-endian architecture that runs Solaris, so just use that to detect
>     endianness at compile time.
>
>     git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18241991177308-0d34-0410-b5e6-96231b3b80d8
>
> Thanks,
> /jakob
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130625/e049c12a/attachment.html>


More information about the llvm-dev mailing list