From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A5F5F3858D1E; Thu, 10 Feb 2022 19:45:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5F5F3858D1E From: "archicharmer at mail dot ru" To: glibc-bugs@sourceware.org Subject: [Bug ports/28872] Building glibc for MIPSel single float targets Date: Thu, 10 Feb 2022 19:45:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: ports X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: archicharmer at mail dot ru X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2022 19:45:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28872 Den changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #10 from Den --- (In reply to Adhemerval Zanella from comment #9) > I am trying to understand which options you use with gcc to target this > chip,=20 > -mabi=3D32 -march=3Dmips2 -mhard-float -msingle-float -mfp32 That's correct. -march=3Dr6000 but yes it is mips2 anyway. > seems to use > 'sw/lw' to > load store doubles. I do not think that if to replace all of the s.d/l.d to sw/lw respectively = will do the trick. Let's summarize. There is no way to somehow split a doubleword to a two words and vice versa conversion/uniting; An extra ABI is required to be specified as to be thought-out. No one will = be handling that because of it's rarity; even if the processor itself, it's mo= del, is not rare; Most of the programs compiled basely on glibc with my patch are providing a SegFault, invalid write access. Patch is a waste, it's conception is wrong. Verdicts are: patch is not worth to be accepated, even to be existing; glibc can not be built for MIPSel targets with single float only; thread closed; invalid (to be as a) bug request. --=20 You are receiving this mail because: You are on the CC list for the bug.=