#4634 closed task (fixed)
ICA: bison differs between first and second build
Reported by: | Bruce Dubbs | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 10.0 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Using objdump -x shows that the second build is linked to libtextstyle.so (gettext)
Solution Move gettext before bison
Possible side effect none found yet
Question What does bison use this for? Actually, it seems it is to add the possibility of translated messages in bison sources. Is it useful? OTOH, moving gettext to be built early does not seem to have adverse effects.
Change History (4)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
From pierre.labastie:
Will try make BISON_LOCALEDIR=/usr/share/locale
Seems to do the trick
Note:
See TracTickets
for help on using tickets.
From pierre.labastie:
Well, there's one possible side effect: gettext hardcodes bison localedir as /tools/share/locale. Reason: gettext's configure use bison --print-localedir, which points to /tools/share/locale since bison has not been rebuilt yet.
Will try make BISON_LOCALEDIR=/usr/share/locale