When I emerge xfsprogs (ver. 20020330) and run xfs_check on a validfilesystem, it runs xfs_db which in turn gives me the followingerror.> xfs_check /dev/hdc2/usr/sbin/xfs_check: line 62: 1489 Segmentation fault xfs_db$ISFILE -i -p xfs_check -c "check$OPTS" $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'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', but the distribution from SGI tries to use `-O1' but isoverridden by the make.conf and emerge script. I haven't tried to change theemerge script to see if forcing -O1 back would work (since I haven'tfigured out how), but it may be worth someone's try.
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-
Closing bug, unmasking ebuild. -phoen][x-