www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 2088] New: GDC generates dozens of errors of the form "indirect jmp without `*'" when compiling anything at all

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2088

           Summary: GDC generates dozens of errors of the form "indirect jmp
                    without `*'" when compiling anything at all
           Product: DGCC aka GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: aronnax umd.edu


When I compile any D program using GDC, the compiler spits out dozens of the
following messages:
/var/folders/gt/gtRt+RQ6H9ermdXw0qjcU++++TI/-Tmp-//ccqqJgKN.s:4579:indirect jmp
without `*'

However, the compiler is still exiting cleanly and generating runnable code.

I am using dgcc(subversion)-gcc4.1.2 on Mac OS X 10.5.2.


-- 
May 09 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2088





------- Comment #1 from afb algonet.se  2008-05-09 12:13 -------
This is a known issue when using FSF GCC on Darwin, when using Apple's GCC it
doesn't issue the warnings so there might be a patch to bring over from it...


-- 
May 09 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2088


fawzi gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fawzi gmx.ch




------- Comment #2 from fawzi gmx.ch  2008-05-10 03:21 -------
This is a known issue due to cctools version mismatch, that happens also when
compiling other gcc compilers (g95, gpc), basically the sintax for the indirect
jump was changed (google "indirect jmp without `*' cctools).

The clean solution would be to install the correct version of cctools and use
it when compiling gdc.
On the other hand it is just a warning, and you should be able to safely ignore
it.

Anyway I guess this bug is not a gdc bug,but a note about it in the
installation instruction for gdc would be nice.

Fawzi


-- 
May 10 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2088





------- Comment #3 from aronnax umd.edu  2008-05-14 11:42 -------
I'm not a guru on gcc internals, so what I would really need is explicit
instructions (perhaps in the INSTALL file) for what version of gcc to download
and how to compile dgcc in order to fix this problem.


-- 
May 14 2008