Jump to page: 1 25  
Page
Thread overview
[Issue 5570] New: 64 bit C ABI not followed for passing structs and complex numbers as function parameters
Feb 13, 2011
Walter Bright
Dec 16, 2011
Leandro Lucarella
Dec 16, 2011
Leandro Lucarella
Dec 16, 2011
Mathias Baumann
Dec 16, 2011
Damian Ziemba
Feb 01, 2012
Trass3r
Feb 01, 2012
Graham
Apr 10, 2012
Nick Sabalausky
Apr 10, 2012
Mihail Strashun
Apr 10, 2012
Jonathan M Davis
Apr 11, 2012
Mihail Strashun
Apr 11, 2012
Jonathan M Davis
Apr 16, 2012
Leandro Lucarella
Apr 25, 2012
Johan Hernandez
May 03, 2012
James Miller
May 07, 2012
Johan Hernandez
May 23, 2012
Don
May 31, 2012
Leandro Lucarella
May 31, 2012
Walter Bright
Jun 17, 2012
klickverbot
Jun 20, 2012
klickverbot
Jun 20, 2012
klickverbot
Jun 25, 2012
Fawzi Mohamed
Jun 26, 2012
klickverbot
Jun 26, 2012
Iain Buclaw
Jun 26, 2012
klickverbot
Jun 26, 2012
Walter Bright
Jun 27, 2012
Iain Buclaw
Jul 30, 2012
Don
Oct 13, 2012
Adrian Matoga
Oct 22, 2012
Andrej Mitrovic
Dec 30, 2012
David Nadlinger
Feb 06, 2013
Marco Leise
Jun 06, 2013
Martin Nowak
Jun 06, 2013
David Nadlinger
Sep 22, 2013
Andrej Mitrovic
February 13, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5570

           Summary: 64 bit C ABI not followed for passing structs and
                    complex numbers as function parameters
           Product: D
           Version: D1 & D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bugzilla@digitalmars.com


--- Comment #0 from Walter Bright <bugzilla@digitalmars.com> 2011-02-13 15:08:20 PST ---
They are always pushed on the stack rather than sometimes being passed in registers. Haven't got to fixing this yet.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Leandro Lucarella <llucax@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |llucax@gmail.com
           Severity|normal                      |critical


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5570



--- Comment #1 from Leandro Lucarella <llucax@gmail.com> 2011-12-16 04:20:00 PST ---
Any ETA for a fix?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Mathias Baumann <mathias.baumann@sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathias.baumann@sociomantic
                   |                            |.com


--- Comment #2 from Mathias Baumann <mathias.baumann@sociomantic.com> 2011-12-16 06:13:08 PST ---
This bug prevents us from switching to 64bit. We really would appreciate a fix.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Damian Ziemba <nazriel6969@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nazriel6969@gmail.com


--- Comment #3 from Damian Ziemba <nazriel6969@gmail.com> 2011-12-16 06:45:46 PST ---
Because of this bug, you can not use wxD with DMD64.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 17, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5570


siegelords_abode@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |siegelords_abode@yahoo.com


--- Comment #4 from siegelords_abode@yahoo.com 2011-12-17 11:49:28 PST ---
See also http://d.puremagic.com/issues/show_bug.cgi?id=6348. It's plain impossible to use C libraries with value semantics for structs on 64 bits.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Trass3r <mrmocool@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmocool@gmx.de


--- Comment #5 from Trass3r <mrmocool@gmx.de> 2012-02-01 17:08:14 CET ---
So should we raise this to 'blocker'?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Graham <grahamc001uk@yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grahamc001uk@yahoo.co.uk


--- Comment #6 from Graham <grahamc001uk@yahoo.co.uk> 2012-02-01 14:42:02 PST ---
Issue 6772 http://d.puremagic.com/issues/show_bug.cgi?id=6772
"Cannot pass cfloat argument type to a function on x86_64" is related or
possible duplicate.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Nick Sabalausky <cbkbbejeap@mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbejeap@mailinator.com
           Severity|critical                    |blocker


--- Comment #7 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2012-04-09 22:12:13 PDT ---
"So should we raise this to 'blocker'?"

I would argue "yes" since the *only* way to work around it if you can't modify the C side is to just not use 64-bit D. So it is a blocker for 64-bit D. (And AIUI, not all 64-bit systems are multilib, so even switching to 32 isn't always going to be an option.) Plus, there's...how many people *right here* have identified it as blocking them?

Fuck, I'm just going to go ahead and raise it to blocker. If anyone has a problem with that they can change it back. Either way, the important thing is for this to get fixed, not to worry about its proper classification. So I don't know why I even wrote all this...Oh well... ;)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5570


Mihail Strashun <m.strashun@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.strashun@gmail.com


--- Comment #8 from Mihail Strashun <m.strashun@gmail.com> 2012-04-10 06:04:56 PDT ---
If bug preventing almost any x64 D code interconnecting with C libs is not a blocker, I can hardly imagine what is.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
« First   ‹ Prev
1 2 3 4 5