How to build HS with Oracle Studio Compiler on Oracle Linux platform?

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Mar 30 16:55:53 UTC 2015


Hi Sergey,

How are you building Hotspot?
You can try to pass USE_SUNCC=1 parameter and add your CC bin/ directory 
to PATH.

I tried and got:

/ws/ntrunk/builds/trunk/biweekly/build11.0/intel-Linux/install/lib/compilers/ccfe: 
error while loading shared libraries: libelf.so.1: cannot open shared 
object file: No such file or directory

Regards,
Vladimir

On 3/27/15 1:59 PM, Sergey Sprogis wrote:
> Compiler QA team needs to test newly developed  Oracle Studio C++
> Compiler (64-bit version):
>
> /ws/ntrunk/builds/trunk/biweekly/latest/inst/intel-Linux/bin/CC
>
> with latest Hotspot sources (in fastdebug mode) which I downloaded from:
>
> /net/koori.us.oracle.com/onestop/jdk/9/promoted/all/b56/ws
>
> I can build those sources on  solaris-sparcv9 or on solaris-x64  by
> defining ALT_COMPILER_PATH,
> but on linux-x64  it seems does not work  and gcc has been invoked
> instead of CC.
>
> Could anyone give me some suggestions what should be changed in HS build
> environment  to switch from gcc to CC on linux-x64?
>
> Thanks,
>
> Sergey


More information about the hotspot-dev mailing list