From owner-freebsd-embedded@FreeBSD.ORG Mon Nov 28 08:10:48 2011 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE159106564A for ; Mon, 28 Nov 2011 08:10:48 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 3603F8FC21 for ; Mon, 28 Nov 2011 08:10:48 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id pAS8AeCB061734; Mon, 28 Nov 2011 12:10:40 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id pAS8Aerc061733; Mon, 28 Nov 2011 12:10:40 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 28 Nov 2011 12:10:40 +0400 From: Gleb Smirnoff To: Stefan Bethke Message-ID: <20111128081040.GJ44498@glebius.int.ru> References: <87527FBF-645E-46F5-A02E-4B62AD648914@lassitu.de> <09F858C3-92A7-4EA7-8745-69F7866AA675@bluezbox.com> <20111128071043.GF44498@glebius.int.ru> <17A73B0C-468D-4BA3-868E-D2E2289A570C@bluezbox.com> <20111128073244.GH44498@glebius.int.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-embedded@FreeBSD.org Subject: Re: TP-WR1043: trying NFS root X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 08:10:48 -0000 On Mon, Nov 28, 2011 at 08:40:46AM +0100, Stefan Bethke wrote: S> Am 28.11.2011 um 08:32 schrieb Gleb Smirnoff: S> S> > Can you please obtain backtrace to determine which codepath causes error. Patch S> > attached. S> S> Without the patch and on r228049, I can't build the kernel anymore, even from an empty obj. S> S> stb@diesel:~/working/tp-wr1043/src$ ../build/build/bin/build tl-wr1043nd buildkernel S> ... S> cc -c -O -pipe -march=mips32 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/home/stb/working/tp-wr1043/src/sys -I/home/stb/working/tp-wr1043/src/sys/contrib/altq -I/home/stb/working/tp-wr1043/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -march=mips32 -msoft-float -ffreestanding -Werror /home/stb/working/tp-wr1043/src/sys/mips/atheros/uart_bus_ar71xx.c S> cc1: warnings being treated as errors S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c: In function 'arge_flush_ddr': S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:195: warning: implicit declaration of function 'ar71xx_device_flush_ddr_ge0' S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:195: warning: nested extern declaration of 'ar71xx_device_flush_ddr_ge0' [-Wnested-externs] S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:197: warning: implicit declaration of function 'ar71xx_device_flush_ddr_ge1' S> /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:197: warning: nested extern declaration of 'ar71xx_device_flush_ddr_ge1' [-Wnested-externs] S> *** Error code 1 S> 1 error S> *** Error code 2 S> 1 error S> *** Error code 2 S> 1 error I have just fixed this. Please try r228050. -- Totus tuus, Glebius.