Summary: | libdrm build failure on i386: error: size of unnamed array is negative | ||
---|---|---|---|
Product: | Mesa | Reporter: | Fabio Pedretti <pedretti.fabio> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
URL: | https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers/ | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
compilation with V=1
fix 32bit builds |
Description
Fabio Pedretti
2014-09-28 17:13:27 UTC
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.