[LLVMbugs] [Bug 3233] New: gethostbyaddr miscompile on x86-64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Dec 18 00:12:02 PST 2008


           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: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu, jyasskin at google.com

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

$ ./x.llvm
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.

More information about the llvm-bugs mailing list