diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-01-22 14:59:49 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-19 23:53:34 +0000 |
commit | 1fbe8579839ee1a5164ba9738e61a7a1f7c9e4fa (patch) | |
tree | 39a4910d066d3ba026f7b67e5dd1d9bac6232c5b /meta/recipes-kernel | |
parent | 3424b09737e460a350d75989e1a28d52bf15cc7b (diff) | |
download | poky-1fbe8579839ee1a5164ba9738e61a7a1f7c9e4fa.tar.gz |
libc6: improve reproducibility
Building various libraries (libc6, libc6-pic, libc6-staticdev, libc6-dbg, ...)
can be non-deterministic because they may be built with two different versions
of intl/plural.c. in two otherwise identical builds. We may or may not re-generate
the file plural.c from the file plural.y, based on bison being installed or not
and based on mtimes of those two files, as the Makefile contains:
plural.c: plural.y
$(BISON) $(BISONFLAGS) $@ $^
If the above rule does not fire, we use a "fallback" plural.c, otherwise
we use plural.c re-generated from plural.y.
The fix is to always require bison to be installed and unconditionally
re-generate plural.c. (This is achieved by touching plural.y).
[YOCTO #12291]
(From OE-Core rev: 112c6e77a81ec748cd116d1088dae2a1f59643f5)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b79eeb68c6ad7c92a3e54c6f97a8bf49f0098206)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions