GNU GRUB - Bugs: bug #54811, After running 'configure' with a...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54811: After running 'configure' with a existing cache, bulid fails with '/symbol.h:36:20: error: #if with no expression'
Submitter: | Mark Wutzke <mwutzke> | ||
Submitted: | Tue 09 Oct 2018 10:12:48 PM UTC | ||
Category: | Compilation | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | 2.02 |
Release: | Reproducibility: | Intermittent | |
Planned Release: | None |
Attached Files
file #45172: 0001-grub-Allow-configure-be-re-run-with-cache.patch added by mwutzke (1KiB - application/octet-stream - Proposed patch)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-10-09 | mwutzke | Attached File | - | ![]() |
Added 0001-grub-Allow-configure-be-re-run-with-cache.patch, #45172 |
When 'configure' (2.0.2 and mainline) is re-executed with an existing autoconf config.cache, the generated config.h contains the following:
which then generates a compile time error like the following:
The attached patch resolves this by moving the setup of HAVE_ASM_USCORE in grub_ASM_USCORE, to be outside the AC_CACHE_VAL macro, which is not supposed to have side effects.