From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 3 17:41:04 2008 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFAAE106566C; Mon, 3 Mar 2008 17:41:04 +0000 (UTC) (envelope-from jau@jau.iki.fi) Received: from jau.iki.fi (ip193-64-26-117.cust.eunet.fi [193.64.26.117]) by mx1.freebsd.org (Postfix) with ESMTP id 306EA8FC17; Mon, 3 Mar 2008 17:41:03 +0000 (UTC) (envelope-from jau@jau.iki.fi) Received: from jau.iki.fi (localhost [127.0.0.1]) by jau.iki.fi (8.14.2/8.14.2) with ESMTP id m23H0W0s064935; Mon, 3 Mar 2008 19:00:32 +0200 (EET) (envelope-from jau@jau.iki.fi) Received: (from jau@localhost) by jau.iki.fi (8.14.2/8.14.2/Submit) id m23H0W7w064934; Mon, 3 Mar 2008 19:00:32 +0200 (EET) (envelope-from jau) Posted-Date: Mon, 3 Mar 2008 19:00:32 +0200 (EET) Message-Id: <200803031700.m23H0W7w064934@jau.iki.fi> To: remko@FreeBSD.org Date: Mon, 3 Mar 2008 19:00:31 +0200 (EET) In-Reply-To: <200803022018.m22KI6Tv044393@freefall.freebsd.org> from "remko@FreeBSD.org" at Mar 2, 8 08:18:06 pm From: jau@iki.fi (Jukka A. Ukkonen) Sender: jau@iki.fi Latin-Date: dies Lunae III Martie a.d. MMVIII Organization: Private person OS-Platform: FreeBSD Phone: +358-9-6215280 (home) / +358-500-606671 (gsm) Content-Conversion: prohibited X-Mailer: ELM [version 2.4 PL25+pgp] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (jau.iki.fi [127.0.0.1]); Mon, 03 Mar 2008 19:00:32 +0200 (EET) X-Virus-Scanned: ClamAV 0.92.1/6094/Mon Mar 3 18:15:09 2008 on mjolnir.thunderbolt.fi X-Virus-Status: Clean Cc: freebsd-bugs@FreeBSD.org, kris@FreeBSD.org Subject: Re: kern/121292: FreeBSD-7.0 kernel build fails on FreeBSD-6.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jau@iki.fi List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 17:41:05 -0000 Quoting remko@FreeBSD.org: > > Synopsis: FreeBSD-7.0 kernel build fails on FreeBSD-6.3 > > State-Changed-From-To: open->feedback > State-Changed-By: remko > State-Changed-When: Sun Mar 2 20:18:05 UTC 2008 > State-Changed-Why: > Kris asked for feedback Yes he did, and his assumption is wrong. - I pasted all the error info that was shown by the build run. The very odd thing is that there were no further details between the output lines... objcopy --strip-debug if_zyd.ko 1 error The bleeping thing just goes south without so much as a word. I'd say this is kind of disturbing, isn't it? I have tried with "nodevice zyd" in the config file but in vain. I also tried without "-j5" in the make options and without "-march=athlon-xp" in the cc options while having "-j5" in the make options, all in vain. The error shown below is from a build attempt without "-j5" in the make options and without "-march=athlon-xp" in cc options. If I try building without "-j5" I get this far but eventually still fail. cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel if_ural.o(.text+0xe43): In function `ural_attach': : undefined reference to `ieee80211_amrr_init' if_ural.o(.text+0x2c09): In function `ural_amrr_update': : undefined reference to `ieee80211_amrr_choose' if_ural.o(.text+0x32ac): In function `ural_task': : undefined reference to `ieee80211_amrr_node_init' *** Error code 1 Stop in /usr/obj/usr/src/sys/Mimir. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. So, it seems the original (ominously silent) error might be due to parallel make failing somehow. OTOH it does not exactly make one smile happily if giving up parallel make only gets one to another equally disturbing error, this time a bit more verbose one, though. Trying the 7.0 kernel build on 6.3-STABLE is probably the only way to repeat the failures which probably do not show themselves on vanilla 7.0 at all. I hope this helps. Cheers, // jau .--- ..- -.- -.- .- .- .-.-.- ..- -.- -.- --- -. . -. / Jukka A. Ukkonen, Oxit Ltd, Finland /__ M.Sc. (sw-eng & cs) (Phone) +358-500-606-671 / Internet: Jukka.Ukkonen(a)Oxit.Fi (Home) +358-9-6215-280 / Internet: jau(a)iki.fi v .--- .- ..- ...-.- .. -.- .. .-.-.- ..-. .. + + + + My opinions are mine and mine alone, not my employers. + + + +