[Issue 747] undefined reference to `.LDASM1'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 8 10:45:46 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=747



--- Comment #5 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-08-08 10:45:44 PDT ---
asm_jmp_02_A.d and asm_jmp_02_B.d seem to build OK here - GDC 0.25.
asm_jmp_02_C.d, however fails to build.

After a little bit of debugging, it seems to be a quirk of GCC's backend,
rather than GDC's problem.

Take the following C/C++ program (based on your original testcase):

int main() {
    asm("jmp .LDASM1");
    return 1;
    asm(".LDASM1:");
    return 0;
}

Will cause the exact same link failure "undefined reference to `.LDASM1'" when
compiled with gcc/g++.

Thus I deduce that this is not really an issue for us. However I may report a
bug upstream in GCC.

Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the D.gnu mailing list