digitalmars.D.bugs - [Issue 5331] New: mach format problem
- d-bugmail puremagic.com (33/33) Dec 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5331
- d-bugmail puremagic.com (12/12) Dec 21 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5331
http://d.puremagic.com/issues/show_bug.cgi?id=5331
Summary: mach format problem
Product: D
Version: D2
Platform: x86
OS/Version: Mac OS X
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: alexibu mac.com
While compiling (linking) wxd on OSX 10.6 with dmd2 v2.050
/usr/bin/ranlib: object: ../libwxd.a(Accelerator.o) malformed object
(LC_SEGMENT command 0 filesize field greater than vmsize field)
in dmd/backend/machobj.c :
search for
segment_cmd.vmsize
change :
segment_cmd.vmsize = vmaddr;
segment_cmd.filesize = foffset - segment_cmd.fileoff;
to :
segment_cmd.vmsize = vmaddr;
segment_cmd.filesize = foffset - segment_cmd.fileoff;
if (segment_cmd.filesize > vmaddr)
segment_cmd.vmsize = segment_cmd.filesize;
and then rebuild dmd2
And the problem is fixed, although I doubt that this is the proper way to fix
it.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5331
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |clugdbug yahoo.com.au
Resolution| |FIXED
http://www.dsource.org/projects/dmd/changeset/795
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 21 2010








d-bugmail puremagic.com