From owner-freebsd-mips@freebsd.org Wed Apr 25 10:35:33 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 229DFFC2DDF for ; Wed, 25 Apr 2018 10:35:33 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A81A0811CA; Wed, 25 Apr 2018 10:35:31 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id w3PAZIMn077847 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 25 Apr 2018 12:35:19 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1524652519; bh=MDnzhTWr7GxGWhdGLR2UxXgT5i0pPrIJ5yXX6zgLRI4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=fBNoXG/YTlR/+NQoSgxuKBmggehyNz0z0nXnMosBnpWJ08JTPDaDe06TPx+hGasBn nDzrPUwCxx2BL2qxxuAvpkNZzRHfrm9EkjOa9iHsy35PMg9AVowOO+bl9on63UBNr/ G1HN0z7srXUgYFrUNNvv9X9JHwI9zMF3BPkfMFas= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id w3PAZFXW055825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 25 Apr 2018 12:35:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTPS id w3PAZEgp032098 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Apr 2018 12:35:14 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id w3PAZEQX032097; Wed, 25 Apr 2018 12:35:14 +0200 (CEST) (envelope-from ticso) Date: Wed, 25 Apr 2018 12:35:14 +0200 From: Bernd Walter To: Mori Hiroki Cc: "jhb@freebsd.org" , "freebsd-mips@freebsd.org" Subject: Re: build error on mips by gcc Message-ID: <20180425103513.GA85060@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> X-Operating-System: FreeBSD cicely7.cicely.de 11.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 10:35:33 -0000 On Wed, Apr 25, 2018 at 03:01:58PM +0900, Mori Hiroki wrote: > Hi > > I build today current. I have compile error at atheros by gcc. > > cc -isystem /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s > torage/home/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/home/hiroki/zorg > /obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips.mips/ > tmp/usr/lib -B/storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp > /storage/home/hiroki/freebsd/mips.mips/tmp/usr/lib --sysroot=/storage/home/hirok > i/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips > .mips/tmp -B/storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s > torage/home/hiroki/freebsd/mips.mips/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasi > ng   -nostdinc  -I. -I/storage/home/hiroki/freebsd/sys -I/storage/home/hiroki/fr > eebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_glo > bal.h  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80001000 -march=mips32 -MD  - > MF.depend.pm_machdep.o -MTpm_machdep.o -msoft-float -ffreestanding -fwrapv -Wall >  -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wp > ointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions  > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-unini > tialized  -fno-common -fms-extensions -finline-limit=768 --param inline-unit-gro > wth=100 --param large-function-growth=1000 --param max-inline-insns-single=1000  > -DMACHINE_ARCH='"mips"'  -std=iso9899:1999 -Werror  /storage/home/hiroki/freebsd > /sys/mips/mips/pm_machdep.c > cc1: warnings being treated as errors > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c: In function 'ptrace_sin > gle_step': > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l > x' expects type 'long unsigned int', but argument 4 has type 'uintptr_t' [-Wform > at] > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l > x' expects type 'long unsigned int', but argument 5 has type 'uintptr_t' [-Wform > at] > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c: In function 'ptrace_cle > ar_single_step': > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:505: warning: format '%l > x' expects type 'long unsigned int', but argument 5 has type 'uintptr_t' [-Wform > at] > *** Error code 1 > > Stop. > make[3]: stopped in /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRout > er/tmp/storage/home/hiroki/freebsd/mips.mips/sys/IOData_WN-G300R > *** Error code 1 > > Stop. > make[2]: stopped in /storage/home/hiroki/freebsd > *** Error code 1 > > Stop. > make[1]: stopped in /storage/home/hiroki/freebsd > *** Error code 1 Same for me, must have happened somewhere between r332885 and 332970. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.