[LLVMdev] Compiling llvm and Clang in solaris 10

Stefan Teleman stefan.teleman at gmail.com
Tue Jun 25 08:42:40 PDT 2013


On Tue, Jun 25, 2013 at 10:50 AM, Jorge Rodrigues <skeept at gmail.com> wrote:
> Is there anything I can do regarding the linker issue? The solaris linker is
> in /usr/ccs/bin/ld but I think llvm wants to use the gnu linker. gcc in my
> system was compiled with the solaris linker.

The current Solaris implementation in
${top}/tools/clang/lib/Driver/Tools.cpp has all the GCC and
linker-related machinery hardcoded.

I have a number of patches for Solaris which would make all the linker
stuff work much better (and would give one the option to choose
between different linkers at link time) but I haven't gotten the green
light from Oracle to make these patches public yet - i'm waiting on
the internal approval chain to complete.

We *really* want to contribute Solaris support (Intel and SPARC) to
clang/llvm, and these legal approvals are not only required, but also
in everyone's best interests (not just our own).

i'm waiting for legal approvals at this point, and i don't have a
better solution handy at the moment. The only thing i can offer is
"stay tuned, we're working on it". :-)

--Stefan

-- 
Stefan Teleman
KDE e.V.
stefan.teleman at gmail.com



More information about the llvm-dev mailing list