This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] 18969 - multiple string test failures due to missing locale dependencies


On 10/12/2015 06:43 PM, Mike Frysinger wrote:

> so it creates one dep per locale.  the rule for processing these targets:
> $(addprefix $(common-objpfx)localedata/,$(CTYPE_FILES)): %: \
>   ../localedata/gen-locale.sh \
>   $(common-objpfx)locale/localedef \
>   ../localedata/Makefile \
>   $(addprefix ../localedata/charmaps/,$(CHARMAPS)) \
>   $(addprefix ../localedata/locales/,$(LOCALE_SRCS))
>     @$(SHELL) ../localedata/gen-locale.sh $(common-objpfx) \
>           '$(built-program-cmd-before-env)' '$(run-program-env)' \
>           '$(built-program-cmd-after-env)' $@; \
>     $(evaluate-test)
> 
> so it generates one locale per invocation.  it looks correct to me.
> 
> then again, it's fairly easy to test: just go into one of these dirs,
> delete the locale output, and run `make -j`.  see if any of the commands
> are repeated.

I still see occasional crashes in the localedata tests.  Your âmake -jâ
check does not work because the action in the rule above is prefixed
with â@â.  Can we remove that, so that we may end up with more evidence
of unsynchronized, parallel execution?

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]