Bug#747935: gcc-4.8: Cross compiling -m32 on amd64 host fails due to finding amd64 libaries instead of x86 libraries

2014-05-13 Thread Keith Packard
Package: gcc-4.8 Version: 4.8.2-21 Severity: normal Attempts to compile a trivial program (test.c): int main() { return 0; } fail on amd64 host: $ gcc -m32 test.c /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc /usr/bin/ld: cannot

Re: Bug#285396: [ARM] wide chars don't work

2005-01-11 Thread Keith Packard
Around 23 o'clock on Jan 11, Thiemo Seufer wrote: > Exactly. xlib seems to use the sum of the size of the primitives in an > element instead of the size of the first element. No, Xlib assumes that the alignment of the struct or union is the alignment of the most restrictive element in that struc