[LLVMbugs] [Bug 4263] New: clang: struct layout tests failed
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon May 25 10:47:43 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4263
Summary: clang: struct layout tests failed
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3032)
--> (http://llvm.org/bugs/attachment.cgi?id=3032)
makefile hack
I changed the makefiles of clang a bit to make utils/ABITest work on Linux.
utils/ABITest/layout fails though.
../ABITestGen.py --max-args 0 --test-layout --no-bit-field -o test.0.c --min=0
--count=1000
gcc -std=gnu99 -m32 -o test.0.ref test.0.c
test.0.c: In function ‘main’:
test.0.c:8509: warning: implicit declaration of function ‘atoi’
./test.0.ref > test.0.ref.out
llvm-gcc -std=gnu99 -m32 -o test.0.x test.0.c
test.0.c: In function ‘main’:
test.0.c:8509: warning: implicit declaration of function ‘atoi’
./test.0.x > test.0.x.out
diff test.0.ref.out test.0.x.out > test.0.x.diff
make: [test.0.x.diff] Error 1 (ignored)
clang -std=gnu99 -m32 -o test.0.y test.0.c
./test.0.y > test.0.y.out
diff test.0.ref.out test.0.y.out > test.0.y.diff
make: [test.0.y.diff] Error 1 (ignored)
TEST 0: test.0.x.diff failed
TEST 0: test.0.y.diff failed
Attached are the diffs
--
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