From owner-freebsd-stable@FreeBSD.ORG Mon Jan 31 04:40:49 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B19B106566C for ; Mon, 31 Jan 2011 04:40:49 +0000 (UTC) (envelope-from marka@isc.org) Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by mx1.freebsd.org (Postfix) with ESMTP id DBAF08FC17 for ; Mon, 31 Jan 2011 04:40:48 +0000 (UTC) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "farside.isc.org", Issuer "ISC CA" (verified OK)) by mx.ams1.isc.org (Postfix) with ESMTPS id 3760E5F984C; Mon, 31 Jan 2011 04:40:28 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:ea06:88ff:fef3:4f9c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by farside.isc.org (Postfix) with ESMTP id 17A70E604A; Mon, 31 Jan 2011 04:40:26 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id 929E6950B79; Mon, 31 Jan 2011 15:40:23 +1100 (EST) From: Mark Andrews In-reply-to: Your message of "Mon, 31 Jan 2011 12:51:36 +1100." Date: Mon, 31 Jan 2011 15:40:23 +1100 Message-Id: <20110131044023.929E6950B79@drugs.dv.isc.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_00, MISSING_HEADERS, T_RP_MATCHES_RCVD autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.ams1.isc.org Cc: stable@freebsd.org Subject: Re: RELEASE_6 -> RELEASE_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 04:40:49 -0000 Mark Andrews writes: > > In message <4D46119F.5060101@sentex.net>, Mike Tancsa writes: > > On 1/30/2011 6:45 PM, Mark Andrews wrote: > > > I was trying to upgrade a machine from RELEASE_6 (latest) > > > to RELEASE_8 (latest) via source. I was unable to get > > > make buildworld to complete. > > > > Strange, I have done a number of machines going from RELENG_6, RELENG_7 > > and then RELENG_8 without too much issue. The ports can be a bit > > problematic, but of the half dozen or so I have done, it hasnt been an > > issue. Were you using a custom kernel, or GENERIC as defined from each > > of the branches ? > > It's the double release jump that doesn't work. Looking at 7.x the > headers needed are installed in /usr/include. Similarly 7.x's gcc > has the symbol but doesn't turn on the compiler flags which use it. > Basically RELENG_8 is not completely building against itself. Trying > to go from 6.x to 8.x is showing some of places where the new OS > doesn't build against itself. > > This was with GENERIC for all builds and almost no ports installed. The following Makefiles needed to be modified to add -I${.CURDIR}/../../../lib/libelf and/or -I${.CURDIR}/../../../sys. /usr/release8/src/cddl/usr.bin/sgsmsg/Makefile lib/libelf /usr/release8/src/cddl/lib/libctf/Makefile lib/libelf sys /usr/release8/src/cddl/usr.bin/ctfconvert/Makefile lib/libelf sys /usr/release8/src/cddl/usr.bin/ctfmerge/Makefile sys e.g. CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ -I${.CURDIR}/../../../lib/libelf \ -I${.CURDIR}/../../../sys \ -I${OPENSOLARIS_USR_DISTDIR} \ -I${OPENSOLARIS_SYS_DISTDIR} \ -I${OPENSOLARIS_USR_DISTDIR}/head \ -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ -I${OPENSOLARIS_SYS_DISTDIR}/uts/common "make make" is also needed for 6.x -> 8.x so that should be added to UPDATING. The build will then run until stopping in libexec/atrun with /usr/release8/usr/release8/src/tmp/usr/lib/libpam.so: undefined reference to `__stack_chk_fail_local' -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org