#15056: Broken glibc on ARM since hrev53006
---------------------------------+----------------------------
Reporter: kallisti5 | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/libroot.so | Version: R1/Development
Resolution: | Keywords: ARM glibc
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
---------------------------------+----------------------------
Comment (by pulkomandy):
You are just using the wrong types for ARM I think. Both "long double" and
"double" are 64bit on ARM, so the longdouble/128bit sources should not be
used there.
You will need either an ARM specific implementation (in arch/arm) or a
generic/longdouble/64bit if there is such a thing in upstream.
I have mentionned this in my commit with the changes (https://git.haiku-
os.org/haiku/commit/src/system/libroot/posix/glibc?id=4b2da9c371d02367607d33358d88ac5996fb5ea0):
{{{
- Do not adjust arm jamfiles, it was wrongly using 80bit long double and
should be fixed to use 64bit instead (which means the double functions
can be used with aliases)
}}}
It seems the "128bit" directory is searched for ARM as well, but it
shouldn't. I probably missed something? Despite being in the "generic"
directory it should be used only for architectures that use this format
for long double.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15056#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.