From owner-freebsd-x11@freebsd.org Sat Mar 5 08:52:21 2016 Return-Path: Delivered-To: freebsd-x11@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 C81AFA0996D; Sat, 5 Mar 2016 08:52:21 +0000 (UTC) (envelope-from tommi.pernila@gmail.com) Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (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 3CAADADB; Sat, 5 Mar 2016 08:52:21 +0000 (UTC) (envelope-from tommi.pernila@gmail.com) Received: by mail-lb0-x229.google.com with SMTP id x1so84717676lbj.3; Sat, 05 Mar 2016 00:52:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=QLkAJRq8zGg4pzf1ZgsmYq3ABYjkbPTgtJ+QN5gfdUE=; b=N0RRWKjGAIWBmzl83Ysy9JVHV5DKIiOSPmZq0a94yLvewMjjmVMj0dlTm0RXQQqbS0 929suCVa8ftTpxGCoeFSHc1MZaPIvOSJSpbrPxgozQc8wr8M+/KOgy3rzUhY9if58hhi JaTENiDP3qZ2k07w8ouae2LRWC4PEnuU4MbmCU3ZQ0y5hC2xksM9/TvxMb7QIPXzrqkD oGCCxynm4xBZyLWNyJYxOcJMl+nW9uP9mMoBkR9lMblRTeYL6SEbe0MWpVIas/W7dKke rBlAAz8Jb0hrZ60bu6Z/is5ffgOZUAj/osku65nVjvYfqWj3hskFUiuP9VGiF8ws/AhR ORCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=QLkAJRq8zGg4pzf1ZgsmYq3ABYjkbPTgtJ+QN5gfdUE=; b=TPrnzUMmgBvw8Ahtl7f7UYU+z7ym1/TrJAYinzF3gD1BKO3UpwS99xFkIeRpZ7iMif iT/gx/PaJrCMLDBxJrQEZ0JcvFL1YjaSFtzR5sfOXwm8eK9z1M7/+sEI4gElNmgYK8qK nv5WQtDVf9FYooKATMEC7FAjhsjlTPgyZ2NdL82+DySsyxZLaWwpRsHXto/JNbbf1Tx/ xPnZnH0xZYPHHbNh9fih+vOgUF0QRNU2xUE0gXR+yXe8s//moKutEE7DKyeQhb7y04ti X0axDfmomYoPNyq0bIxmFqTy2MO7CxcgiIBAtKmKJTU3CJtGS/2oLZath8OFWzYKtblh O+mg== X-Gm-Message-State: AD7BkJK4qhDm4NcfXbwFua9n+LMBQudIlmkkcNLKPwCpur2XECqj4vi+lE//EZxuarIk4x+4Mi+0IMo0uDSg9Q== MIME-Version: 1.0 X-Received: by 10.112.14.102 with SMTP id o6mr4343649lbc.87.1457167939082; Sat, 05 Mar 2016 00:52:19 -0800 (PST) Sender: tommi.pernila@gmail.com Received: by 10.112.91.131 with HTTP; Sat, 5 Mar 2016 00:52:18 -0800 (PST) Received: by 10.112.91.131 with HTTP; Sat, 5 Mar 2016 00:52:18 -0800 (PST) In-Reply-To: <5e9e4e6d0e63c4b742047c6d7043a6f7@kapsi.fi> References: <2b6aefeb1e40b367611c75f01dbcf370@kapsi.fi> <56D9BE93.9050702@dumbbell.fr> <5e9e4e6d0e63c4b742047c6d7043a6f7@kapsi.fi> Date: Sat, 5 Mar 2016 10:52:18 +0200 X-Google-Sender-Auth: kNrbYuPJKkLNRvO4MVtpsIJskX4 Message-ID: Subject: Re: Cannot compile freebsd-base-graphics (4c5467a) on FreeBSD 10.2, compiler fails to recognize warning option From: Tommi Pernila To: Arto Pekkanen Cc: freebsd-x11@freebsd.org, owner-freebsd-x11@freebsd.org, =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2016 08:52:22 -0000 Hi Arto, That's a bug that is fixed in Fixed in r296324. This DRM branch is just running a bit behind CURRENT. So if some oneone has the time to merge the branch to r296324 or later this should fix the issue. You could go back a few commits in the DRM branch to 4c5467 (3rd of March) I managed to compile this kernel without this issue. Another which is most likely not the best way of solving it would be to check all commits relating to to yacc during the last week ;) -Tommi Okay, now I did the following: # rm -rf /usr/obj/* # make kernel-toolchain However, make kernel-toolchain command failed in error: compiler cannot find file 'yacc.h'. Any idea what to do now? Here is the command output: =3D=3D=3D> usr.bin/mkesdb_static (obj,build-tools) /usr/obj/root/freebsd-base-graphics/usr.bin/mkesdb_static created for /root/freebsd-base-graphics/usr.bin/mkesdb_static cc -O2 -pipe -I/root/freebsd-base-graphics/usr.bin/mkesdb_static -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv -g -std=3Dgnu99 -Qunused-arguments -I/usr/obj/root/freebsd-base-graphics/tmp/legacy/usr/include -c /root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv/citr= us_bcs.c -o citrus_bcs.o cc -O2 -pipe -I/root/freebsd-base-graphics/usr.bin/mkesdb_static -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv -g -std=3Dgnu99 -Qunused-arguments -I/usr/obj/root/freebsd-base-graphics/tmp/legacy/usr/include -c /root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv/citr= us_db_factory.c -o citrus_db_factory.o cc -O2 -pipe -I/root/freebsd-base-graphics/usr.bin/mkesdb_static -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv -g -std=3Dgnu99 -Qunused-arguments -I/usr/obj/root/freebsd-base-graphics/tmp/legacy/usr/include -c /root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv/citr= us_db_hash.c -o citrus_db_hash.o cc -O2 -pipe -I/root/freebsd-base-graphics/usr.bin/mkesdb_static -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv -g -std=3Dgnu99 -Qunused-arguments -I/usr/obj/root/freebsd-base-graphics/tmp/legacy/usr/include -c /root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv/citr= us_lookup_factory.c -o citrus_lookup_factory.o lex -olex.c /root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb/lex.l cc -O2 -pipe -I/root/freebsd-base-graphics/usr.bin/mkesdb_static -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb -I/root/freebsd-base-graphics/usr.bin/mkesdb_static/../../lib/libc/iconv -g -std=3Dgnu99 -Qunused-arguments -I/usr/obj/root/freebsd-base-graphics/tmp/legacy/usr/include -c lex.c -o lex.o /root/freebsd-base-graphics/usr.bin/mkesdb_static/../mkesdb/lex.l:44:10: fatal error: 'yacc.h' file not found #include "yacc.h" ^ 1 error generated. *** Error code 1 Stop. make[3]: stopped in /root/freebsd-base-graphics/usr.bin/mkesdb_static *** Error code 1 Stop. make[2]: stopped in /root/freebsd-base-graphics *** Error code 1 Stop. make[1]: stopped in /root/freebsd-base-graphics *** Error code 1 Stop. make: stopped in /root/freebsd-base-graphics Jean-S=C3=A9bastien P=C3=A9dron kirjoitti 04.03.2016 18:57: > On 03/03/2016 20:22, Arto Pekkanen wrote: > >> Problem occurred after the merge with HEAD at commit 4c5467a. The new >> source tree from HEAD seems to compile some modules with >> -Wno-shift-negative-value -option, which is NOT supported by the compile= r >> of 10.2-RELEASE-p12 >> >> Does anyone have any suggestions on how I could get this kernel to >> compile on 10.2-RELEASE? >> > > Hi! > > You should be able to build a working toolchain by first running: > make kernel-toolchain > --=20 Arto Pekkanen _______________________________________________ freebsd-x11@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"