Magnus Ihse Bursie | 21 May 12:59
Picon
Favicon

New log control system entering build-infra

I have just pushed a new way of controlling the make log verbosity to 
the build-infra repository. Hopefully, it will get integrated into the 
build and mainline forests further on.

With this new system, the makefile verbosity can be controlled using the 
LOG variable. LOG can be set to any of "warn", "info", "debug" or 
"trace" (inspired by log4j log levels). The default is "warn".

* LOG=warn will give you just basic information about build process, and 
warnings and errors reported by the tools.

* LOG=info will mimick the old makefiles, that is, print each command as 
it is executed by make. This is helpful for determining tricky errors in 
the source code, where the error message does not clearly state which 
file is problematic.

* LOG=debug will display all shell executions (not only when make 
executes a rule, but also in the internal Makefile logic). This is 
helpful for debugging Makefile problems. If you want to report a problem 
with the new build system, please run with LOG=debug to create a full 
debug log for us. (Note that the log gets extemly large with this 
setting, so it cannot be attached to an email.)

* LOG=trace displays inner workings of make and is probably not useful 
except in extreme cases.

As always, the complete build log is saved to the file build.log in your 
build directory.

The old way of explicitely setting make flags using the VERBOSE variable 
(Continue reading)

david.katleman | 17 May 07:19
Picon
Favicon

hg: jdk8/build/langtools: Added tag jdk8-b38 for changeset 1f224f160aa8

Changeset: a9f547c218d9
Author:    katleman
Date:      2012-05-10 10:25 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/langtools/rev/a9f547c218d9

Added tag jdk8-b38 for changeset 1f224f160aa8

! .hgtags

david.katleman | 17 May 07:17
Picon
Favicon

hg: jdk8/build/jdk: 2 new changesets

Changeset: b5726775b0d8
Author:    katleman
Date:      2012-05-10 10:25 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/jdk/rev/b5726775b0d8

Added tag jdk8-b38 for changeset c45f3509a707

! .hgtags

Changeset: b6f529117521
Author:    katleman
Date:      2012-05-16 22:07 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/jdk/rev/b6f529117521

Merge

david.katleman | 17 May 07:17
Picon
Favicon

hg: jdk8/build/jaxws: Added tag jdk8-b38 for changeset ac1ba3b56775

Changeset: 7f6b44fd3034
Author:    katleman
Date:      2012-05-10 10:25 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/jaxws/rev/7f6b44fd3034

Added tag jdk8-b38 for changeset ac1ba3b56775

! .hgtags

david.katleman | 17 May 07:17
Picon
Favicon

hg: jdk8/build/jaxp: Added tag jdk8-b38 for changeset 5bbe0cb6f2f2

Changeset: f95fdbe525c8
Author:    katleman
Date:      2012-05-10 10:25 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/jaxp/rev/f95fdbe525c8

Added tag jdk8-b38 for changeset 5bbe0cb6f2f2

! .hgtags

david.katleman | 17 May 07:14
Picon
Favicon

hg: jdk8/build/hotspot: 17 new changesets

Changeset: 3c394919ca69
Author:    katleman
Date:      2012-05-10 10:25 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/hotspot/rev/3c394919ca69

Added tag jdk8-b38 for changeset 637c3f5f068f

! .hgtags

Changeset: 36538fd1225e
Author:    amurillo
Date:      2012-05-04 15:26 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/hotspot/rev/36538fd1225e

7166615: new hotspot build - hs24-b10
Reviewed-by: jcoomes

! make/hotspot_version

Changeset: 8bafad97cd26
Author:    jiangli
Date:      2012-05-02 13:21 -0400
URL:       http://hg.openjdk.java.net/jdk8/build/hotspot/rev/8bafad97cd26

7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support.
Summary: Change the _host_klass to be conditionally created embedded instanceKlass field.
Reviewed-by: jrose, coleenp, dholmes

! src/share/vm/classfile/classFileParser.cpp
! src/share/vm/memory/oopFactory.cpp
(Continue reading)

david.katleman | 17 May 07:13
Picon
Favicon

hg: jdk8/build/corba: Added tag jdk8-b38 for changeset b8cbfb31139f

Changeset: 785af00e2827
Author:    katleman
Date:      2012-05-10 10:24 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/corba/rev/785af00e2827

Added tag jdk8-b38 for changeset b8cbfb31139f

! .hgtags

david.katleman | 17 May 07:13
Picon
Favicon

hg: jdk8/build: 2 new changesets

Changeset: b67bdaca36c2
Author:    katleman
Date:      2012-05-10 10:24 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/rev/b67bdaca36c2

Added tag jdk8-b38 for changeset d939bd0ab13c

! .hgtags

Changeset: 8927dd68aee3
Author:    katleman
Date:      2012-05-16 22:06 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/rev/8927dd68aee3

Merge

Erik Joelsson | 16 May 14:32
Picon
Favicon

Review Request: Build-infra update

The build-infra project has been quite productive and would like to push 
an update to the new build in jdk8.

All webrevs can be found here: 
http://cr.openjdk.java.net/~erikj/build-infra-m1.1/ 
<http://cr.openjdk.java.net/%7Eerikj/build-infra-m1.1/>

What's new in this push?
* Makefile conversion is basically done (a few minor exceptions but all 
code is compiled by new makefiles now).
* Solaris ia32 is now as binary compatible with the old build as linux is.
* Build speed is significantly improved since only new makefiles are 
used. (Rough examples for full open build: Linux 7min, Solaris ia32 
7min, Windows 22min)
* Windows still builds and is runnable.
* Several bugfixes.

Why push now, it's not all done yet?
The main driver for this push is the jigsaw project that needs to 
consume the full conversion of the makefiles in order to work on the 
jigsaw build. We also think that people trying out the new build will 
enjoy the speed improvement. Of course we also welcome more feedback on 
the new build system.

/Erik

michael.fang | 15 May 21:02
Picon
Favicon

hg: jdk8/build/jdk: 7157855: jvisualvm.1 not included in binaries

Changeset: 8d665b69ebf1
Author:    mfang
Date:      2012-05-15 11:46 -0700
URL:       http://hg.openjdk.java.net/jdk8/build/jdk/rev/8d665b69ebf1

7157855: jvisualvm.1 not included in binaries
Reviewed-by: katleman, thurka

! make/common/Release.gmk

Pierre Laporte | 12 May 15:52
Picon
Favicon

Solaris-only flag with newer gcc = build failed

Hi OpenJDK people !


I tried to build the latest version of OpenJDK on my machine, but ran into a problem during the compilation.
The error I got was "gcc: error: unrecognized command line option '-mimpure-text'".

I am not a C/C++ programmer but I found out that this option is for Solaris only. It is used at line 70 in the file ./jdk/make/common/shared/Compiler-gcc.gmk
It seems that the problem is related to gcc v4.7, which is the version I used. I found a JIRA on JRuby where a user had the same problem (see "References" below).

I removed that option form the file Compiler-gcc.gmk and the build was successful. Was that the right thing to do or should I expect JVM crashes ?

I did not try to build the package using older versions of gcc, so I suppose that previous versions did tolerate the presence of this flag even if it is useful only on Solaris. Can someone confirm this ?

Sources :

Regards.

--

Pierre Laporte
pierre-Tao/7JhsHhjD8jNyC6rZ2w@public.gmane.org
http://www.pingtimeout.fr/

Gmane