RFR: 8010908: Images target failes when configured with --disable-zip-debug-info
Tim Bell
tim.bell at oracle.com
Wed Mar 27 16:11:50 UTC 2013
Hi Erik:
> I found the problem and fixed it:
>
> http://cr.openjdk.java.net/~erikj/8010908/webrev.jdk.01/
Looks good.
> /Erik
>
> On 2013-03-27 11:12, Erik Joelsson wrote:
>> I just tried this and the failure reproduces for me. Will investigate.
>>
>> /Erik
>>
>> On 2013-03-27 01:56, Bharadwaj Yadavalli wrote:
>>>
>>> Hi David,
>>>
>>> Thanks for the suggestion.
>>>
>>> On 3/7/2013 7:54 PM, David Holmes wrote:
>>>> 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.
According to my reading of the doc:
http://www.gnu.org/software/make/manual/make.html#index-filter-574
It is ok to have more than one % pattern before the , in a filter or a
filter-out call.
patsubst is the function where only the first % has a special meaning.
Tim
>>>>
>>>> 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
>>>>
>>>
>>> Sadly, that change did not help. I still get the same failure
>>> message while building jdk8/tl (or lambda repo).
>>>
>>> Regards,
>>>
>>> Bharadwaj
>>>
>>>> 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