configure using --disable-zip-debug-info

David Holmes david.holmes at oracle.com
Fri Mar 8 00:54:19 UTC 2013


I think this is a bug in Images.gmk:

ifneq ($(OPENJDK_TARGET_OS),windows)
     ALL_BIN_LIST := $(filter-out %.debuginfo %.diz, $(ALL_BIN_LIST))
else

You can only have a single wildcard in a pattern so I don't think that 
expands the way the author intended.

Can you try editing jdk/makefiles/Images.gmk and changing the above to:

ifneq ($(OPENJDK_TARGET_OS),windows)
     ALL_BIN_LIST := $(filter-out %.debuginfo, $(ALL_BIN_LIST))
     ALL_BIN_LIST := $(filter-out %.diz, $(ALL_BIN_LIST))
else

Thanks,
David

On 8/03/2013 3:32 AM, Bharadwaj Yadavalli wrote:
> I pulled down jdk/tl tree and configured it using the following command
> line:
>
> sh configure --with-debug-level=slowdebug
> --with-boot-jdk=/path/to/installed/jdk7 --disable-zip-debug-info
>
> and built by running
>
> make all
>
> I get the following build error
>
> Ignoring (other) javax.xml.ws.wsaddressing.package-info : <any>
>     ClassSymbol <any>
> Creating images/lib/ct.sym
> gmake[2]: *** No rule to make target
> `/path/to/jdk8/workspace/build/linux-x86_64-normal-server-slowdebug/images/_strip_jre/bin/jarsigner.debuginfo.stripped',
> needed by `jre-image'.  Stop.
> gmake[2]: *** Waiting for unfinished jobs....
> gmake[1]: *** [images] Error 2
> make: *** [images-only] Error 2
>
> The build does not have any problems if I do not specify
> --disable-zip-debug-info
>
> Do I need to specify some other option along with --disable-zip-debug-info?
>
> Thanks for your help,
>
> Bharadwaj
>



More information about the build-dev mailing list