Need reviewer: Misc fixes related to binary file checks

This started out as fixing a rebase bug but we also needed to verify that our libraries were built properly, so the binary_file_verification define was created to do this. The checks are not nailed down yet, but I need to get the calls to the binary_file_verification
define in place first.

Initially the plan was to do this check when the j2sdk-image was created, but it seemed to make sense to verify the binaries where they are created and as they get imported in so we can catch
problem binaries as soon as possible.

6413588: Add 'ldd -r' and 'dump -Lv' checks to all .so files delivered in the JDK
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
7000995: Add check in makefiles to verify that msvcp100.dll is NOT used

http://cr.openjdk.java.net/~ohair/openjdk7/jdk7-build-binary_file_verification/webrev/

On Windows we currently want to make sure the DLL can have a Dynamic base, and that it
is NX compatible (DEP).
On Solaris and Linux, there is mostly just runs of ldd, nm, and dump/ readobj, the specific
things we want to check for may take a little more time to nail down.
This binary_file_verification also provides some details in the build log with regards to the library dependencies, which may be of use someday in tracking down dependency issues.

-kto

Reply via email to