https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84237
Bug ID: 84237 Summary: [8 Regression] xen build faiulre only zero initializers are allowed in section '.bss.page_aligned.const' Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- const char __attribute__((__section__(".bss.page_aligned.const"), __aligned__(4096))) zero_page[4096]; is rejected starting with r251602. I think if the user explicitly requests it to be put into a bss section, we should do it even when it is read-only.