Andreas Tobler <andre...@freebsd.org> wrote
  in <4f1f3585.8060...@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> andre...@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

Attachment: pgp2knDZcCSXY.pgp
Description: PGP signature

Reply via email to