Re: RFR(M/L) : 8209611 : use C++ compiler for hotspot tests

2018-08-24 Thread Igor Ignatyev
ok, it worked just fine, here is the final diff for TestFilesCompilation.gmk: > diff -r 028076b2832a -r caca95a834e3 make/common/TestFilesCompilation.gmk > --- a/make/common/TestFilesCompilation.gmkThu Aug 16 16:28:03 2018 -0700 > +++ b/make/common/TestFilesCompilation.gmkFri Aug 24 14:12:

Re: RFR(M/L) : 8209611 : use C++ compiler for hotspot tests

2018-08-24 Thread Igor Ignatev
Hi Erik, Unfortunately, just adding .cpp files to file list isn’t enough, as I mentioned in one of my previous emails[1], initially I did exactly that and linux-slowdebug build fails b/c c-linker was be used for .o files produced by cpp-compiler. I guess something like [2] might work. I'll pla

Re: How to build hotspot jtreg test JNI with specific CFLAGS?

2018-08-24 Thread Severin Gehwolf
Hi Erik, On Thu, 2018-08-23 at 07:39 -0700, Erik Joelsson wrote: > Hello Severin, > > This does indeed look like the correct fix and I agree that the > OPTIMIZATION level should be customizeable like this for test > libraries. Great! The fix for JDK-8208091[1] will include this change. I'm goin