Re: [PATCH] Fix C compatibility issue in mini-os

2023-12-15 Thread Florian Weimer
* Jan Beulich: > On 15.12.2023 12:59, Florian Weimer wrote: >> The cc-option check always fails (that, it picks the second option >> unconditionally) if the compiler does not support implicit conversion >> from integers to pointers. Just drop the initialization because it &g

[PATCH] Fix C compatibility issue in mini-os

2023-12-15 Thread Florian Weimer
ges/PortingToModernC> <https://fedoraproject.org/wiki/Toolchain/PortingToModernC> Signed-off-by: Florian Weimer diff --git a/Config.mk b/Config.mk index f2d1f0a..b7c9887 100644 --- a/Config.mk +++ b/Config.mk @@ -21,7 +21,7 @@ endef # of which would indicate an "unrecognized co

Re: -mno-tls-direct-seg-refs support in glibc for i386 PV Xen

2020-05-27 Thread Florian Weimer
* Andrew Cooper: > Oh, so the i386 TLS model relies on the calculation wrapping (modulo 4G) > when the segment limit is 4G, instead of taking a fault? That's about it. > Intel states this is behaviour is implementation specific (SDM Vol3 > 5.3.1) and may fault, while AMD doesn't discuss it at al

-mno-tls-direct-seg-refs support in glibc for i386 PV Xen

2020-05-27 Thread Florian Weimer
I'm about to remove nosegneg support from upstream glibc, special builds that use -mno-tls-direct-seg-refs, and the ability load different libraries built in this mode automatically, when the Linux kernel tells us to do that. I think the intended effect is that these special builds do not use oper