Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2002 17:59:21 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Maxime Henrion <mux@freebsd.org>
Cc:        committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/contrib/gcc c-format.c src/sys/ddb db_examine.c src/sys/kern subr_prf.c
Message-ID:  <20021101155921.GB35716@gray.sea.gr>
In-Reply-To: <20021025194731.GS26605@elvis.mu.org>
References:  <200210251941.g9PJfWxg023702@repoman.freebsd.org> <20021025194731.GS26605@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-25 12:47, Maxime Henrion <mux@FreeBSD.ORG> wrote:
> Maxime Henrion wrote:
> > mux         2002/10/25 12:41:32 PDT
> >
> >   Modified files:
> >     contrib/gcc          c-format.c
> >     sys/ddb              db_examine.c
> >     sys/kern             subr_prf.c
> >   Log:
> >   - Rename the DDB specific %z printf format to %y.
> >   - Make DDB use %y instead of %z.
> >   - Teach GCC about %y.
> >   - Implement support for the C99 %z format modifier.
>
> If you compile DDB into your kernel, you will have to recompile gcc so
> that it doesn't bitch about %y.  Either that or use "make WERROR=".

I had a somewhat old userland and kernel running at home, which I
compiled from a checkout of -D '2002/09/20 16:00:00 UTC'.  To let a
fairly recent current build world and kernel I used a slightly
different path, since running a newer userland without a new kernel
was not possible because of the recent sigaction changes.

I locally backed out only the change of db_examine.c and run buildworld
and buildkernel with the old %z format.  I also had to back out change
1.6 to ldscript.i386 to make sure that kernel.debug would link with my
old toolchain and allow me to boot the new kernel and install the new
userland.  Then when the new gcc was in place, I buildkernel once
more, by backing out the backout.  That worked like a charm.

The equivalent can be accomplished by building a kernel that doesn't
include DDB, of course; I just thought I'd mention what I did.

Giorgos.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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