http://llvm.org/bugs/show_bug.cgi?id=7995
Summary: test/Scripts/macho-dump is incompatible to python
2.4(CentOS5)
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
With Python-2.4, Reader::read64 always returns (unexpected) long integer.
FileCheck detects failure on test/MC/MachO among '0' and '0L'
---
$ Release+Asserts/bin/llvm-lit -v ~/llvm/test/MC/MachO/tbss.s
-- Testing: 1 tests, 1 threads --
FAIL: LLVM :: MC/MachO/tbss.s (1 of 1)
(snip)
Command Output (stderr):
--
/home/chapuni/llvm/test/MC/MachO/tbss.s:18:11: error: expected string not found
in input
// CHECK: ('vm_addr', 0)
^
<stdin>:13:2: note: scanning from here
('vm_addr', 0L)
^
---
import struct
print '%r' % struct.unpack('Q',"\x00\x00\x00\x00\x00\x00\x00\x00")[0]
---
Cygwin-1.5 (ok)
Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14)
>>> print '%r' % struct.unpack('Q',"\x00\x00\x00\x00\x00\x00\x00\x00")[0]
0
>>>
---
* CentOS 5.4 (ng)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
>>> print '%r' % struct.unpack('Q',"\x00\x00\x00\x00\x00\x00\x00\x00")[0]
0L
>>>
--
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