[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
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: 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
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.
More information about the llvm-bugs
mailing list