Opened 2 years ago
Last modified 2 years ago
#5254 closed defect
systemd-253 runtime issues with GCC 13.1 — at Version 1
| Reported by: | Xi Ruoyao | Owned by: | lfs-book | 
|---|---|---|---|
| Priority: | normal | Milestone: | 12.0 | 
| Component: | Book | Version: | systemd | 
| Severity: | major | Keywords: | |
| Cc: | 
Description (last modified by )
There are several reports (via #lfs-support) complaining systemd runtime issues after GCC 13.1 update.  Pierre and I confirmed them.  My debugging shows (at least a part of) these issues are caused by inappropriate use of the pure attribute for functions.  See:
- https://github.com/systemd/systemd/issues/26395
 - https://github.com/systemd/systemd/pull/27595
 - https://github.com/systemd/systemd/pull/27596/commits/2376a76e
 
We can remove the problematic pure attributes with a sed.  The fix is needed for both LFS and BLFS.
  Note:
 See   TracTickets
 for help on using tickets.
    