Date: Sat, 19 Dec 2015 13:05:36 -0800 From: NGie Cooper <yaneurabeya@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Build from 9.3-RELEASE to 11.0-CURRENT fails for i386 (-Wsign-compare issues with gcc) Message-ID: <8E98A82D-C36F-4863-8BE4-81288735F3A1@gmail.com>
next in thread | raw e-mail | index | archive | help
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 <imp@FreeBSD.org> 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. %=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8E98A82D-C36F-4863-8BE4-81288735F3A1>