Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 23:32:56 +0800
From:      Masoom Shaikh <masoom.shaikh@yahoo.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Upgrade from 10.1-RC3 to 10.1-RELEASE using freebsd-update
Message-ID:  <1416065576.26947.YahooMailNeo@web190701.mail.sg3.yahoo.com>

next in thread | raw e-mail | index | archive | help
I installed 10.1-RC3 via USB image on my laptop, in bid to upgrade 10.1-REL=
EASE I ran=0A#freebsd-update fetch -r 10.1-RELEASE=0Ait fails saying=0ALook=
ing up update.FreeBSD.org mirrors... 5 mirrors found.=0AFetching metadata s=
ignature for 10.1-RC3 from update5.freebsd.org... done.=0AFetching metadata=
 index... fetch: http://update5.freebsd.org/10.1-RC3/amd64/t/c8fafcc79d7cc0=
92c7782f4f1a29a777d751294183c8f2cb9daf940ba0525d96: Not Found=0Afailed.=0A=
=0Athis topic has already been discussed here=0Ahttps://lists.freebsd.org/p=
ipermail/freebsd-stable/2014-November/080954.html and=0A=0Ahttps://forums.f=
reebsd.org/threads/freebsd-update-r-10-1-rc4-upgrade-fails.48835/=0A=0A=0As=
olution is actually mentioned in forums threads=0Awhat it suggest is =0A#fr=
eebsd-update rollback=0A#reboot=0A#freebsd-update fetch=0A#freebsd-update u=
pgrade -r 10.1-RC4=0A#freebsd-upgrade install=0A#reboot=0A#freebsd-upgrade =
install=0A=0Afor me rollback fails saying=0ANo rollback directory found.=0A=
maybe because I did not install RC3 via freebsd-update, nonetheless any fix=
 as yet?=0A
From owner-freebsd-stable@FreeBSD.ORG  Sat Nov 15 15:38:15 2014
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 25FF9936
 for <freebsd-stable@freebsd.org>; Sat, 15 Nov 2014 15:38:15 +0000 (UTC)
Received: from tensor.andric.com (unknown
 [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (Client CN "tensor.andric.com",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id D5FCB672
 for <freebsd-stable@freebsd.org>; Sat, 15 Nov 2014 15:38:14 +0000 (UTC)
Received: from [IPv6:2001:7b8:3a7::edec:632d:bcc:2985] (unknown
 [IPv6:2001:7b8:3a7:0:edec:632d:bcc:2985])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by tensor.andric.com (Postfix) with ESMTPSA id CFDBBB80A;
 Sat, 15 Nov 2014 16:38:11 +0100 (CET)
Subject: Re: build world failing
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_8BC8F18D-CA6B-4373-83EC-8402A16D7179";
 protocol="application/pgp-signature"; micalg=pgp-sha1
X-Pgp-Agent: GPGMail 2.5b1
From: Dimitry Andric <dim@FreeBSD.org>
In-Reply-To: <2C0C65F2-558B-4759-BE6C-BB4668C0E681@ugh.net.au>
Date: Sat, 15 Nov 2014 16:38:04 +0100
Message-Id: <BE93496B-7E80-46DB-AA1A-D1E11CD82C83@FreeBSD.org>
References: <2C0C65F2-558B-4759-BE6C-BB4668C0E681@ugh.net.au>
To: Andrew Stevenson <andrew@ugh.net.au>
X-Mailer: Apple Mail (2.1990.1)
Cc: freebsd-stable@freebsd.org
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Nov 2014 15:38:15 -0000


--Apple-Mail=_8BC8F18D-CA6B-4373-83EC-8402A16D7179
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On 15 Nov 2014, at 16:14, Andrew Stevenson <andrew@ugh.net.au> wrote:
>=20
> I am having trouble building world. Currently running 10.1-PRERELEASE =
r270922. I have update source a few times in case it was a temporary =
breakage but am now trying to build r274327.
>=20
> It always stops in the same place:
...
> clang++: error: unable to execute command: Segmentation fault (core =
dumped)
> clang++: error: clang frontend command failed due to signal (use -v to =
see invocation)
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) =
20140512
> Target: x86_64-unknown-freebsd10.1
> Thread model: posix
> clang++: note: diagnostic msg: PLEASE submit a bug report to =
https://bugs.freebsd.org/submit/ and include the crash backtrace, =
preprocessed source, and
> associated run script.
> clang++: note: diagnostic msg: Error generating preprocessed =
source(s).
...
> The machine only has 1GB of RAM (but plenty of swap space) and in =
Intel Atom 230 (1.6GHz) CPU. I don=92t know if the root cause s a clang =
bug, as it suggests, or something else wrong.


Can you check dmesg and/or syslog for any messages regarding clang being
out of memory?  If it always crashes in the same place, then it could
indeed be a clang bug (but it's unlikely, since you seem to be the only
one having this problem), but it could also be some RAM problem that
only manifests when you are actively using a lot of memory.  I would do
a few memcheck passes on the machine, just to be sure.

Since clang does not seem to be able to generate the preprocessed
sources, this will be tricky or impossible to reproduce.  Maybe you can
try getting a backtrace from the core dump?  But this will require debug
symbols, unfortunately.

-Dimitry


--Apple-Mail=_8BC8F18D-CA6B-4373-83EC-8402A16D7179
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26

iEYEARECAAYFAlRnc2QACgkQsF6jCi4glqOt8ACgiOjCE9A0bLkZVNR2dDgyDHbo
moMAoN9L3mjM0aCN6kJkXoFXWXzvm0gw
=6nCk
-----END PGP SIGNATURE-----

--Apple-Mail=_8BC8F18D-CA6B-4373-83EC-8402A16D7179--



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