Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 08:24:06 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        rwatson@freebsd.org
Subject:   Re: Bootstrap problems for asm
Message-ID:  <200206241524.g5OFO6p30824@vashon.polstra.com>
In-Reply-To: <Pine.NEB.3.96L.1020624111138.32271E-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1020624111138.32271E-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.NEB.3.96L.1020624111138.32271E-100000@fledge.watson.org>,
Robert Watson  <rwatson@FreeBSD.ORG> wrote:
> 
> I'm attempting to build a modern world on a box from about a month ago
> (specifically, the head of the trustedbsd_mac branch, which I'd like to
> integ), and keep bumping into problems associated with the compiler
> upgrade.  What's odd is that it seems to me that at the point where the
> build breaks, it seems to me I should actually be using the compiler that
> was built as part of the tree (i.e., post build-tools).
> 
> Anyone got any suggestions?  Boot-strapping forward on -CURRENT is
> actually a useful thing to be able to do :-).
[...]
>  ===> libexec/rtld-elf cc -pipe
> -Wall -DFREEBSD_ELF -I/cboss/freebsd/commit/src/libexec/rtld-elf/i386
> -I/cboss/freebsd/commit/src/libexec/rtld-elf -elf -fpic -DPIC   -Wformat=2
> -Wno-format-extra-args  -c
> /cboss/freebsd/commit/src/libexec/rtld-elf/i386/rtld_start.S
> cc -pipe  -Wall -DFREEBSD_ELF
> -I/cboss/freebsd/commit/src/libexec/rtld-elf/i386
> -I/cboss/freebsd/commit/src/libexec/rtld-elf -elf -fpic -DPIC   -Wformat=2
> -Wno-format-extra-args  -c
> /cboss/freebsd/commit/src/libexec/rtld-elf/rtld.c
> /cboss/freebsd/commit/src/libexec/rtld-elf/rtld.c: In function
> `atomic_decr_int':
> /cboss/freebsd/commit/src/libexec/rtld-elf/i386/rtld_machdep.h:58:
> inconsistent operand constraints in an `asm'
> *** Error code 1

There is a problem at the moment in compiling that file without -O.
Is your /etc/make.conf standard, or did you specifically ask for no
optimization?

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


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?200206241524.g5OFO6p30824>