From owner-freebsd-current@freebsd.org Sun Nov 20 16:00:01 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92884C4C40D for ; Sun, 20 Nov 2016 16:00:01 +0000 (UTC) (envelope-from setun.90@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D507126B for ; Sun, 20 Nov 2016 16:00:01 +0000 (UTC) (envelope-from setun.90@gmail.com) Received: by mail-oi0-x233.google.com with SMTP id b126so99930925oia.2 for ; Sun, 20 Nov 2016 08:00:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Xvmr2GiPP9/d8Yg72pgjZqRdf7d6EAQsquHK14W/6Fg=; b=Ookj0C7oYECCdtIDN9aKBCg/e+zDZ2nEU5WjV6Qz47WIeqYA5HU6BJKgPv5R6FLaE9 IgUQG/Ne2LK8X5EP3awguAWi8VH0TaUqJck7KUEP7hAnHvV2l1uT1y9baTO+JmRpkTHW OWP6uj720Z4DSI8oU/qiSEYX6YFN4g9UEg08blUVk8pqFOECIighsjmLv/hi04U7GeW1 Xqu8+vxK9/hrBg4TW8uXKj6CpD4jOVQ3o9FWv/yEjs7CXmJ4y4mwY1/rAWlmQF6CWMzC iPe+nwNHbz+Mnzi9h8yKcYw+eEO5HQLxsyKYqyHQO6Lu6KuwZK3EmyiSps4lztp6z91E 6+vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Xvmr2GiPP9/d8Yg72pgjZqRdf7d6EAQsquHK14W/6Fg=; b=C9gi5vczLlp4OtIQo+ct9Hujhh6csr9ZSvBTAkAY+YXng/7ZA2e12ikamqXR5qjKcI ykAOjFhpn9olHNJu4jEYVXRx5caMimB/YSNT+QdfGibyszElKt3NPlESRlkHUkK2sgMD BxY6OFgXKTQqnl2fKvw8BPt+ceOh97VZcF0S+G2cpSXUgiyzBdRitSBM/LlbMR9nsiDm f1x9uUdh40BedLU3C3gbpOOfej+dzOkd4Y7xnPg44gyu/6XO0/Cv+bwHhs92b8kszMm+ rjyqwq40mAX9dAi3O3JznB1gor6KNdreQJdedtK+CIfBC5ZS2P+fbDIiGGIYf7vDN0oN bOsw== X-Gm-Message-State: AKaTC03NwFLZtyu7vfKsxDPkzfM7vlPorZDmKI6JBegL7VzhBW1I99K+e+pO3a61Aab7/5Z/tGD6i1LsMUg+rw== X-Received: by 10.157.11.14 with SMTP id a14mr6264516ota.185.1479657600518; Sun, 20 Nov 2016 08:00:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.28.167 with HTTP; Sun, 20 Nov 2016 08:00:00 -0800 (PST) From: Daniel Campos do Nascimento Date: Sun, 20 Nov 2016 17:00:00 +0100 Message-ID: Subject: DRM-4.7 branch: buildkernel failed To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 16:00:01 -0000 Hello, I tried building the 'drm-next-4.7' branch of the FreeBSDDesktop fork of 12.0-CURRENT, but clang fails to find required headers: [log truncated to failing source file] --- ati_pcigart.o --- /usr/local/bin/clang38 -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/current/freebsd-base-graphics/tmp -B/usr/obj/usr/src/current/freebsd-base-graphics/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -march=native -g -nostdinc -I. -I/usr/src/current/freebsd-base-graphics/sys -I/usr/src/current/freebsd-base-graphics/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.ati_pcigart.o -MTati_pcigart.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-aes -mno-avx -std=iso9899:1999 -Werror /usr/src/current/freebsd-base-graphics/sys/dev/drm/ati_pcigart.c /usr/src/current/freebsd-base-graphics/sys/dev/drm/ati_pcigart.c:34:10: fatal error: 'linux/export.h' file not found #include ^ 1 error generated. *** [ati_pcigart.o] Error code 1 make[2]: stopped in /usr/obj/usr/src/current/freebsd-base-graphics/sys/LOCAL --- modules-all --- --- fm.o --- ctfconvert -L VERSION -g fm.o --- inffast.o --- ctfconvert -L VERSION -g inffast.o --- deflate.o --- ctfconvert -L VERSION -g deflate.o A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/current/freebsd-base-graphics/sys/modules/zfs *** [all_subdir_zfs] Error code 2 make[3]: stopped in /usr/src/current/freebsd-base-graphics/sys/modules 1 error make[3]: stopped in /usr/src/current/freebsd-base-graphics/sys/modules *** [modules-all] Error code 2 make[2]: stopped in /usr/obj/usr/src/current/freebsd-base-graphics/sys/LOCAL 2 errors make[2]: stopped in /usr/obj/usr/src/current/freebsd-base-graphics/sys/LOCAL *** [buildkernel] Error code 2 make[1]: stopped in /usr/src/current/freebsd-base-graphics 1 error make[1]: stopped in /usr/src/current/freebsd-base-graphics *** [buildkernel] Error code 2 make: stopped in /usr/src/current/freebsd-base-graphics 1 error make: stopped in /usr/src/current/freebsd-base-graphics [EOF] where LOCAL is my KERNCONF. I had attempted a previous build of this branch, and it failed in exactly the same way. Should I see with the maintainers of the branch? uname -a: FreeBSD setun-90 11.0-STABLE FreeBSD 11.0-STABLE #0 r308484: Thu Nov 10 23:22:53 CET 2016 root@setun-90:/usr/obj/usr/src/stable/sys/LOCAL amd64 dmesg | grep CPU: CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (2592.09-MHz K8-class CPU) Cheers,