Solaris compilation troubles
Tom Rodriguez
tom.rodriguez at oracle.com
Wed Mar 26 18:40:27 UTC 2014
It looks like the solaris build just isn’t tested with USE_GCC. The problem is probably this bit in dtrace.make:
ifdef USE_GCC
dtraceCheck:
$(QUIETLY) echo "**NOTICE** Dtrace support disabled for gcc builds"
else
Given how dtrace.make is used it needs to have an empty dtrace_gen_headers rules so it doesn’t barf. The TYPE=CORE part is probably broken too for the same reason but I don’t know if CORE is dead yet or not. If you get it working you might send mail to the hotspot-dev alias in case they want to fix it.
tom
On Mar 26, 2014, at 9:52 AM, Ingo Korb <ingo.korb at tu-dortmund.de> wrote:
>> The expr message is probably your problem and those are mostly for
>> figuring out compiler versions. Do you have g++ installed?
>
> Sure:
>
> === cut here ===
> korb at ls12pc22:~/graaltest/graal$ g++ -v
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/lto-wrapper
> Target: i386-pc-solaris2.11
> Configured with:
> /builds/hudson/workspace/nightly-update/build/i386/components/gcc45/gcc-4.5.2/configure
> CC=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/cc
> CXX=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/CC
> --prefix=/usr/gcc/4.5 --mandir=/usr/gcc/4.5/share/man
> --bindir=/usr/gcc/4.5/bin --libdir=/usr/gcc/4.5/lib
> --sbindir=/usr/gcc/4.5/sbin --infodir=/usr/gcc/4.5/share/info
> --libexecdir=/usr/gcc/4.5/lib --enable-languages=c,c++,fortran,objc
> --enable-shared --with-gmp-include=/usr/include/gmp
> --with-mpfr-include=/usr/include/mpfr --without-gnu-ld
> --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g
> -O2 '
> Thread model: posix
> gcc version 4.5.2 (GCC)
> === cut here ===
>
> The expr appears to be a false lead though, it is caused by a check of
> $(COMPILER_REV_NUMERIC) in make/solaris/makefiles/adlc.make which is
> executed even though the selected compiler isn't sparcWorks, so that
> variable is not defined.
>
> -ik
>
>
More information about the graal-dev
mailing list