Re: Cannot link against memset_with_concurrent_readers_sparc.cpp

2017-06-07 Thread John Paul Adrian Glaubitz
On Wed, Jun 07, 2017 at 01:42:47PM +0200, Mikael Gerdin wrote: > I think the problem is that your build configuration is ZERO but the file > memset_with_concurrent_readers_sparc.cpp is in the cpu/sparc directory and > will only be visible if building a native (non-zero) SPARC config. That's a *ver

Re: Cannot link against memset_with_concurrent_readers_sparc.cpp

2017-06-07 Thread Mikael Gerdin
Hi, On 2017-06-07 13:05, John Paul Adrian Glaubitz wrote: On Wed, Jun 07, 2017 at 12:05:26PM +0200, Erik Joelsson wrote: Can you check the contents of this file to verify that the object file in question is actually missing: /<>/build-zero/hotspot/variant-zero/libjvm/objs/_BUILD_LIBJVM_objectf

Re: Cannot link against memset_with_concurrent_readers_sparc.cpp

2017-06-07 Thread John Paul Adrian Glaubitz
On Wed, Jun 07, 2017 at 12:05:26PM +0200, Erik Joelsson wrote: > Can you check the contents of this file to verify that the object file in > question is actually missing: > > /<>/build-zero/hotspot/variant-zero/libjvm/objs/_BUILD_LIBJVM_objectfilenames.txt Yes, it's missing, see [1]. Adrian > [

Re: Cannot link against memset_with_concurrent_readers_sparc.cpp

2017-06-07 Thread Erik Joelsson
Hello John, If the cpp file is compiled for libjvm.so, the object file should automatically end up on the link command line. I found your build log in the original email. The link command line is: /usr/bin/sparc64-linux-gnu-g++-6 -Wl,-z,defs -Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro -shared -X

Re: Cannot link against memset_with_concurrent_readers_sparc.cpp

2017-06-07 Thread John Paul Adrian Glaubitz
On Wed, Jun 07, 2017 at 11:29:39AM +0200, Severin Gehwolf wrote: > > Does anyone who is more familiar with the build system have an idea > > where to look? > > This is likely a question for build-dev (CC). They might have some > pointers. Ok, thanks, I'll ask over there. Adrian -- .''`. John

Re: Cannot link against memset_with_concurrent_readers_sparc.cpp

2017-06-07 Thread Severin Gehwolf
Hi, On Wed, 2017-06-07 at 02:10 +0200, John Paul Adrian Glaubitz wrote: > Hi! > > I'm still working on fixing OpenJDK-9 on Linux/sparc64 and I'm currently > running into something which should be a trivial Makefile issue which > is a linker problem (see for the paste below, full log in [1]). > >