On Wed, Nov 30, 2022 at 05:28:38PM -0600, A. Wilcox wrote: > > On Nov 30, 2022, at 9:12 AM, Rich Felker wrote: > > > > Nice catch. The references to libc are not valid in __dls2. If they > > were, I would just re-run kernel_mapped_dso() from __dls2b or > > something to get the right relro map, but I think instead we should do > > something like the attached. > > > > Rich > > > > LGTM but needs a # before the ‘define’. > > This explains a weird error I was seeing with gcompat on aarch64. Does this look better (message included)?