public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ports/28872] New: Building glibc for MIPSel single float targets
@ 2022-02-08 11:27 archicharmer at mail dot ru
  2022-02-08 17:55 ` [Bug ports/28872] " joseph at codesourcery dot com
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: archicharmer at mail dot ru @ 2022-02-08 11:27 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28872

            Bug ID: 28872
           Summary: Building glibc for MIPSel single float targets
           Product: glibc
           Version: 2.30
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: ports
          Assignee: unassigned at sourceware dot org
          Reporter: archicharmer at mail dot ru
                CC: carlos at redhat dot com
  Target Milestone: ---

Created attachment 13962
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13962&action=edit
single float MIPSel targets doubtful workaround

When building glibc for a MIPSel target with the next options - hardwared
single-float ISA MIPS>=2 ABI o32 - there will be a problematic files to compile
- sysdeps/mips/{__longjmp.c,setjmp_aux.c} and
sysdeps/unix/sysv/linux/mips/{getcontext.S,setcontext.S,swapcontext.S}

The problem is that when the target, such as r5900 processor I am trying to
build glibc for, supports only single precisions and have no support for double
precisions at all - it do not have such opcodes like l.d, s.d and sqrt.d.

I made some workaround (attached), but it is sooo doubtful... Can you check
whenever this correct or wrong? Anyway, having it built, I am getting the
warnings "float register should be even, was (some uneven value)" from time to
time while compiling with the cross compiler based on such glibc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-03-18 15:01 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 11:27 [Bug ports/28872] New: Building glibc for MIPSel single float targets archicharmer at mail dot ru
2022-02-08 17:55 ` [Bug ports/28872] " joseph at codesourcery dot com
2022-02-08 19:19 ` archicharmer at mail dot ru
2022-02-08 19:34 ` joseph at codesourcery dot com
2022-02-09  3:41 ` archicharmer at mail dot ru
2022-02-09 14:16 ` adhemerval.zanella at linaro dot org
2022-02-09 17:03 ` archicharmer at mail dot ru
2022-02-09 17:33 ` adhemerval.zanella at linaro dot org
2022-02-10  2:43 ` archicharmer at mail dot ru
2022-02-10 11:25 ` adhemerval.zanella at linaro dot org
2022-02-10 19:45 ` archicharmer at mail dot ru
2022-02-10 20:57 ` adhemerval.zanella at linaro dot org
2022-02-11  3:54 ` archicharmer at mail dot ru
2022-02-17 17:09 ` archicharmer at mail dot ru
2022-02-18 12:39 ` adhemerval.zanella at linaro dot org
2022-02-19  8:27 ` archicharmer at mail dot ru
2022-02-22 20:05 ` adhemerval.zanella at linaro dot org
2022-02-23  8:06 ` archicharmer at mail dot ru
2022-02-23 11:57 ` adhemerval.zanella at linaro dot org
2022-02-23 11:57 ` adhemerval.zanella at linaro dot org
2022-03-05 17:43 ` archicharmer at mail dot ru
2022-03-07 11:07 ` adhemerval.zanella at linaro dot org
2022-03-07 16:17 ` archicharmer at mail dot ru
2022-03-07 16:59 ` adhemerval.zanella at linaro dot org
2022-03-18 15:01 ` archicharmer at mail dot ru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).