Patch for new build to work in jigsaw forest

Erik Joelsson erik.joelsson at oracle.com
Wed Feb 6 06:16:21 PST 2013



On 2013-02-06 15:02, Chris Hegarty wrote:
> On 06/02/2013 13:06, Alan Bateman wrote:
>> On 06/02/2013 12:48, Erik Joelsson wrote:
>>> This patch makes the new build compile in the jigsaw forest. It still
>>> only produces legacy images. Things that needed to be fixed:
>>>
>>> Langtools
>>> * excludes for modules in bootstrap javac
>>> * additions to genstubs
>>>
>>> Bdb
>>> * Run bdb configure from our configure script
>>> * Call bdb makefile
>>> * Support building with external libdb
>>>
>>> JDK
>>> * Import bdb lib into jdk
>>> * Add bdb cflags to libjava compilation
>>> * Copy mapfile-vers file from old build location to new build location
>>>
>>> http://cr.openjdk.java.net/~erikj/jigsaw/webrev.bdb-support.01/
>>>
>>> I'm not a committer in the jigsaw project, so posting this here. Next
>>> I will see if I can convert the post modularization procedures to the
>>> new build.
>>>
>>> /Erik
>> This is great and wrapping the BDB build seems the right approach.
>
> Yes, I agree with this approach also.
>
> I can't tell for sure, but it looks like PersistentTreeMap can still 
> be compiled and linked against an libdb on the system. Which we 
> supported in the old build too. This still works, right?
>
> -Chris.
>
It works for me on my machine at least, after installing libdb-4.6-dev 
and supplying --with-libd=system to our configure. This will prevent bdb 
from compiling and adjust CFLAGS for libjava accordingly.

/Erik
>> One thing we need to do is sync up jigsaw/jigsaw (it's currently at
>> b67), do you want us to get it updated before pushing these changes?
>>
>> -Alan



More information about the jigsaw-dev mailing list