[llvmlinux] x86_64: Build failure

Sedat Dilek sedat.dilek at gmail.com
Thu Jul 11 11:42:06 UTC 2013


Hi Jan,

dropping "arch/x86_64/patches/0041-Fix-statement-in-i915-driver.patch"
seems to cause a build-failure here:

>From my build-log:

drivers/gpu/drm/i915/i915_drv.h:1804: multiple definition of
`intel_gmbus_is_port_valid'

$ grep ^'Applying' make-config_kernel-build.txt | grep '\.patch' | grep i915
[ EMPTY ]

$ grep ^'Applying' make-config_kernel-build.txt | grep '\.patch'
Applying patch 0001-Toplevel-Makefile-adustments-to-compile-with-clang.patch
Applying patch 0002-Adapt-warnings-for-compilation-with-clang.patch
Applying patch 0009-Update-Documentation-dontdiff.patch
Applying patch 0010-Fix-LINUX_COMPILER-definition-script-for-compilation.patch
Applying patch 0043-Fix-section-mismatch-issues-on-alias-usage.patch
Applying patch 0044-Fix-bitoperation-for-compilation-with-clang.patch
Applying patch 1000-aligned-attribute.patch
Applying patch 1001-cmpxchg-local-fix-uninitialized-return-code.patch
Applying patch 1002-compiler-clang.patch
Applying patch 1003-disable-clang-integrated-as.patch
Applying patch 1004-mm-hugepage-return-value.patch
Applying patch valign-header.patch
Applying patch vlais-dm-crypt.patch
Applying patch vlais-gadget.patch
Applying patch vlais-hmac.patch
Applying patch vlais-libcrc32c.patch
Applying patch vlais-netfilter.patch
Applying patch vlais-testmgr.patch
Applying patch kbuild-clang.patch
Applying patch 0014-Remove-unsupported-options-from-Kconfig-file-on-x86.patch
Applying patch 0019-Fix-kernel-acpi-wakeup_32.S-for-compilation-with-cla.patch
Applying patch 0023-Remove-unneeded-braces.patch
Applying patch 0025-Add-option-for-clang-in-export-of-memcpy.patch
Applying patch 0026-Add-own-versions-of-memcpy-and-memset-for-compilatio.patch
Applying patch 0027-Add-__used-to-arch-x86-boot-video.patch
Applying patch 0028-Misc-changes-to-arch-x86-kernel-to-compile-with-clan.patch
Applying patch 0031-Reimplement-current_stack_pointer-without-register-u.patch
Applying patch 0032-Fix-include-asm-strings-for-compilation-with-clang.patch
Applying patch 0033-Various-fixes-in-arch-x86-include-asm.patch
Applying patch 0034-CFI_STARTPROC32-takes-a-parameter-which-has-no-defau.patch
Applying patch 0036-Various-fixes-to-arch-x86-lib-for-compilation-with-c.patch
Applying patch 0037-CHECK-fixes-to-realmode-for-compilation-with-clang.patch
Applying patch 0039-Workaround-build-error-with-clang.patch
Applying patch 0046-Remove-unneeded-braces.patch
Applying patch 0047-Fix-braces-for-compilation-with-clang.patch
Applying patch 0052-Revert-x86-nmi-Clean-up-register_nmi_handler-usage.patch
Applying patch thinkpad-acpi-nested-functions.patch
Applying patch 0001-updates-to-latest-patchset-unsplit.-TODO.patch
Applying patch 0016-Ad-no-integrated-as-to-arch-x86-realmode-rm-Makefile.patch
Applying patch 0015-Add-no-integrated-as-to-arch-x86-boot-Makefile-for-c.patch

$ cd llvmlinux-git

$ git log -1
commit 37633a590b7a22719149e344cb197025a2c83ed9
Author: Jan-Simon Möller <dl9pf at gmx.de>
Date:   Wed Jul 10 12:44:55 2013 +0200

    Forward-port and update config.

    Signed-off-by: Jan-Simon Möller <dl9pf at gmx.de>

My config.mk and kernel-config are attached.
( Base was your config.mk. )

So, testing with the COMMIT-IDs from your config.mk means... 'git
reset -hard $LLVMLINUX_COMMIT'?

LLVMLINUX_COMMIT        = 37633a590b7a22719149e344cb197025a2c83ed9
LLVM_COMMIT             = 53aaef82408c032899938ea050473cdbd860c78e
CLANG_COMMIT            = 4196019db7a9b22d09c31a290c49d45eab2fa1d3
KERNEL_COMMIT           = 5c1f62a75ca29d91606fd6e8bdeb2cff88086e0f
QEMU_COMMIT             = dc11549ec213f85f6a024c7df68d349464cd1688

Hmm, or I should have added:

FORCE_LLVMLINUX_COMMIT=1

Another wasted build.

- Sedat -

[1] http://git.linuxfoundation.org/?p=llvmlinux.git;a=commitdiff;h=5cec661e508381413c0d42ab02afe0a4271830f2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.mk
Type: application/octet-stream
Size: 1358 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/b47d372d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_x86_64
Type: application/octet-stream
Size: 135542 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/b47d372d/attachment-0003.obj>


More information about the LLVMLinux mailing list