After latest changes libdrm fails to build on i386, ok on amd64: In file included from ../../nouveau/private.h:4:0, from ../../nouveau/abi16.c:29: ../../libdrm.h: In function 'drm_munmap': ../../libdrm.h:81:4: error: size of unnamed array is negative STATIC_ASSERT(LARGE_OFF_T % 2147483629 == 721 && ^ Makefile:475: recipe for target 'abi16.lo' failed Build log: https://launchpadlibrarian.net/185985753/buildlog_ubuntu-utopic-i386.libdrm_2.4.56%2Bgit1409281830.537b1c~gd~u_FAILEDTOBUILD.txt.gz
Sounds like AC_SYS_LARGEFILE is not doing it's job properly. Can you attach the output of $ make V=1 ?
Yeah i see that here, too. https://build.opensuse.org/build/home:tobijk:X11:XOrg/openSUSE_Factory/i586/libdrm/_log
Created attachment 107016 [details] compilation with V=1
Created attachment 107018 [details] [review] fix 32bit builds Seems like one of the files was missing the config.h inclusion. Can you guys give the patch a try ? Bit short on 32bit setup atm.
Comment on attachment 107018 [details] [review] fix 32bit builds Scratch that. I've missed out that one normally includes the system headers prior to the driver specific ones, so this won't help. Additionally adding the include in here and not in the C files is setting up a trap. Rob has pushed a patch to the repo which handles most/all of the cases. Can you guys give it a test.
Fixed with: c09dcbc736afb2e6a05d4cfc5c3d878ace43e2ba + 0599f2fd6aea0421a91d9297dcd454aa416dfbaa
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.