Opened 6 weeks ago
Last modified 5 weeks ago
#5765 closed enhancement
glibc-2.42 — at Version 4
Reported by: | Joe Locash | Owned by: | lfs-book |
---|---|---|---|
Priority: | high | Milestone: | 12.4 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
New minor version.
gcc-15.1.0 will FTBFS because the termio structure is being removed in glibc-2.42. Upstream fix for gcc:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d32ece49d32b00448d967e7dbc6900fb25cbc775
Change History (4)
comment:1 by , 6 weeks ago
comment:2 by , 6 weeks ago
After looking at this a bit, it also looks like we might need to update LLVM for this change too, since libsanitizer is part of llvm as well.
comment:3 by , 6 weeks ago
LLVM-20.1.8 already has the fix. I've not checked earlier versions but I'll update LLVM for BLFS soon.
For GCC we just need a simple sed: sed '/struct_termio_sz/d' -i libsanitizer/sanitizer_common/*
comment:4 by , 6 weeks ago
Description: | modified (diff) |
---|---|
Summary: | Fix for building gcc with glibc-2.42 → glibc-2.42 |
We may also want to pick the https://sourceware.org/bugzilla/show_bug.cgi?id=33227 fix. We don't enable -D FORTIFY_SOURCE by the book but if a user enables it (s)he may hit a FTBFS due to this issue.
Thanks Joe. I'll hold off with this until glibc-2.42 is actually released, but looking at the patches, I wonder if we can do the same thing by unsetting SANITIZER_GLIBC.
According to https://sourceware.org/glibc/wiki/Release/2.42, the new release should be in the next week.