Re: Cannot build OpenJDK8

2013-10-23 Thread Dan Xu
On 10/23/2013 04:40 PM, Weijun Wang wrote: What platform are you building on? What exact error messages have you seen? It will be helpful if you provide these info. If it's SCTP on latest Linux, yes, there is a problem and we've just fixed it. Thanks Max On 10/7/13 8:22 PM, Raahul Kumar wr

Re: RFR 8027059: (sctp) fatal warnings overly restrictive with gcc 4.8.1

2013-10-22 Thread Dan Xu
I was also stuck in this build issue when working with the new gcc in Ubuntu. Thanks for fixing the issue, Chris. The change looks good to me. -Dan On 10/22/2013 11:44 AM, Chris Hegarty wrote: The SCTP native code complies with -Werror. gcc 4.8.1 reports unused parameters as warnings, and th

Re: Build error with GCC4.8 on Fedora19

2013-07-08 Thread Dan Xu
Adding build-dev mailing list. On 07/08/2013 09:54 PM, Yasu wrote: > Sorry, I forgot to attach a patch: > > -- > > diff -r 52454985425d makefiles/CompileNativeLibraries.gmk > --- a/makefiles/CompileNativeLibraries.gmk Mon Jul 08 19:24:22 2013 -0700 > +++ b/makefiles/CompileNativeLibraries.gmk

Re: RFR: 8019229: Build Configuration Fail in Windows Platform

2013-06-27 Thread Dan Xu
D -n "s/^.* for \(.*\)$/\1/p"` I'm able to generate identical spec.gmk files (except for timestamps) with both old and new sed, and using old sed, with or without the fix. /Erik On 2013-06-27 07:53, Dan Xu wrote: Hi All, I updated my cygwin in my windows 7 yesterday. And since the

Build Configure Fail In Windows Platform

2013-06-26 Thread Dan Xu
Hi All, I updated my cygwin in my windows 7 yesterday. And since then, the build configuration failed to work. After investigating the build issue, I find the problem is related with the sed package updated in the cygwin. The latest sed package in cygwin is version 4.2.2-1. If I downgrade my

Re: Find in langtools/makefiles/BuildLangtools.gmk

2013-04-18 Thread Dan Xu
Hi Kurchi, I just refreshed my repository in windows 7 this morning and tried the build. And it finished successfully. Why did it not fail? -Dan On Thu 18 Apr 2013 01:38:12 AM PDT, Erik Joelsson wrote: I've created JDK-8012566 to track the issue. /Erik On 2013-04-18 10:35, Erik Joelsson wr

Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread Dan Xu
, David Holmes wrote: Hi Dan, I don't quite understand the question but all native code building is handled via jdk/makefiles/CompileNativeLibraries.gmk which in turn utilizes the set up from /common/makefiles/NativeCompilation.gmk HTH David On 18/04/2013 9:51 AM, Dan Xu wrote: Adding core

Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread Dan Xu
Adding core-libs-dev On 04/17/2013 04:47 PM, Dan Xu wrote: Hi, As for the sourcecodes for mac platform, it has a special place holding native and java codes for jdk, jdk/src/macosx/native/jobjc. I wonder how those codes are builtand whether its compilation process has any special handling

What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread Dan Xu
Hi, As for the sourcecodes for mac platform, it has a special place holding native and java codes for jdk, jdk/src/macosx/native/jobjc. I wonder how those codes are builtand whether its compilation process has any special handling. Thanks! -Dan

Re: RFR 8009517: Disable fatal compiler warning in the old build

2013-03-08 Thread Dan Xu
On 03/08/2013 08:40 AM, Jonathan Gibbons wrote: On 03/08/2013 08:09 AM, Mike Duigou wrote: On Mar 8 2013, at 07:56 , Alan Bateman wrote: On 08/03/2013 15:49, Mike Duigou wrote: Looks fine to me. Do we have an issue open for restoring warnings to the new build? Mike I don't know if there i

Review Makefile Changes For JDK-8001334 - Remove use of JVM_* functions from java.io code

2013-01-23 Thread Dan Xu
Hi, I have a fix for JDK-8001334 to remove JVM_* functions and replace with direct system calls. It introduces newmake filechangesin IO area especially on Windows platform. Please help review and approve them. Bug: https://jbs.oracle.com/bugs/browse/JDK-8001334 webrev: http://cr.openjdk.java.

How to Pass Javac Option in the New Build

2012-12-20 Thread Dan Xu
Hi, I wonder how I can pass javac options in the new build systemto enable javac warnings. In the old build, I can set environment variables to enable build warnings. For example, JAVAC_LINT_OPTIONS="-Xlint:all", JAVAC_MAX_WARNINGS="true", and JAVAC_WARNINGS_FATAL="false". How can I get simil

Re: Jdk8 Build Failures in Solaris

2012-11-20 Thread Dan Xu
Thank you, Kelly. I got it. -Dan On Tue 20 Nov 2012 05:21:49 PM PST, Kelly O'Hair wrote: They are basically equivalent. -kto On Nov 20, 2012, at 4:03 PM, Dan Xu wrote: Another question about the new build. The latest email mentions that we can launch the new build with the foll

Review Request: 7142921: (fs) Files.probeContentType reports a MIME type of "text/plain" on Ubuntu 11.04

2012-11-20 Thread Dan Xu
Hi, I have a code fix which updates several makefiles in old build and new build. Please help validate them. The webrev is athttp://cr.openjdk.java.net/~dxu/7142921/webrev/. In the fix, I have added five new .java filesand one .c file, whichare used in different platforms. 1) Used only in

Re: Jdk8 Build Failures in Solaris

2012-11-20 Thread Dan Xu
to use another set of commands, % cd common/makefiles % sh ../autoconf/configure % make Are they equivalent? Thanks! -Dan On Tue 20 Nov 2012 03:20:20 PM PST, Dan Xu wrote: Thanks for your suggestions. After adding /java/devtools/sparc/SUNWspro/SS12u1/bin to my path and switching to use the

Re: Jdk8 Build Failures in Solaris

2012-11-20 Thread Dan Xu
se full Solaris developer images. -kto On Nov 20, 2012, at 1:07 AM, Erik Joelsson wrote: For solaris, you need to put the correct compiler in the path. If you are on Oracle network with access to /java/devtools, it can be found at /java/devtools/sparc/SUNWspro/SS12u1/bin. /Erik On 2012-11-20 07:4

Jdk8 Build Failures in Solaris

2012-11-19 Thread Dan Xu
Hi, Today I tried to build jdk8 in Solaris, but I got several different errors. 1) The first error message I got is "make: Fatal error in reader: Makefile, line 30: Unexpected end of line seen". I tried to change my shell from C shell to Bash. And it seems that I solved it in one of my Solaris

Make File Changes For CR4239752

2012-11-08 Thread Dan Xu
Hi, I have a bug fix which needs make file changes, which can be reviewed at http://cr.openjdk.java.net/~dxu/4239752/webrev/. With the above make file changes, I am able to build jdk successfully in old build system. But if I built it using new build system, the build process failed and comp

Re: Make File Changes For CR4239752

2012-10-25 Thread Dan Xu
\ sun.nio.ch.IOStatus \ java.io.FileSystem <- Add this and the backslash on the previous line /Erik On 2012-10-24 13:13, Alan Bateman wrote: On 23/10/2012 19:47, Dan Xu wrote: Thank you for all your good comments. After adding the @GenerateNativeHea

Re: Make File Changes For CR4239752

2012-10-23 Thread Dan Xu
Thank you for all your good comments. After adding the @GenerateNativeHeader annotation, I am able to build the jdk using the new build. But where can I check whether this class is part of the base module in jigsaw? Or should I just use the annotation as the concerns will go away soon? -Dan

Re: Make File Changes For CR4239752

2012-10-22 Thread Dan Xu
your fixes? I think there are some issues with the automatic removing of generated header files when the last native method is removed from a class. /Magnus 23 okt 2012 kl. 00:12 skrev Dan Xu : Hi, I have a bug fix which needs make file changes, which can be reviewed at http://cr.openjdk.java

Make File Changes For CR4239752

2012-10-22 Thread Dan Xu
Hi, I have a bug fix which needs make file changes, which can be reviewed at http://cr.openjdk.java.net/~dxu/4239752/webrev/. With the above make file changes, I am able to build jdk successfully in old build system. But if I built it using new build system, the build process failed and comp