Thread overview
[Issue 7039] New: Posix 2.057 Makefile error breaking 64bit build
Nov 30, 2011
Sascha Heylik
Dec 01, 2011
Sascha Heylik
Dec 01, 2011
Brad Roberts
November 30, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7039

           Summary: Posix 2.057 Makefile error breaking 64bit build
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: sascha@heylik.at


--- Comment #0 from Sascha Heylik <sascha@heylik.at> 2011-11-30 15:54:46 PST ---
The Phobos makefile (posix.mak) does not specify the architecture for building druntime, which defaults to 32bit even on if Phobos is being compiled for 64bit, the result is a broken lib.

My fixed Makefile passes the MODEL=64 parameter down to druntime's make process, resulting in nice and working builds on both, 32 and 64bit systems. I will post it in just a sec.

Happy hacking on 64 bit systems :P
- Sascha Heylik

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



--- Comment #1 from Sascha Heylik <sascha@heylik.at> 2011-11-30 16:03:46 PST ---
Fix: https://github.com/D-Programming-Language/phobos/pull/339

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


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr@puremagic.com
         Resolution|                            |FIXED


--- Comment #2 from Brad Roberts <braddr@puremagic.com> 2011-11-30 21:44:03 PST ---
https://github.com/D-Programming-Language/phobos/commit/09c57ffe7580359be33712ddcec7e56e5581b78b

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------