<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>5551</bug_id>
          
          <creation_ts>2002-07-25 05:09 0000</creation_ts>
          <short_desc>xfs_check from xfsprogs (ver. 20020330) seems to seg fault</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Scott@James.com</reporter>
          <assigned_to>fisi.tilman.klar@gmx.de</assigned_to>
          <cc>fisi.tilman.klar@gmx.de</cc>

      

      
          <long_desc isprivate="0">
            <who>Scott@James.com</who>
            <bug_when>2002-07-25 05:09:46 0000</bug_when>
            <thetext>When I emerge xfsprogs (ver. 20020330) and run xfs_check on a validfilesystem, it runs xfs_db which in turn gives me the followingerror.&gt; xfs_check /dev/hdc2/usr/sbin/xfs_check: line 62:  1489 Segmentation fault  xfs_db$ISFILE -i -p   xfs_check -c &quot;check$OPTS&quot; $1xfs_check is just a wrapper script for xfs_db. However xfs_repair, also part of xfsprogs, seems to work ok.Also, if I build xfsprogs-2.0.6.src.tar.gz, downloaded directly from SGI&apos;swebsite and do a generic install on it, its xfs_check seems to work ok.A difference to consider is that my /etc/make.conf specifies to compilewith `-O3&apos;, but the distribution from SGI tries to use `-O1&apos; but isoverridden by the make.conf and emerge script.  I haven&apos;t tried to change theemerge script to see if forcing -O1 back would work (since I haven&apos;tfigured out how), but it may be worth someone&apos;s try.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fisi.tilman.klar@gmx.de</who>
            <bug_when>2002-07-26 12:55:09 0000</bug_when>
            <thetext>Strange, it works in a gcc3 environment. Anyways, if the optimization FLAG 
is higher than -O1 and you compile it in a gcc-2.95.3 environment, xfs_check
will segfault. I modified the ebuild so that xfsprogs will always be compiled
with -O1.

The new version is xfsprogs-20020330-r1 (its masked).

Could you give it a try, scott?

-phoen][x-</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fisi.tilman.klar@gmx.de</who>
            <bug_when>2002-07-27 13:08:02 0000</bug_when>
            <thetext>Closing bug, unmasking ebuild.

-phoen][x-</thetext>
          </long_desc>
      
    </bug>

</bugzilla>