[blfs-book] [BLFS Trac] #3564: OpenJDK-1.7.0.7

BLFS Trac trac at linuxfromscratch.org
Wed Sep 26 16:35:50 PDT 2012


#3564: OpenJDK-1.7.0.7
-------------------------+--------------------------------------------------
 Reporter:  fo           |       Owner:  blfs-book@…                   
     Type:  enhancement  |      Status:  new                           
 Priority:  normal       |   Milestone:  current                       
Component:  BOOK         |     Version:  SVN                           
 Severity:  normal       |    Keywords:                                
-------------------------+--------------------------------------------------

Comment(by fo):

 Replying to [comment:2 dj@…]:

 DJ, thanks for the comments , and apologies for this late response. As I
 wrote some days ago, I was busy with LFS "7.2-svn" build, so stopped all
 other related activities.
 [[BR]][[BR]]
 > Cool! Glad that the instructions still work as advertised.
 [[BR]]
 Almost, but strictly, they need modifications, as I said before. One of
 the following would do it:

 a. Stating clearly that the following packages

 corba.tar.gz hotspot.tar.gz jaxp.tar.gz jaxws.tar.gz jdk.tar.gz
 langtools.tar.gz openjdk.tar.gz

 which are hosted by anduin, are no more "good", and "make" will download
 the correct ones.

 b. Removing

 corba.tar.gz hotspot.tar.gz jaxp.tar.gz jaxws.tar.gz jdk.tar.gz
 langtools.tar.gz openjdk.tar.gz

 anduin downloads and related cp -v ... commands associated with them, and,
 again, comment that "make" will download them.

 In both cases, I believe that dependencies will change, perhaps wget or
 curl will be necessary. Also, some comments about storing them locally, if
 the user is planning to build it again, is recommendable.

 A side effect is that the build process will look simpler.
 [[BR]][[BR]]
 >  I'd be interested to see the test results as those have changed
 greatly.
 [[BR]]
 I will try (probably tomorrow) to run the tests.
 [[BR]][[BR]]
 > As to the difference in size, I follow the distro-pkg-dev list and know
 that the debug flags are global now (this was changed upstream in
 OpenJDK), but I do not know what the new switch is in IcedTea's configure
 script to control it
 [[BR]]
 Before I run the tests, I will try to figure this out.
 [[BR]][[BR]]
 > (been exceptionally busy lately). After the fact, you should be able to
 use the normal strip commands to get the size back down to expected
 values.
 [[BR]]
 Thank you very much indeed! I have done it:
 [[BR]][[BR]]
 # find /opt/OpenJDK-1.7.0.7 -type f -exec strip --strip-debug '{}' ';'
 [[BR]][[BR]]
 $ du -sch /opt/OpenJDK-1.7.0.*[[BR]]
 131M    /opt/OpenJDK-1.7.0.7                [stripped][[BR]]
 455M    /opt/OpenJDK-1.7.0.7-big          [original][[BR]]
 585M    total[[BR]]

 Comparing with 247M of /opt/OpenJDK-1.7.0.5, it is probably better to
 strip after it is checked to work properly, than build without debug? Or
 it is more economic in some senses building without the debug symbols?

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3564#comment:4>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list