From owner-svn-src-head@FreeBSD.ORG Wed Jan 25 06:10:31 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBA6B106564A; Wed, 25 Jan 2012 06:10:30 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9D38FC0C; Wed, 25 Jan 2012 06:10:29 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id q0P64bZ1045363; Wed, 25 Jan 2012 07:04:39 +0100 (CET) (envelope-from andreast@FreeBSD.org) Message-ID: <4F1F9CD1.9070304@FreeBSD.org> Date: Wed, 25 Jan 2012 07:10:25 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Hiroki Sato References: <4F1F3585.8060802@FreeBSD.org> <20120125.094001.163024621361318219.hrs@allbsd.org> <4F1F94B3.6020803@FreeBSD.org> <20120125.150329.660504706968105072.hrs@allbsd.org> In-Reply-To: <20120125.150329.660504706968105072.hrs@allbsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, eadler@FreeBSD.org Subject: Re: svn commit: r230353 - head/usr.sbin/makefs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 06:10:31 -0000 On 25.01.12 07:03, Hiroki Sato wrote: > Andreas Tobler wrote > in<4F1F94B3.6020803@FreeBSD.org>: > > an> On 25.01.12 01:40, Hiroki Sato wrote: > an> > Andreas Tobler wrote > an> > in<4F1F3585.8060802@FreeBSD.org>: > an> > > an> > an> Hi Eitan, > an> > an> > an> > an> On 20.01.12 02:38, Eitan Adler wrote: > an> > an> > Author: eadler > an> > an> > Date: Fri Jan 20 01:38:21 2012 > an> > an> > New Revision: 230353 > an> > an> > URL: http://svn.freebsd.org/changeset/base/230353 > an> > an> > > an> > an> > Log: > an> > an> > Fix warning when compiling with gcc46: > an> > an> > error: variable 'temp' set but not used > an> > an> > > an> > an> > Approved by: dim > an> > an> > Approved by: cperciva (mentor, blanket for pre-mentorship > an> > an> > already-approved commits) > an> > an> > MFC after: 3 days > an> > an> > an> > an> I do not know which of the makefs commits it was: > an> > an> > an> > an> [andreast@neon] /export/home/andreast/> makefs -t cd9660 -o > an> > chrp-boot > an> > an> -o rockridge -o label=pseries -B4321 p.iso > an> > /data1/netboot/powerpc64/ > an> > an> Segmentation fault (core dumped) > an> > an> > an> > an> [neon:~] andreast% uname -ra > an> > an> FreeBSD neon.andreas.nets 10.0-CURRENT FreeBSD 10.0-CURRENT #11 > an> > an> r230469M: Mon Jan 23 02:53:05 CET 2012 > an> > an> > an> > andreast@neon.andreas.nets:/usr/obj/export/devel/fbsd/head/src/sys/NEON > an> > an> amd64 > an> > an> > an> > an> Reverting to 230352 lets me create an iso. > an> > an> > an> > an> I compile makefs with the base compiler. > an> > an> > an> > an> I'll do some more investigations tomorrow, late night here. > an> > > an> > I got the same symptom and am investigating it. Can you rebuild the > an> > binary with a debug option like this: > an> > > an> > % cd /usr/src/usr.sbin/makefs > an> > % make clean > an> > % make DEBUG_FLAGS=-g > an> > % make DEBUG_FLAGS=-g install > an> > > an> > and then send me the output of the following command? > an> > > an> > % printf "run -t cd9660 -o chrp-boot -o rockridge -o label=pseries > an> > % -B4321 p.iso /data1/netboot/powerpc64/\nbt\nf 1\n f 2\n" | gdb -x > an> > % /dev/stdin -batch /usr/sbin/makefs > an> > > an> > In my environment both the old and the new version could reproduce > an> > it. I am not sure if mine is the same as yours at this moment, > an> > though. > an> > an> It is actually r230354, this is the commit which shows the failure. > an> And I reverted back to 230353 and onfirmed that it 'works'. > > Thank you! I will investigating it. Actually my test data set can > make SIGSEGV in both of the versions for some reason. I have to > narrow down the cause, anyway. > > I guess your /data1/netboot/powerpc64/ is quite large, but can I > receive the tarball of it in some way? It would be helpful. It is a powerpc64 crossbuild installation, built on amd64. It is around 650MB unzipped, 230MB zipped. I can upload it to freefall later this evening. Thanks, Andreas