December 08, 2010 [Issue 5331] New: mach format problem | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Alex Burton <alexibu@mac.com> 2010-12-08 03:38:56 PST --- 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: ------- |
December 21, 2010 [Issue 5331] mach format problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | 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 --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-12-21 00:51:23 PST --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation