[PATCH v7 00/13] glibc port to ARC processors

Vineet Gupta Vineet.Gupta1@synopsys.com
Wed Jul 1 19:13:56 GMT 2020


On 6/30/20 6:44 PM, Adhemerval Zanella via Libc-alpha wrote:

>> I've posted the incremental series (v7.1) as a followup to include rebase fixes
>> since v7. The changes are minimal and documented in respective patches. Kindly
>> review so we can get this in, in this cycle.
> 
> Thanks for your patience, I will help wrap this up so we can include in
> on 2.32.

And thx to you for your help and time.

>>>> (b) Full testsuite ran in a cross compile setup using buildroot on HSDK development
>>>>     platform. Bulk of failures come from cross testing setup and I
>>>>     intend to improve things with native testing going forward.
>>>>
>>>> | Summary of test results:
>>>> |     30 FAIL   (-3)
>>>> |
>>>> | FAIL: csu/test-as-const-tcb-offsets
>>>> + FAIL: elf/tst-audit14
>>>> + FAIL: elf/tst-audit15
>>>> + FAIL: elf/tst-audit16
> 
> Any idea what it might the culprit here?

These are newly introduced so I didn't probe deeply. strace showed wait() time out

statx(1, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS,
{stx_mask=STATX_BASIC_STATS, stx_attrib0
kill(-1805, SIGKILL)                    = 0
kill(1805, SIGKILL)                     = 0
wait4(1805, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], WNOHANG|WSTOPPED, NULL)
= 1805
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=1805, si_uid=0,
si_status=SIGKILL, si_utime=0, si_-
write(1, "Timed out: killed the child proc"..., 35Timed out: killed the child
process) = 35
write(1, "\n", 1
)                       = 1

> 
>>>> | FAIL: elf/tst-ldconfig-ld_so_conf-update # not true: dlopen
>>>> | FAIL: iconv/test-iconvconfig		# Needs gconv installed
>>>> | FAIL: io/ftwtest			# Requires execution by non-root
>>>> | FAIL: io/tst-lockf
>>>> | FAIL: libio/tst-wfile-sync
> 
> Could it be related to NFS usage as well?

Very likely so.

>>>> | FAIL: locale/tst-C-locale
>>>> | FAIL: locale/tst-duplocale
>>>> | FAIL: locale/tst-locale-locpath
>>>> | FAIL: locale/tst-locname
>>>> | FAIL: localedata/sort-test
> 
> Any idea why locale is not being working here (these tests are really
> simple, maybe another issue related to the filesystem)?

Actually these are all OK. cross setup sometimes has issues (e.g. nfs automount at
boot not working) these tests hit first and fail. When testing is resumed the
failures stick. I have a clean list of current failure with v7.1 at the end of
this msg.

> 
>>>> | FAIL: nptl/test-cond-printers		# needs Python3 and target GDB on target
>>>> | FAIL: nptl/test-condattr-printers	#    ditto
>>>> | FAIL: nptl/test-mutex-printers	#    ditto
>>>> | FAIL: nptl/test-mutexattr-printers	#    ditto
>>>> | FAIL: nptl/test-rwlock-printers	#    ditto
>>>> | FAIL: nptl/test-rwlockattr-printers	#    ditto
>>>> | FAIL: nptl/tst-umask1			# passes if run natively on target (NFS ACLv3 support needed)
>>>> | FAIL: nss/bug-erange
>>>> | FAIL: nss/tst-nss-files-hosts-getent	# Timed out
>>>> | FAIL: nss/tst-nss-files-hosts-multi	# Timed out
>>>> | FAIL: posix/bug-ga2			# DNS issue: google DNS vs. SNPS
>>>> | FAIL: posix/globtest			# require same user on target and host
>>>> | FAIL: posix/tst-getaddrinfo5		# passes outside corporate network
>>>> | FAIL: stdio-common/bug22		# Needs more RAM: 2 GB memory
> 
> We might try to enhance this test to avoid require too much memory.

Indeed.

current list of failures:
Currently debugging the math errors, they are regression from recent rework for
reviews.

FAIL: elf/tst-audit14
FAIL: elf/tst-audit15
FAIL: elf/tst-audit16
FAIL: elf/tst-ldconfig-ld_so_conf-update
FAIL: iconv/test-iconvconfig
FAIL: io/ftwtest
FAIL: io/tst-lockf
FAIL: libio/tst-wfile-sync
FAIL: locale/tst-localedef-path-norm
FAIL: math/test-double-acos
FAIL: math/test-double-asin
FAIL: math/test-float-exp10
FAIL: math/test-float32-exp10
FAIL: math/test-float32x-acos
FAIL: math/test-float32x-asin
FAIL: math/test-float64-acos
FAIL: math/test-float64-asin
FAIL: math/test-ldouble-acos
FAIL: math/test-ldouble-asin
FAIL: nptl/test-cond-printers
FAIL: nptl/test-condattr-printers
FAIL: nptl/test-mutex-printers
FAIL: nptl/test-mutexattr-printers
FAIL: nptl/test-rwlock-printers
FAIL: nptl/test-rwlockattr-printers
FAIL: nptl/tst-umask1
FAIL: nss/bug-erange
FAIL: nss/tst-nss-files-hosts-getent
FAIL: nss/tst-nss-files-hosts-multi
FAIL: posix/bug-ga2
FAIL: posix/globtest
FAIL: posix/tst-getaddrinfo5
FAIL: stdio-common/bug22
FAIL: sunrpc/bug20790
FAIL: timezone/tst-tzset


More information about the Libc-alpha mailing list