Summary: | [4.4] ms_abi -> sysv_abi passing float arguments incorrectly (app-emulation/wine[win64]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Israel G. Lugo <israel.lugo> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug, wyvern5 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR43869 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Test case showing the problem
Patch to fix the problem gcc-4.4.5-msabi.patch |
Description
Israel G. Lugo
2011-01-20 05:01:12 UTC
Created attachment 260330 [details]
Test case showing the problem
$ gcc -o testcase testcase.c
$ ./testcase
$ echo $?
16
$ gcc --version
gcc (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The test case should return 0 for success.
Created attachment 260331 [details, diff] Patch to fix the problem Patch made against upstream GCC trunk, revision 158676. Committed by upstream in revision 159755 with the following message: Author: ktietz Date: Sun May 23 06:52:32 2010 New Revision: 159755 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159755 Log: 2010-05-23 Naarten Lankhorst <mlankhorst@codeweavers.com> PR target/43869 * config/i386/i386.c: Make sure that the correct regparm is passed. Merged by upstream to 4.5 branch in revision 159756. Forgot to mention... My proposal was for this to be backported into a new gcc-4.4.4-r3 or so, to replace the current stable version of gcc-4.4.4-r2. We shouldn't have stable GCC breaking other stable ebuilds. Any progress on this? It'd be nice to be able to build wine. This patch needs to be ported first. Created attachment 264753 [details, diff]
gcc-4.4.5-msabi.patch
http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.4.5/gentoo/41_all_4.4.5-msabi.patch?rev=1.1&view=markup Added to patchset. Released in 4.4.5 p1.3. |