This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/8765: -msoft-float does not work for mipsel-linux, and probably others


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]