Tim Tassonis wrote:



On 02/09/2018 07:04 PM, Bruce Dubbs wrote:
Ken Moffat wrote:
On Thu, Feb 08, 2018 at 08:55:54AM -0600, Bruce Dubbs wrote:
Pierre Labastie wrote:
On 08/02/2018 05:21, Bruce Dubbs wrote:
Ken Moffat wrote:
At the moment we note that posix/test-getaddrinfo4 and
posix/testgetaddrinfo5 may fail on some architectures.

According to https://sourceware.org/bugzilla/show_bug.cgi?id=20826
the tests need a working internet connection with DNS (reading the
details, they could pass depending on what was in /etc/hosts).

This was fixed in 2.27 (I haven't built it yet, but somebody posted
a link to bugs fixed in glibc-2.27 and I looked to see if anything
looked intersting).  So, I assume we can remove that comment.

My latest build was without tests, but I did a full test before glibc.  As I
recall, both getaddrinfo{4,5} failed, but only those.

If the tests need an internet connection with DNS, I think they cannot work in
chroot without copying the /etc/resolv.conf file from the host.

It would be interesting to do

echo nameserver 8.8.8.8 > /etc/resolv.conf

just before make check.  We would overwrite it in Chapter 7 with current
instructions.

I ignored that suggestion, to see what actually happens in current
svn (technically, r11362) -

UNSUPPORTED: elf/tst-audit10
UNSUPPORTED: elf/tst-avx512
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: math/test-double-libmvec-alias-avx512
UNSUPPORTED: math/test-double-libmvec-alias-avx512-main
UNSUPPORTED: math/test-double-libmvec-sincos-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512-main
UNSUPPORTED: math/test-float-libmvec-sincosf-avx512
UNSUPPORTED: misc/tst-pkey
UNSUPPORTED: misc/tst-ttyname
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
UNSUPPORTED: resolv/tst-resolv-res_init
UNSUPPORTED: resolv/tst-resolv-res_init-thread
UNSUPPORTED: resolv/tst-resolv-threads
UNSUPPORTED: sunrpc/tst-svc_register
Summary of test results:
    5720 PASS
      20 UNSUPPORTED
      16 XFAIL
       2 XPASS

I can't see any details for the XFAIL, but this all looks good.
This is on my haswell.

This is what I got on my system (i7-5820K, Haswell E):

FAIL: misc/tst-ttyname

Summary of test results:
       1 FAIL
    5724 PASS
      15 UNSUPPORTED
      16 XFAIL
       2 XPASS

the resolv/ and sunrpc/ tests evidently passed for me.

I do not know why misc/tst-ttyname fails on my system and is unsupported on yours.  I am doing a jhalfs build.

   -- Bruce

I just finished my glibc 2.27 compile and got:


UNSUPPORTED: elf/tst-audit10
UNSUPPORTED: elf/tst-audit4
UNSUPPORTED: elf/tst-avx
UNSUPPORTED: elf/tst-avx512
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: math/test-double-libmvec-alias-avx
UNSUPPORTED: math/test-double-libmvec-alias-avx-main
UNSUPPORTED: math/test-double-libmvec-alias-avx2
UNSUPPORTED: math/test-double-libmvec-alias-avx2-main
UNSUPPORTED: math/test-double-libmvec-alias-avx512
UNSUPPORTED: math/test-double-libmvec-alias-avx512-main
UNSUPPORTED: math/test-double-libmvec-sincos-avx
UNSUPPORTED: math/test-double-libmvec-sincos-avx2
UNSUPPORTED: math/test-double-libmvec-sincos-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx
UNSUPPORTED: math/test-float-libmvec-alias-avx-main
UNSUPPORTED: math/test-float-libmvec-alias-avx2
UNSUPPORTED: math/test-float-libmvec-alias-avx2-main
UNSUPPORTED: math/test-float-libmvec-alias-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512-main
UNSUPPORTED: math/test-float-libmvec-sincosf-avx
UNSUPPORTED: math/test-float-libmvec-sincosf-avx2
UNSUPPORTED: math/test-float-libmvec-sincosf-avx512
UNSUPPORTED: misc/tst-pkey
FAIL: misc/tst-ttyname
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
UNSUPPORTED: posix/tst-sysconf-empty-chroot
Summary of test results:
       1 FAIL
    5709 PASS
      30 UNSUPPORTED
      16 XFAIL
       2 XPASS

Seems ok?

I think so. A lot of the avx tests depend on your CPU. The avx512 is very new.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to