Improved build system
David Holmes
david.holmes at oracle.com
Sun Nov 6 17:12:12 PST 2011
On 5/11/2011 5:08 AM, Kelly O'Hair wrote:
>
> You would be amazed at how many people still use NFS partitions to build in. :^(
Yes, but even if we build locally we _do_ still use NFS for the source
tree and that is not something I expect to change. My "workstation" is a
Solaris box, my build machine is whatever I'm targeting and I do not
expect to have to transfer edits between my workstation and build
machine (I've worked that way in the past when my workstation and build
machine were on different continents, and I don't expect to have to do
it when they are next to each other!)
David
> -kto
>
> On Nov 4, 2011, at 11:43 AM, Jonathan Gibbons wrote:
>
>> For Max's issue, I agree. But if NFS is generally discouraged, as you imply, then you should get at least a warning if you try and use it, independent of Max's response.
>>
>> -- Jon
>>
>>
>>
>> On 11/04/2011 11:18 AM, Fredrik Öhrström wrote:
>>>> Does the build, can the build, check for NFS, and report an error?
>>>>
>>>> Jon
>>>
>>> You are right, if it is relevant to check for NFS, then it is a test that really should be done in configure.
>>>
>>> But we have to wait for Weijun's answer to see if nfs is involved or not.
>>>
>>> //Fredrik
>>>
>>> ----- fredrik.ohrstrom at oracle.com skrev:
>>>
>>>> It is the default Ubuntu Java package.
>>>>
>>>> Just install the openjdk package and you will get iced tea.
>>>> The configure script should remind you what the package name is,
>>>> if you make sure that you have no java in the path.
>>>>
>>>> By the way. You do not have your source and build directory
>>>> on NFS do you? The javacserver uses file system locking
>>>> to establish a single server. And locking does not work
>>>> very well over nfs. (Also building is much slower, if it works.)
>>>>
>>>> //Fredrik
>>>> ----- weijun.wang at oracle.com skrev:
>>>>
>>>>> I don't have an IcedTea. Do I need to build one?
>>>>>
>>>>> -Max
>>>>>
>>>>>
>>>>>
>>>>> On Nov 4, 2011, at 10:26 PM, Fredrik Öhrström
>>>>> <fredrik.ohrstrom at oracle.com> wrote:
>>>>>
>>>>>> Ok, could you please try just:
>>>>>>
>>>>>> ./configure
>>>>>>
>>>>>> and use the default iced-tea?
>>>>>>
>>>>>> //Fredrik
>>>>>>
>>>>>> ----- weijun.wang at oracle.com skrev:
>>>>>>
>>>>>>> On 11/04/2011 08:19 PM, Fredrik Öhrström wrote:
>>>>>>>> Please send me the build.log file....
>>>>>>> Attached.
>>>>>>>
>>>>>>>> You can also try:
>>>>>>>>
>>>>>>>> ./configure --with-boot-jdk=$J6 --disable-javac-multi-core
>>>>>>> --disable-javac-deps --disable-javac-server
>>>>>>>
>>>>>>> This works.
>>>>>>>
>>>>>>> -Max
>>>>>>>
>>>>>>>> ----- weijun.wang at oracle.com skrev:
>>>>>>>>
>>>>>>>>> I just tried this on my Ubuntu 11.04 64-bit system:
>>>>>>>>>
>>>>>>>>> 1. Clone http://hg.openjdk.java.net/build-infra/jdk7
>>>>>>>>> 2. get_source.sh
>>>>>>>>> 3. Download ccache 3.1.6 source and build it
>>>>>>>>> 4. Download the 3 files in common/config and mv one of them
>>>>>>>>> 5. ./configure --with-boot-jdk=$J6
>>>>>>>>> 6. make
>>>>>>>>>
>>>>>>>>> and soon see an error
>>>>>>>>>
>>>>>>>>> Compiling 10 files in package com/sun/source/util
>>>>>>>>>
>>>> /space/repos/build-infra/jdk7/langtools/src/share/classes/com/sun/mirror/util/TypeVisitor.java:52:
>>>>>>>>> error: duplicate class: com.sun.mirror.util.TypeVisitor
>>>>>>>>> public interface TypeVisitor {
>>>>>>>>> ^
>>>>>>>>>
>>>>>>>>> -Max
>>
>
More information about the build-infra-dev
mailing list