From owner-freebsd-embedded@FreeBSD.ORG Mon Nov 28 07:40:49 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 EF74E106564A; Mon, 28 Nov 2011 07:40:49 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id B58968FC0A; Mon, 28 Nov 2011 07:40:49 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 857681112EA; Mon, 28 Nov 2011 08:40:47 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <20111128073244.GH44498@glebius.int.ru> Date: Mon, 28 Nov 2011 08:40:46 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: Gleb Smirnoff X-Mailer: Apple Mail (2.1251.1) 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 07:40:50 -0000 Am 28.11.2011 um 08:32 schrieb Gleb Smirnoff: > Can you please obtain backtrace to determine which codepath causes = error. Patch > attached. Without the patch and on r228049, I can't build the kernel anymore, even = from an empty obj. stb@diesel:~/working/tp-wr1043/src$ ../build/build/bin/build tl-wr1043nd = buildkernel ... cc -c -O -pipe -march=3Dmips32 -std=3Dc99 -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=3D8000 --param inline-unit-growth=3D10000 --param = large-function-growth=3D100000 --param max-inline-insns-single=3D10000 = -fno-pic -mno-abicalls -G0 -march=3Dmips32 -msoft-float -ffreestanding = -Werror = /home/stb/working/tp-wr1043/src/sys/mips/atheros/uart_bus_ar71xx.c cc1: warnings being treated as errors /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c: In function = 'arge_flush_ddr': /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:195: warning: = implicit declaration of function 'ar71xx_device_flush_ddr_ge0' /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] /home/stb/working/tp-wr1043/src/sys/mips/atheros/if_arge.c:197: warning: = implicit declaration of function 'ar71xx_device_flush_ddr_ge1' /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] *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error stb@diesel:~/working/tp-wr1043/src$ svn info Path: . Working Copy Root Path: /home/stb/working/tp-wr1043/src URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 228049 Node Kind: directory Schedule: normal Last Changed Author: trociny Last Changed Rev: 228049 Last Changed Date: 2011-11-28 08:09:29 +0100 (Mon, 28 Nov 2011) --=20 Stefan Bethke Fon +49 151 14070811