http://llvm.org/bugs/show_bug.cgi?id=3233

           Summary: gethostbyaddr miscompile on x86-64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=2315)
 --> (http://llvm.org/bugs/attachment.cgi?id=2315)
bugpoint-reduced testcase

This looks like an x86-64 ABI problem with structures (either struct.hostent or
struct.in_addr) when calling gethostbyaddr_r.

I've attached the bugpoint.test.bc and will attach the original .c testcase.

$ ./x.cbe
0x7ffff87d4f90
yx-in-f100.google.com
74.125.45.100
Done.

$ ./x.llvm
yx-in-f100.google.com
Segmentation fault


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to