Bug 7039 – Posix 2.057 Makefile error breaking 64bit build

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-11-30T15:54:00Z
Last change time
2011-11-30T21:44:03Z
Assigned to
sascha
Creator
sascha

Comments

Comment #0 by sascha — 2011-11-30T15:54:46Z
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
Comment #1 by sascha — 2011-11-30T16:03:46Z
Comment #2 by braddr — 2011-11-30T21:44:03Z