[PATCH] opcodes: Make i386-init.h depend on i386-tbl.h
H.J. Lu
hjl.tools@gmail.com
Thu Dec 1 18:16:38 GMT 2022
On Thu, Dec 1, 2022 at 9:08 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> On 01.12.2022 17:20, H.J. Lu via Binutils wrote:
> > i386-gen will generate both i386-tbl.h and i386-init.h in one go. Since
> > both i386-tbl.h and i386-init.h depend on i386-gen, it leads to a race
> > condition for i386-gen.
>
> This is not true - the use of a pattern rule was specifically introduced
> (not very long ago) to signal to make the creation of multiple files by
> a single command / rule. What you describe would happen if this rule
> wasn't a pattern one. You are in fact ...
I
> > Make i386-init.h depend on i386-tbl.h to avoid
> > the race condition.
>
> ... proposing to re-introduce the original problem (just in the
> opposite direction) - see commit 79d635fc64ba.
>
> Jan
You are right. I found my mistake. This patch is withdrawn.
Thanks.
--
H.J.
More information about the Binutils
mailing list