Summary: OS X Mach-O: indirect symbol table offset is past end
Version: D1 & D2
OS/Version: Mac OS X
--- Comment #0 from Robert Clipsham <rob...@octarineparrot.com> 2011-06-07
20:00:15 BST ---
Create a D file, eg:
$ dmd -c test.d -oftest.o
$ otool -I test.o
(that's a capital i if in case of the font being bad).
The output will be something like:
indirect symbol table offset is past end of file
An object file as outputted by gcc or clang does not display the same issue.
After linking the D version does not either. Changing backend/machobj.c:994 to
use foffset -1 fixes the issue and does not seem to cause any side effects,
given my complete lack of knowledge about the file format I thought I better
report this for a proper fix.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------