From owner-freebsd-current Thu Aug 1 5:18:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDB4437B400; Thu, 1 Aug 2002 05:18:40 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C4B343E4A; Thu, 1 Aug 2002 05:18:17 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g71CGZg29115; Thu, 1 Aug 2002 15:16:35 +0300 (EEST) (envelope-from ru) Date: Thu, 1 Aug 2002 15:16:35 +0300 From: Ruslan Ermilov To: John Hay Cc: "David O'Brien" , Peter Wemm , current@FreeBSD.org Subject: Re: -current upgrade path broken? Message-ID: <20020801121635.GB26622@sunbay.com> References: <200208011047.g71AldN47834@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML" Content-Disposition: inline In-Reply-To: <200208011047.g71AldN47834@zibbi.icomtek.csir.co.za> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have stumbled to this too, and thought I'm getting crazy. After some hours of investigation, I have found that O'Brien did some repo-surgery there, removed some revisions, and later replaced them with the new stuff (well, new stuff took the same revisions), and now some of your checked out sources (revisions) do not match what's in your CVS repository. rm -rf /usr/src/contrib/gcc and /usr/src/gnu/usr.bin/cc, check them out again, and try again. It worked for me now. I hope that people will learn the lessons from this, and won't be doing such scary things in the future. Peter had some work-arounds to avoid problems like this, were these forced commits over the affected files, I don't remember? On Thu, Aug 01, 2002 at 12:47:38PM +0200, John Hay wrote: > Should one be able to do a source upgrade from an old -current (March 10) > to the latest? I have been trying, but it breaks in the cross tools > section in gnu/usr.bin/cc/cc_int. mkdep fails. There are a lot of warnings > that looks like this: >=20 > ##################### > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/unix.= h:70: warning: `TARGET_DEFAULT' redefined > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.= h:400: warning: this is the location of the previous definition > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/unix.= h:83: warning: `FUNCTION_VALUE_REGNO_P' redefined > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.= h:1654: warning: this is the location of the previous definition > ###################### >=20 > I don't think they cause the failure, but there are so many of them that > they are hiding the real stuff. I think what is breaking mkdep is this: >=20 > ######################### > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/varasm.c:598: mac= ro `SELECT_SECTION' used with too many (3) args > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/varasm.c:3400: ma= cro `SELECT_SECTION' used with too many (3) args > /home/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/varasm.c:4006: ma= cro `SELECT_RTX_SECTION' used with too many (3) args > ... > mkdep: compile failed > *** Error code 1 >=20 > Stop in /home/src/gnu/usr.bin/cc/cc_int. > *** Error code 1 >=20 > Stop in /home/src/gnu/usr.bin/cc. > *** Error code 1 >=20 > Stop in /home/src. > *** Error code 1 >=20 > Stop in /home/src. > *** Error code 1 >=20 > Stop in /home/src. >=20 > ######################### >=20 > John > --=20 > John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9SSajUkv4P6juNwoRAr23AJ0ZQFNWS69uT7w7qekWy4msBB5icACeKsRr MQT6Wkse76YRJVajtWCRQdQ= =U3X6 -----END PGP SIGNATURE----- --s2ZSL+KKDSLx8OML-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message