Sparse package doesn't run on 64 bits system
Bug #374927 reported by
Stéphane Raimbault
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sparse (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: sparse
1) sb_release -rd
Description: Ubuntu 9.04
Release: 9.04
2) sparse:
Installed: 0.4.1-1
Candidate: 0.4.1-1
Version table:
*** 0.4.1-1 0
500 http://
100 /var/lib/
3 and 4)
Tested on Jaunty x86_64.
1 - Run sparse on any C file.
2 - The ouput: /usr/include/
Only the file gnu/stubs-64.h is available on my system.
Extract from gnu/stubs.h:
#if __WORDSIZE == 32
# include <gnu/stubs-32.h>
#elif __WORDSIZE == 64
# include <gnu/stubs-64.h>
To post a comment you must log in.
Same problem here on Ubuntu 10.04 (64-bit).
However, running sparse via the GCC wrapper 'cgcc' seems to work better. Don't really understand why, but it does. So simply setting the CC variable before calling 'make' does the trick for me:
jocke@luthien: ~/Troglobit/ pimd$ CC=cgcc make -j3 clean all
... most Makefiles support overriding the CC variable, but not all YMMV.