Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 15:16:35 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        "David O'Brien" <obrien@FreeBSD.org>, Peter Wemm <peter@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: -current upgrade path broken?
Message-ID:  <20020801121635.GB26622@sunbay.com>
In-Reply-To: <200208011047.g71AldN47834@zibbi.icomtek.csir.co.za>
References:  <200208011047.g71AldN47834@zibbi.icomtek.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020801121635.GB26622>