Internal error: Invalid feature tested: fprof

Petr Sumbera petr.sumbera at oracle.com
Wed Aug 22 07:17:09 UTC 2018


Hi David,

On 22.08.2018 3:28, David Holmes wrote:
> Hi Petr,
> 
> On 22/08/2018 12:03 AM, Petr Sumbera wrote:
>> Hi,
>>
>> I'm building JDK 10 for Solaris and I'm getting following error:
>>
>> gmake[4]: Leaving directory 
>> '/builds/psumbera/userland-openjdk/components/openjdk-10/hotspot/make'
>> lib/JvmFeatures.gmk:91: *** Internal error: Invalid feature tested: 
>> fprof.  Stop.
> 
> fprof was removed during JDK 10 development. Are you using an old script 
> to call configure?

Possibly. This is my build log:

http://strax.us.oracle.com//builds/psumbera/userland-openjdk/components/openjdk-10/build.log

which calls:

"/builds/psumbera/userland-openjdk/components/openjdk-10/jdk-10-dbc0484fa215/configure"

To overcome the issue I have tried:

http://strax.us.oracle.com//builds/psumbera/userland-openjdk/components/openjdk-10/patches/hotspot-fprof.patch_1

But it gives me another issue (probably not related):

ERROR: Build failed for target 'all' in configuration 
'/builds/psumbera/userland-openjdk/components/openjdk-10/build/amd64' 
(exit code 2)
gmake[3]: Entering directory 
'/builds/psumbera/userland-openjdk/components/openjdk-10/jdk-10-dbc0484fa215'

=== Output from failing command(s) repeated here ===
* For target jdk_modules_java.base__the.java.base_batch:
javac: invalid source release: 10
Usage: javac <options> <source files>
use --help for a list of possible options

* All command lines available in 
/builds/psumbera/userland-openjdk/components/openjdk-10/build/amd64/make-support/failure-logs.
=== End of repeated output ===

Thanks!

Petr



More information about the build-dev mailing list