Hi David,
In Solaris Userland we set by default NM=/usr/gnu/bin/nm.
https://github.com/oracle/solaris-userland/blob/master/make-rules/configure.mk#L164
configure: WARNING: Ignoring value of NM from the environment. Use
command line variables instead.
checking for nm... /usr/gnu/bin/nm
checking for gnm... /usr/bin/gnm
Forcing it back to /usr/bin/nm resolves the issue!
Thanks!
Petr
On 06.09.2018 23:23, David Holmes wrote:
Hi Petr,
On 7/09/2018 4:28 AM, Petr Sumbera wrote:
Hi,
I'm seeing this with sparc build (on Solaris trunk). On intel it
builds just fine.
gmake[4]: Entering directory
'/builds2/psumbera/userland-openjdk/components/openjdk-11/jdk-11-76072a077ee1/make/gensrc'
Compiling 89 properties into resource bundles for java.desktop
Compiling 2986 files for java.base
gmake[4]: Leaving directory
'/builds2/psumbera/userland-openjdk/components/openjdk-11/jdk-11-76072a077ee1/make/gensrc'
/usr/gnu/bin/nm: jvmciCompilerToVMInit.o: no group info for section
What toolchain are you trying to use here? We use nm that comes from
Solaris Studio 12u4 (using an internal devkit).
David
'.group%__1cRResourceHashtable4ClnGHandle_cOprimitive_hash4Cl_6FrkTA_I_cQprimitive_equals4Cl_6Frk05_b_ujWeBnLResourceObjPallocation_type_eHnKMemoryType__Dget6kMrkl_pn0A__'
/usr/gnu/bin/nm: jvmciCompilerToVMInit.o: no group info for section
'.group%__1cRResourceHashtable4ClnGHandle_cOprimitive_hash4Cl_6FrkTA_I_cQprimitive_equals4Cl_6Frk05_b_ujWeBnLResourceObjPallocation_type_eHnKMemoryType__Dget6kMrkl_pn0A__'
/usr/gnu/bin/nm: jvmciCompilerToVMInit.o: Bad value
gmake[4]: *** [lib/JvmMapfile.gmk:142:
/builds2/psumbera/userland-openjdk/components/openjdk-11/build/sparcv9/hotspot/variant-server/libjvm/symbols-objects]
Error 1
Anyone seen this?
Thanks,
Petr