Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 09:40:01 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        andreast@FreeBSD.org
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
Message-ID:  <20120125.094001.163024621361318219.hrs@allbsd.org>
In-Reply-To: <4F1F3585.8060802@FreeBSD.org>
References:  <201201200138.q0K1cLZP016695@svn.freebsd.org> <4F1F3585.8060802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Wed_Jan_25_09_40_01_2012_599)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andreas Tobler <andreast@FreeBSD.org> wrote
  in <4F1F3585.8060802@FreeBSD.org>:

an> Hi Eitan,
an>
an> On 20.01.12 02:38, Eitan Adler wrote:
an> > Author: eadler
an> > Date: Fri Jan 20 01:38:21 2012
an> > New Revision: 230353
an> > URL: http://svn.freebsd.org/changeset/base/230353
an> >
an> > Log:
an> >    Fix warning when compiling with gcc46:
an> >            error: variable 'temp' set but not used
an> >
an> >    Approved by:	dim
an> >    Approved by: cperciva (mentor, blanket for pre-mentorship
an> >    already-approved commits)
an> >    MFC after:	3 days
an>
an> I do not know which of the makefs commits it was:
an>
an> [andreast@neon] /export/home/andreast/> makefs -t cd9660 -o chrp-boot
an> -o rockridge -o label=pseries -B4321 p.iso /data1/netboot/powerpc64/
an> Segmentation fault (core dumped)
an>
an> [neon:~] andreast% uname -ra
an> FreeBSD neon.andreas.nets 10.0-CURRENT FreeBSD 10.0-CURRENT #11
an> r230469M: Mon Jan 23 02:53:05 CET 2012
an> andreast@neon.andreas.nets:/usr/obj/export/devel/fbsd/head/src/sys/NEON
an> amd64
an>
an> Reverting to 230352 lets me create an iso.
an>
an> I compile makefs with the base compiler.
an>
an> I'll do some more investigations tomorrow, late night here.

 I got the same symptom and am investigating it.  Can you rebuild the
 binary with a debug option like this:

 % cd /usr/src/usr.sbin/makefs
 % make clean
 % make DEBUG_FLAGS=-g
 % make DEBUG_FLAGS=-g install

 and then send me the output of the following command?

 % printf "run -t cd9660 -o chrp-boot -o rockridge -o label=pseries -B4321 p.iso /data1/netboot/powerpc64/\nbt\nf 1\n f 2\n" | gdb -x /dev/stdin -batch /usr/sbin/makefs

 In my environment both the old and the new version could reproduce
 it.  I am not sure if mine is the same as yours at this moment,
 though.

-- Hiroki

----Security_Multipart(Wed_Jan_25_09_40_01_2012_599)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAk8fT2EACgkQTyzT2CeTzy03OgCfSxm5aklIDdXkIQPm/LHxWLID
7PoAoNtCFQCe+a5ZuomrMnkDCzM2JVw/
=gl9c
-----END PGP SIGNATURE-----

----Security_Multipart(Wed_Jan_25_09_40_01_2012_599)----



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