Building LFS on a 64-bit system (long)

Bruce Dubbs bruce.dubbs at gmail.com
Mon Aug 17 14:23:49 PDT 2009


Bruce Dubbs wrote:

> 7.  e2fsprogs had 4 failures:
> 
> d_loaddump: debugfs load/dump test:
>     ../../tests/d_loaddump/script: line 22: 23505 Segmentation fault
>     $DEBUGFS -R "write $TEST_DATA test_data" -w $TMPFILE >> $OUT.new 2>&1
> 
>     ../../tests/d_loaddump/script: line 34: 23509 Segmentation fault
>     $DEBUGFS -R "dump test_data $VERIFY_DATA" $TMPFILE >> $OUT.new 2>&1
> 
> f_imagic_fs: imagic filesystem with imagic inodes:
>     ../../tests/run_e2fsck: line 48: 24950 Segmentation fault
>     $DEBUGFS -w -R "feature imagic_inodes" $TMPFILE > /dev/null 2>&1
> 
> f_dup4: find all directory pathnames:
>    ../../tests/f_dup4/script: line 41: 24241 Segmentation fault
>    $DEBUGFS -w $TMPFILE  > /dev/null 2>&1 <<EOF

I rebuilt the kernel with CONFIG_EXT2_FS set and these errors went away.

> 8.  coreutils had 1 failure:
> 
> FAIL: cp/cp-mv-enotsup-xattr
> 
> This may be a kernel configuration issue:
> 
> # CONFIG_EXT2_FS is not set
> CONFIG_EXT3_FS=y
> # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> CONFIG_EXT3_FS_SECURITY=y

This passes too.

> 9.  automake failed 1 test
> 
> FAIL: acloca22.test

Hmm. Now aclocal6.test also fails.

> 10.  file failed one test
> /bin/sh: line 5: 15193 Segmentation fault      ${dir}$tst
> FAIL: stackoverflow2

This wasn't file, it was gawk.  The test does not seem to have anything to do 
with gawk directly and it appears that it may be due to a change in the kernel 
and the test hasn't caught up.

> 11. gawk failed 3 tests
> ======== Starting machine-specific tests ========
> double1
> ./double1.ok _double1 differ: char 1, line 1
> make[2]: [double1] Error 1 (ignored)

This is an error because it does
BEGIN {
         print 9223372036854775808
}

but the output is -9223372036854775808

The same test works fine on an older P4 system.  The number is 2^63, so gawk is 
not handling a 64 bit interger overflow properly.

> double2
> ./double2.ok _double2 differ: char 247, line 4
> make[2]: [double2] Error 1 (ignored)
> fmtspcl
> intformat
> ./intformat.ok _intformat differ: char 1, line 1
> make[2]: [intformat] Error 1 (ignored)

These tests are similar.

   -- Bruce







More information about the lfs-dev mailing list