Compilation failure related to Time [Error: time is more than 10,years from present: 1136059200000]

Prakash Rungta prakash.rungta at gmail.com
Thu Jun 23 11:48:00 UTC 2016


Hi David,

Thanks for the response. Is there something that you would want me to try.
I complied couple of times and getting the same error.
GCC version 4.3 i did not get for the RHEL 5 u 11.

Can you help?

Thanks
Prakash Rungta

On Thu, Jun 23, 2016 at 4:23 PM, David Holmes <david.holmes at oracle.com>
wrote:

> On 23/06/2016 6:14 PM, Prakash Rungta wrote:
>
>> Hi David,
>>
>> Please find the answers below. I am using RHEL 5( update 11 )32 bit OS
>> for building the open jdk.
>>
>>
>> *[root at rhel5 ~]# gcc --version*
>> *gcc (GCC) 4.1.2 200807*04 (Red Hat 4.1.2-55)
>>
>
> The build readme says 4.3 is the minimum gcc build.
>
> *[root at rhel5 jdk7u101-b00]# make --version*
>> *GNU Make 3.81*
>>
>
> That should be okay so not clear where the make error arises.
>
> David
>
> Thanks
>> Prakash
>>
>>
>> On Thu, Jun 23, 2016 at 1:30 PM, David Holmes <david.holmes at oracle.com
>> <mailto:david.holmes at oracle.com>> wrote:
>>
>>     What version of make do you have?
>>     What version of gcc do you have?
>>
>>     David
>>
>>     On 23/06/2016 5:53 PM, Prakash Rungta wrote:
>>
>>         Hi ,
>>
>>         I downloaded the openjdk7u101-b00.tar.xz
>>         <
>> https://java.net/projects/openjdk7/downloads/download/openjdk7u101-b00.tar.xz
>> >
>>         and
>>         started compiling . I am getting the following error.
>>
>>         make[5]: Entering directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/jawt'
>>         make[5]:
>>
>> `/root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.awt/jawt/obj/.files_compiled'
>>         is up to date.
>>         make[5]: Leaving directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/jawt'
>>         Done with parallel compiles:
>>         /root/JAVA/jdk7u101-b00/jdk/make/sun/jawt
>>         make[4]: Leaving directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/jawt'
>>         INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>>         INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>>         INFO: STRIP_POLICY=min_strip
>>         INFO: ZIP_DEBUGINFO_FILES=1
>>         make[4]: Entering directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/font'
>>         Makefile:188: Extraneous text after `ifeq' directive
>>         Makefile:213: Extraneous text after `ifeq' directive
>>         Building
>>
>> lib:/root/JAVA/jdk7u101-b00/build/linux-i586/lib/i386/libfontmanager.so
>>         Begin parallel compiles: /root/JAVA/jdk7u101-b00/jdk/make/sun/font
>>         INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>>         INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>>         INFO: STRIP_POLICY=min_strip
>>         INFO: ZIP_DEBUGINFO_FILES=1
>>         make[5]: Entering directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/font'
>>         Makefile:188: Extraneous text after `ifeq' directive
>>         Makefile:213: Extraneous text after `ifeq' directive
>>         /usr/bin/gcc  -O3 -fPIC -DCC_NOEX -W -Wall  -Wno-unused
>>         -Wno-parentheses
>>         -fno-omit-frame-pointer -D_LITTLE_ENDIAN   -fno-strict-overflow
>>         -DHEADLESS
>>         -DNDEBUG -DARCH='"i586"' -Di586 -DLINUX
>> -DRELEASE='"1.7.0-internal"'
>>         -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I.
>>
>> -I/root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/CClassHeaders
>>         -I../../../src/solaris/javavm/export
>>         -I../../../src/share/javavm/export
>>         -I../../../src/share/native/common
>>         -I../../../src/solaris/native/common
>>         -I../../../src/share/native/sun/font
>>         -I../../../src/solaris/native/sun/font
>>           -I/root/freetype-2.4.4/include/
>>         -I/root/freetype-2.4.4/include//freetype2
>>         -I../../../src/share/native/sun/font
>>         -I../../../src/share/native/sun/font/layout
>>         -I../../../src/share/native/sun/awt/image/cvutils
>>         -I../../../src/solaris/native/sun/awt
>>         -I../../../src/share/native/sun/awt/debug
>>         -I../../../src/share/native/sun/java2d/loops
>>         -I../../../src/share/native/sun/java2d/pipe
>>         -I../../../src/solaris/native/sun/java2d
>>         -I../../../src/share/native/sun/java2d
>>
>> -I/root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/../../sun.awt/awt/CClassHeaders
>>         -DLE_STANDALONE  -c -o
>>
>> /root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/obj/IndicRearrangementProcessor.o
>>
>>  ../../../src/share/native/sun/font/layout/IndicRearrangementProcessor.cpp
>>         cc1plus: error: unrecognized command line option
>>         "-fno-strict-overflow"
>>         make[5]: ***
>>
>> [/root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/obj/IndicRearrangementProcessor.o]
>>         Error 1
>>         make[5]: *** Waiting for unfinished jobs....
>>         /usr/bin/gcc  -O3 -fPIC -DCC_NOEX -W -Wall  -Wno-unused
>>         -Wno-parentheses
>>         -fno-omit-frame-pointer -D_LITTLE_ENDIAN    -DHEADLESS -DNDEBUG
>>         -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-internal"'
>>         -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I.
>>
>> -I/root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/CClassHeaders
>>         -I../../../src/solaris/javavm/export
>>         -I../../../src/share/javavm/export
>>         -I../../../src/share/native/common
>>         -I../../../src/solaris/native/common
>>         -I../../../src/share/native/sun/font
>>         -I../../../src/solaris/native/sun/font
>>           -I/root/freetype-2.4.4/include/
>>         -I/root/freetype-2.4.4/include//freetype2
>>         -I../../../src/share/native/sun/font
>>         -I../../../src/share/native/sun/font/layout
>>         -I../../../src/share/native/sun/awt/image/cvutils
>>         -I../../../src/solaris/native/sun/awt
>>         -I../../../src/share/native/sun/awt/debug
>>         -I../../../src/share/native/sun/java2d/loops
>>         -I../../../src/share/native/sun/java2d/pipe
>>         -I../../../src/solaris/native/sun/java2d
>>         -I../../../src/share/native/sun/java2d
>>
>> -I/root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/../../sun.awt/awt/CClassHeaders
>>         -DLE_STANDALONE  -c -o
>>
>> /root/JAVA/jdk7u101-b00/build/linux-i586/tmp/sun/sun.font/fontmanager/obj/LigatureSubstProc.o
>>          ../../../src/share/native/sun/font/layout/LigatureSubstProc.cpp
>>         ../../../src/share/native/sun/font/layout/LEInsertionList.h:89:
>>         warning:
>>         ‘class LEInsertionList’ has virtual functions but non-virtual
>>         destructor
>>         ../../../src/share/native/sun/font/layout/LigatureSubstProc.cpp:
>>         In member
>>         function ‘virtual ByteOffset
>>         LigatureSubstitutionProcessor::processStateEntry(LEGlyphStorage&,
>>         le_int32&, EntryTableIndex)’:
>>
>> ../../../src/share/native/sun/font/layout/LigatureSubstProc.cpp:133:
>>         warning: comparison between signed and unsigned integer
>> expressions
>>         make[5]: Leaving directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/font'
>>         make[4]: *** [library_parallel_compile] Error 2
>>         make[4]: Leaving directory
>>         `/root/JAVA/jdk7u101-b00/jdk/make/sun/font'
>>         make[3]: *** [all] Error 1
>>         make[3]: Leaving directory `/root/JAVA/jdk7u101-b00/jdk/make/sun'
>>         make[2]: *** [all] Error 1
>>         make[2]: Leaving directory `/root/JAVA/jdk7u101-b00/jdk/make'
>>         make[1]: *** [jdk-build] Error 2
>>         make[1]: Leaving directory `/root/JAVA/jdk7u101-b00'
>>         make: *** [build_product_image] Error 2
>>
>>         Thanks
>>         Prakash
>>
>>         On Wed, Jun 22, 2016 at 9:22 PM, Andrew Hughes
>>         <gnu.andrew at redhat.com <mailto:gnu.andrew at redhat.com>>
>>         wrote:
>>
>>             ----- Original Message -----
>>
>>                 On Wed, Jun 22, 2016 at 8:42 AM, Prakash Rungta
>>                 <prakash.rungta at gmail.com
>>                 <mailto:prakash.rungta at gmail.com>> wrote:
>>
>>                     Hi Andrew,
>>
>>                     Thanks for looking into this.
>>
>>                     I downloaded the source code from the  following site
>>
>>                     http://download.java.net/openjdk/jdk7/
>>
>>                     The following was the file name
>>
>>                     openjdk-7-fcs-src-b147-27_jun_2011.zip
>>                     <
>>
>>
>> http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip
>>
>>
>>
>>                 2011, this is ancient history...
>>
>>
>>                     Also i tried to download by setting up the clone
>>                     from mercurial
>>
>>             software at
>>
>>                     the following link
>>
>>                     hg clone http://hg.openjdk.java.net/jdk7/jdk7
>>                     *YourOpenJDK*
>>                     cd *YourOpenJDK*
>>                     sh ./get_source.sh
>>
>>
>>                 I think this is not used any more, but there for
>>                 historical reasons.
>>                 The right place to get the latest version of OpenJDK7
>>                 should be this:
>>
>>                 http://hg.openjdk.java.net/jdk7u/jdk7u/
>>
>>                 I know it's a little bit confusing with so many
>>                 reposotories, but the
>>                 actual pointers are on the wiki (where JDK 7u is the
>>                 only one
>>                 appearing):
>>
>>                 https://wiki.openjdk.java.net/display/jdk7u/Main
>>
>>                 I hope this helps.
>>
>>                 Cheers,
>>                 Mario
>>
>>
>>             Yeah, that's never going to get fixed. For some reason,
>>             Oracle start
>>             a whole new bunch of repositories for updates after the
>>             first release
>>             (7/7u, 8/8u, etc.) which leads to this confusion all the time.
>>
>>             The latest source tarball is:
>>
>>
>>
>> https://java.net/projects/openjdk7/downloads/download/openjdk7u101-b00.tar.xz
>>
>>             SHA256 checksum:
>>
>>
>> e936c7aaece35d82edf9d0b8b98d84e690429421212b86689388ab1bd5db73cd
>>             openjdk7u101-b00.tar.xz
>>             --
>>             Andrew :)
>>
>>             Senior Free Java Software Engineer
>>             Red Hat, Inc. (http://www.redhat.com)
>>
>>             PGP Key: ed25519/35964222 (hkp://keys.gnupg.net
>>             <http://keys.gnupg.net>)
>>             Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596
>> 4222
>>
>>
>>
>>
>>


More information about the jdk7u-dev mailing list