[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#743141: system hangs when building gcc on kfreebsd-amd64



To reproduce this, the unix/-m32 test suite can be invoked with:

$ cd ~/gcc-4.7-4.7.3/src/gcc/testsuite
$ make check RUNTESTFLAGS='--target_board "unix/-m32" -v -v'

First, many compiler regression tests are run successfully.

Later, some helper executable tls_runtime2029.exe is built.  I think the
number part varies on each run.

When it is executed (with more stuff coming from LD_LIBRARY_PATH), as
non-root user, the system reboots before it can show a panic message or
drop to KDB.

I can't find a tls_runtime2029.c source file after rebooting.  The crash
means tls_runtime2029.exe contains only junk after a reboot.  I might
try again with the sync mount option.

Last console messages before the crash:

> Checking pattern "sparc-*-sunos*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "alpha*-*-*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "hppa*-*-hpux*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "sparc-*-sunos*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "alpha*-*-*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "hppa*-*-hpux*" with x86_64-pc-kfreebsd-gnu
> Testing compile/pr44246.c,  -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
> doing compile
> Invoking the compiler as ~/gcc-4.7-4.7.3/build/gcc/xgcc -B~/gcc-4.7-4.7.3/build/gcc/    -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  -w -c  -m32 -o pr44246.o ~/gcc-4.7-4.7.3/src/gcc/testsuite/gcc.c-torture/compile/pr44246.c
> Setting timeout to 300
> Executing on host: ~/gcc-4.7-4.7.3/build/gcc/xgcc -B~/gcc-4.7-4.7.3/build/gcc/    -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  -w -c  -m32 -o pr44246.o ~/gcc-4.7-4.7.3/src/gcc/testsuite/gcc.c-torture/compile/pr44246.c    (timeout = 300)
> pid is 76488 -76488
> waitres is 76488 exp8 0 0
> output is  status 0
> Checking pattern "sparc-*-sunos*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "alpha*-*-*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "hppa*-*-hpux*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "sparc-*-sunos*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "alpha*-*-*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "hppa*-*-hpux*" with x86_64-pc-kfreebsd-gnu
> Testing compile/pr44686.c,  -O0 
> Profiling argument is <-fprofile-generate>
> Checking "alpha*-dec-osf*" against "x86_64-pc-kfreebsd-gnu"
> Checking "*-*-solaris2.[89]*" against "x86_64-pc-kfreebsd-gnu"
> check_cached_effective_target tls_runtime: checking unix/-m32
> check_compile tool: gcc for tls_runtime
> doing compile
> Invoking the compiler as ~/gcc-4.7-4.7.3/build/gcc/xgcc -B~/gcc-4.7-4.7.3/build/gcc/ tls_runtime2029.c     -lm   -m32 -o tls_runtime2029.exe
> Setting timeout to 300
> Executing on host: ~/gcc-4.7-4.7.3/build/gcc/xgcc -B~/gcc-4.7-4.7.3/build/gcc/ tls_runtime2029.c     -lm   -m32 -o tls_runtime2029.exe    (timeout = 300)
> pid is 76496 -76496
> waitres is 76496 exp8 0 0
> output is  status 0
> Checking pattern "sparc-*-sunos*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "alpha*-*-*" with x86_64-pc-kfreebsd-gnu
> Checking pattern "hppa*-*-hpux*" with x86_64-pc-kfreebsd-gnu
> loading to unix/-m32
> Setting LD_LIBRARY_PATH to :~/gcc-4.7-4.7.3/build/gcc:~/gcc-4.7-4.7.3/build/gcc/32::~/gcc-4.7-4.7.3/build/gcc:~/gcc-4.7-4.7.3/build/gcc/32
> spawning command ./tls_runtime2029.exe 

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: