Error placementdelmatch when compiling OpenJDK 11 with Oracle Developer Studio

Erik Joelsson erik.joelsson at oracle.com
Fri Jan 11 00:46:09 UTC 2019


Hello Michael,

Moving this question to build-dev.

At Oracle we successfully build jdk11u using Oracle developer studio 
version 12.4. The OpenJDK Wiki [1] contains a page with known working 
build environments. The most up to date information for a particular set 
of sources is usually the doc/building.md file in the source which also 
lists 12.4 for Solaris. It also lists the exact package versions used at 
Oracle.

I see that you are using studio 12.5. This is untested and so not 
surprising to be causing trouble.

In JDK 12, we switched to 12.6 and it required changes to get it to work.

/Erik

[1] https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms

On 2019-01-08 06:27, Michael Kebe wrote:
> Hi,
>
> I am trying to compile OpenJDK 11 from the hg source (http://hg.openjdk.java.net/jdk-updates/jdk11u), but I get this error:
>
> "..../jdk11u/src/hotspot/share/adlc/arena.cpp", line 60: Error, placementdelmatch: Placement operator new refers to non-placement operator delete.
> "..../jdk11u/src/hotspot/share/adlc/arena.cpp", line 67: Error, placementdelmatch: Placement operator new refers to non-placement operator delete.
> "..../jdk11u/src/hotspot/share/adlc/arena.cpp", line 97: Error, placementdelmatch: Placement operator new refers to non-placement operator delete.
>
> I found this issue https://bugs.openjdk.java.net/browse/JDK-8164651.
> It says in a comment, that is fixed, but I used the bleeding edge from the mercurial repository.
>
> Is the support for Solaris dropped?
>
> Additional info from the configure script:
>
> A new configuration has been successfully created in
> /..../jdk11u/build/solaris-sparcv9-normal-server-release
> using configure arguments '--with-boot-jdk=../jdk-11.0.1'.
>
> Configuration summary:
> * Debug level:    release
> * HS debug level: product
> * JVM variants:   server
> * JVM features:   server: 'cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmci jvmti management nmt parallelgc serialgc services vm-structs'
> * OpenJDK target: OS: solaris, CPU architecture: sparc, address length: 64
> * Version string: 11.0.1-internal+0-adhoc.sysa.jdk11u (11.0.1-internal)
>
> Tools summary:
> * Boot JDK:       java version "11.0.1" 2018-10-16 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)  (at /..../jdk-11.0.1)
> * Toolchain:      solstudio (Oracle Solaris Studio)
> * C Compiler:     Version 5.14 (at /opt/developerstudio12.5/bin/cc)
> * C++ Compiler:   Version 5.14 (at /opt/developerstudio12.5/bin/CC)
>
> Build performance summary:
> * Cores to use:   16
> * Memory limit:   20480 MB
>
>
> Michael
>
>
>
> Hüttenwerke Krupp Mannesmann GmbH, Ehinger Str. 200, D-47259 Duisburg
> Geschäftsführung: Dr. Herbert Eichelkraut, Dr. Gerhard Erdmann, Carsten Laakmann
> Vorsitzender des Aufsichtsrats: Prof. Dr.-Ing. Heinz Jörg Fuhrmann
> Sitz der Gesellschaft: Duisburg
> Eintragung im Handelsregister: Amtsgericht Duisburg HRB 4716
> http://www.hkm.de



More information about the build-dev mailing list