This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/8765: -msoft-float does not work for mipsel-linux, and probably others
- From: bart at etpmod dot phys dot tue dot nl
- To: gcc-gnats at gcc dot gnu dot org
- Date: 30 Nov 2002 15:27:52 -0000
- Subject: other/8765: -msoft-float does not work for mipsel-linux, and probably others
- Reply-to: bart at etpmod dot phys dot tue dot nl
>Number: 8765
>Category: other
>Synopsis: -msoft-float does not work for mipsel-linux, and probably others
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 30 07:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Bart Hartgers
>Release: gcc-3.2.1
>Organization:
>Environment:
mipsel-linux
>Description:
When I build a cross compiler for mipsel-linux, the libgcc.a is not built with -msoft-float. This leads to an ABI mismatch (arguments passed in FP regs) between the FP emulation in libgcc, and the code compiled with -msoft-float that tries to use the FP emulation.
>From what I can see, this problem is not limited to just the mipsel-linux target
>How-To-Repeat:
>Fix:
compile libgcc.a with -msoft-float.
I modified config/t-linux, but that's probably not the only file that should be changed.
>Release-Note:
>Audit-Trail:
>Unformatted: