[llvmlinux] x86_64 build does not work in latest master

Ilya Leoshkevich mephi42 at gmail.com
Fri Sep 7 21:29:26 UTC 2012


Hello,

I tried to build x86_64 target using master (534fda2b) and it failed
to patch kernel. Seems like this was introduced by 99d72e2b:
arch/all/patches/common.patch now requires newer kernel, and takes
precedence over targets/x86_64/patches/common.patch.

Workaround that did the job for me was reverting to 2adfca76
and applying the following patch:

diff --git a/drivers/gpu/drm/i915/i915_drv.h
b/drivers/gpu/drm/i915/i915_drv.h
index 9689ca3..d9d6ec5 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1276,7 +1276,7 @@ extern int intel_setup_gmbus(struct drm_device *dev);
 extern void intel_teardown_gmbus(struct drm_device *dev);
 extern void intel_gmbus_set_speed(struct i2c_adapter *adapter, int speed);
 extern void intel_gmbus_force_bit(struct i2c_adapter *adapter, bool
force_bit);
-extern inline bool intel_gmbus_is_forced_bit(struct i2c_adapter *adapter)
+static inline bool intel_gmbus_is_forced_bit(struct i2c_adapter *adapter)
 {
        return container_of(adapter, struct intel_gmbus,
adapter)->force_bit;
 }

Best regards,
Ilya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20120908/3adade41/attachment.html>


More information about the LLVMLinux mailing list