From owner-freebsd-current@freebsd.org Sat Dec 19 21:05:40 2015 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 85BDDA4DFC1 for ; Sat, 19 Dec 2015 21:05:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (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 5F94B13B2; Sat, 19 Dec 2015 21:05:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id n128so49882347pfn.0; Sat, 19 Dec 2015 13:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=pm9uq5OrtGnw9O9U5g5QFc7dcN8zUFq4fJ6GaXvKnhY=; b=W6CWE8ElrpQCL67oCQvDExS92A3dXwPUkF4wGXr7kuPO7DiA/k9lrUzuVwgzSXFdyW ATBpezSov/3P3CO0sBBn6ZjhQjcmJMDEGuRz3sjixQ4p8oI5GRgYspJoyaUQgPO+jZnU cOWPt/QPeYs09IL/RrRwJ9dkpsGxBuibYZ2zKLwPRHqeC0eXTb+SXgizhVpJWcr1zeNe S9G81zog5AYL1jOW1woT592LUh7sypYP+R7SeV1i63nZgrv0PGoqXZxqWmYKY/Ap+IrQ EVUAsn0SHVNDe9PgbS0UI8HjkpTN3DEpPmRbwlGy25QStagkYCBN9kipZAvLpOiKsD8a nH4A== X-Received: by 10.98.10.66 with SMTP id s63mr8436184pfi.71.1450559139977; Sat, 19 Dec 2015 13:05:39 -0800 (PST) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id dz6sm30069847pab.19.2015.12.19.13.05.37 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Dec 2015 13:05:38 -0800 (PST) From: NGie Cooper Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Build from 9.3-RELEASE to 11.0-CURRENT fails for i386 (-Wsign-compare issues with gcc) Date: Sat, 19 Dec 2015 13:05:36 -0800 Message-Id: <8E98A82D-C36F-4863-8BE4-81288735F3A1@gmail.com> Cc: FreeBSD CURRENT To: John Baldwin Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 19 Dec 2015 21:05:40 -0000 Hi John, I tried bootstrapping 9.3-RELEASE to 11.0-CURRENT with i386 and = ran into the -Wsign-compare issue below when running make libraries with = buildworld, because it=E2=80=99s building libkvm with gcc 4.2.1 :/=E2=80=A6= I=E2=80=99ve tried bootstrapping with clang/clang37, but haven=E2=80=99t = been able to yet. I=E2=80=99ll try installing 10.2-RELEASE via = freebsd-update so I can use clang instead of gcc. Thanks! -NGie % git log --show-notes --grep svn -n 1 commit 69774947bfffd5e16d26b60a82d880aa659abbf2 Author: imp Date: Sat Dec 19 19:20:48 2015 +0000 Move some MIPS specific flags to be more congruent with other architectures. Notes: svn path=3D/head/; revision=3D292474 % make buildworld --- lib/libkvm__L --- --- kvm_i386.o --- cc -O2 -pipe -O2 -pipe -DLIBC_SCCS -I/usr/src/git/lib/libkvm -MD -MP = -MF.depend.kvm_i386.o -MTkvm_i386.o -std=3Dgnu99 = -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c = /usr/src/git/lib/libkvm/kvm_i386.c -o kvm_i386.o --- lib/libnv__L --- --- obj --- --- lib/libkvm__L --- cc1: warnings being treated as errors In file included from /usr/src/git/lib/libkvm/kvm_i386.c:63: /usr/src/git/lib/libkvm/kvm_i386.h:73: warning: comparison between = signed and unsigned *** [kvm_i386.So] Error code 1 bmake[3]: stopped in /usr/src/git/lib/libkvm 1 error bmake[3]: stopped in /usr/src/git/lib/libkvm *** [lib/libkvm__L] Error code 2 bmake[2]: stopped in /usr/src/git --- lib/libmd__L --- A failure has been detected in another branch of the parallel make bmake[3]: stopped in /usr/src/git/lib/libmd *** [lib/libmd__L] Error code 2 bmake[2]: stopped in /usr/src/git 2 errors bmake[2]: stopped in /usr/src/git *** [libraries] Error code 2 =E2=80=A6 % cc --version cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is = NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR = PURPOSE. %=