[illumos-Developer] LLVM / clang anyone?

Garrett D'Amore garrett at damore.org
Thu Aug 19 12:42:26 PDT 2010


So, I'm supportive.  More compiler choices is better.

However, I don't want to create any *dependency* on any more products
that are closed source.  I'm not sure if path64 fits that description or
not.

Hopefully that makes sense.

	- Garrett

On Thu, 2010-08-19 at 21:27 +0200, Piotr Jasiukajtis wrote:
> Hi,
> 
> What about path64 suite?  It's easy to build and install on
> OpenSolaris based system:
> 
> 
> cmake-2.8.2
> $ ./configure --prefix=${HOME}/cmake/
> $ gmake
> $ gmake install
> 
> 
> git clone git://github.com/path64/compiler.git
> 
> $ export PATH=/export/home/estibi/cmake/bin:${PATH}
> 
> src$ cmake -DPATH64_ENABLE_HUGEPAGES=OFF -DPATH64_ENABLE_MATHLIBS=OFF
> -DPATH64_ENABLE_OPENMP=OFF -DPATH64_ENABLE_PSCRUNTIME=OFF
> -DPSC_CRT_PATH=/usr/lib/amd64 -DPATH64_ENABLE_PROFILING=OFF
> -DPATH64_ENABLE_TARGETS=x8664 -DCMAKE_BUILD_TYPE=Debug
> -DPATH64_ENABLE_FORTRAN=OFF
> -DCMAKE_INSTALL_PREFIX=/code/pathscale/compiler_obj/ ..
> 
> gmake -j2
> 
> gmake -j2 install
> 
> 
> 
> On Thu, Aug 19, 2010 at 5:59 PM, Antonio Vieiro
> <antonio at antonioshome.net> wrote:
> > Hi all,
> >
> > So here we come to the developer list from the discuss list.
> >
> > We were talking about the LLVM/clang compiler, that promises faster compile
> > times [1], that has been recently awarded with the SIGPLAN Software Systems
> > award [2], and that is able to compile the FreeBSD kernel [3] (but not all
> > BSD ports yet).
> >
> > It seems LLVM 2.8 does not support Sparc 64 (but does support Sparc 32), do
> > that is a problem.
> >
> > Garrett wisely said in the discuss list that
> >
> >> I'm very supportive any effort to support new compilers.  However, we
> >> will not be adding new "shadow" compilers, and we will need to retain
> >> support for the compilers we already have.  I want to enable choice,
> >> without forcing pain and suffering on other people.
> >
> >
> > Cheers,
> > Antonio
> >
> > [1] http://clang.llvm.org/performance.html
> > [2] http://blog.llvm.org/2010/06/llvm-receives-first-ever-sigplan.html
> > [3] http://wiki.freebsd.org/BuildingFreeBSDWithClang
> >
> >
> >
> > -------- Original Message --------
> > Subject: Re: [illumos-Discuss] LLVM / clang anyone?
> > Date: Thu, 19 Aug 2010 08:11:05 -0700
> > From: Garrett D'Amore <garrett at nexenta.com>
> > Organization: Nexenta Systems
> > To: Joerg Schilling <Joerg.Schilling at fokus.fraunhofer.de>
> > CC: Discuss at lists.illumos.org
> >
> > Hey guys, can I recommend that we take the discussion of compiler
> > issues, and other "developer" style technical issues to
> > developer at lists.illumos.org?
> >
> > I like the conversation, but I think it makes sense to keep in the right
> > list.
> >
> >        -Garrett
> >
> > On Thu, 2010-08-19 at 14:49 +0200, Joerg Schilling wrote:
> >>
> >> Jesus Cea <jcea at jcea.es> wrote:
> >>
> >> > -----BEGIN PGP SIGNED MESSAGE-----
> >> > Hash: SHA1
> >> >
> >> > On 19/08/10 13:26, Joerg Schilling wrote:
> >> > > An hour and 1.8 GB later, I just verified that it does not work on
> >> > > Solaris x86.
> >> > > There are hundreds of linker errors related to missing functions.
> >> >
> >> > """
> >> > [root at babylon5 /]# clang --version
> >> > clang version 1.1 (branches/release_27)
> >> > Target: i386-pc-solaris2.10
> >> > Thread model: posix
> >> >
> >> > [root at babylon5 /]# uname -a
> >> > SunOS babylon5 5.10 Generic_142901-12 i86pc i386 i86pc Solaris
> >> > """
> >> >
> >> > My compilation notes don't show anything special. But I am compiling 32
> >> > bits only.
> >>
> >> How did you compile this?
> >>
> >> I just followed the instructions from clang and failed.
> >>
> >> Did you install to /opt/clang? Would you be willing to share your binaries
> >> in
> >> case compilation is not repeatable?
> >>
> >> Jörg
> >>
> >
> >
> >
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.illumos.org
> > http://lists.illumos.org/m/listinfo/discuss
> >
> > _______________________________________________
> > Developer mailing list
> > Developer at lists.illumos.org
> > http://lists.illumos.org/m/listinfo/developer
> >
> 
> 
> 





More information about the Developer mailing list