Summary: OS X Mach-O: indirect symbol table offset is past end
                    of file
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Robert Clipsham <> 2011-06-07 
20:00:15 BST ---
Create a D file, eg:
// test.d
void foo(){}
$ dmd -c test.d -oftest.o
Use otool:
$ 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:
------- You are receiving this mail because: -------

Reply via email to