[Nix-dev] Re: compile error while bootstrapping

Peter Simons simons at cryp.to
Mon May 4 19:31:47 CEST 2009


Hi,

while trying to bootstrap on Linux/x86, I get "make check" failures in
libgmp that cause the build to fail. The system identifies itself as
follows:

  $ uname -a
  Linux 2.6.29-ARCH #1 SMP PREEMPT i686 mobile AMD Duron(tm) AuthenticAMD GNU/Linux

And these are the errors:

  PASS: t-cdiv_ui
  /bin/sh: line 4: 30361 Illegal instruction     ${dir}$tst
  FAIL: t-gcd
  [...]
  /bin/sh: line 4: 30585 Illegal instruction     ${dir}$tst
  FAIL: convert
  /bin/sh: line 4: 30624 Illegal instruction     ${dir}$tst
  FAIL: io
  /bin/sh: line 4: 30663 Illegal instruction     ${dir}$tst
  FAIL: t-inp_str
  [...]
  /bin/sh: line 4: 30851 Illegal instruction     ${dir}$tst
  FAIL: t-pow
  PASS: t-div_2exp
  /bin/sh: line 4: 30927 Illegal instruction     ${dir}$tst
  FAIL: reuse
  /bin/sh: line 4: 30966 Illegal instruction     ${dir}$tst
  FAIL: t-root
  PASS: t-perfsqr
  /bin/sh: line 4: 31042 Illegal instruction     ${dir}$tst
  FAIL: t-jac
  /bin/sh: line 4: 31081 Illegal instruction     ${dir}$tst
  FAIL: t-bin
  PASS: t-get_d
  PASS: t-get_d_2exp
  /bin/sh: line 4: 31195 Illegal instruction     ${dir}$tst
  FAIL: t-get_si
  PASS: t-set_d
  PASS: t-set_si
  PASS: t-fac_ui
  PASS: t-fib_ui
  PASS: t-lucnum_ui
  PASS: t-scan
  PASS: t-fits
  /bin/sh: line 4: 31493 Illegal instruction     ${dir}$tst
  FAIL: t-divis
  /bin/sh: line 4: 31532 Illegal instruction     ${dir}$tst
  FAIL: t-divis_2exp
  /bin/sh: line 4: 31571 Illegal instruction     ${dir}$tst
  FAIL: t-cong
  /bin/sh: line 4: 31610 Illegal instruction     ${dir}$tst
  FAIL: t-cong_2exp
  PASS: t-sizeinbase
  /bin/sh: line 4: 31686 Illegal instruction     ${dir}$tst
  FAIL: t-set_str
  PASS: t-aorsmul
  /bin/sh: line 4: 31762 Illegal instruction     ${dir}$tst
  FAIL: t-cmp_d
  /bin/sh: line 4: 31801 Illegal instruction     ${dir}$tst
  FAIL: t-cmp_si
  PASS: t-hamdist
  /bin/sh: line 4: 31877 Illegal instruction     ${dir}$tst
  FAIL: t-oddeven
  /bin/sh: line 4: 31916 Illegal instruction     ${dir}$tst
  FAIL: t-popcount
  PASS: t-set_f
  PASS: t-io_raw
  /bin/sh: line 4: 32029 Illegal instruction     ${dir}$tst
  FAIL: t-import
  /bin/sh: line 4: 32068 Illegal instruction     ${dir}$tst
  FAIL: t-export
  PASS: t-pprime_p
  ==================================
  21 of 56 tests failed
  Please report to gmp-bugs at swox.com
  ==================================

It seems to me like the binaries have been built with an -march-setting
that is incompatible with AMD Duron.

Does anyone else have those problems?

Take care,
Peter




More information about the nix-dev mailing list