public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* RV glibc 2.37 testing
@ 2023-01-27 19:46 Vineet Gupta
  2023-01-27 21:04 ` Darius Rad
  2023-01-28  0:18 ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Vineet Gupta @ 2023-01-27 19:46 UTC (permalink / raw)
  To: Darius Rad; +Cc: Palmer Dabbelt, GNU C Library

Hi Darius,

I see you updated the 2.37 wiki pages for RV builds: What platform(s) 
did you use for testing.
I've built/run glibc bleeding edge on Hifive Unmatched - Ubuntu 22.04 
and I see lot more failures than your runs.

No additional build flags were used so it should default to how gcc was 
configured: --with-arch=rv64gc --with-abi=lp64d

Ubuntu 22.04.1 LTS
Linux ubuntu 5.15.0-1016-generic
GNU assembler version 2.38
gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04)
glibc: 2023-01-25 0d50f477f4 stdio-common: Handle -1 buffer size in 
__sprintf_chk & co (bug 30039)


FAIL: dlfcn/bug-atexit3
FAIL: elf/check-abi-libc
FAIL: elf/tst-glibc-hwcaps-prepend-cache
FAIL: elf/tst-ldconfig-ld_so_conf-update
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: elf/tst-valgrind-smoke
FAIL: locale/tst-localedef-path-norm
FAIL: malloc/tst-malloc-too-large-malloc-hugetlb2
UNSUPPORTED: math/test-fesetexcept-traps
UNSUPPORTED: math/test-fexcept-traps
UNSUPPORTED: math/test-nearbyint-except-2
UNSUPPORTED: misc/tst-adjtimex
UNSUPPORTED: misc/tst-clock_adjtime
UNSUPPORTED: misc/tst-ntp_adjtime
UNSUPPORTED: misc/tst-pkey
UNSUPPORTED: misc/tst-rseq
UNSUPPORTED: misc/tst-rseq-disable
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
FAIL: nptl/tst-cancel24
FAIL: nptl/tst-minstack-throw
FAIL: nptl/tst-once5
UNSUPPORTED: nptl/tst-pthread-gdb-attach
UNSUPPORTED: nptl/tst-pthread-gdb-attach-static
UNSUPPORTED: nptl/tst-rseq-nptl
FAIL: nptl/tst-thread-exit-clobber
FAIL: nptl/tst-thread_local1
FAIL: nss/tst-nss-files-hosts-getent
FAIL: nss/tst-nss-files-hosts-long
FAIL: nss/tst-nss-files-hosts-multi
UNSUPPORTED: resolv/tst-resolv-ai_idn
UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1
FAIL: stdlib/test-bz22786
FAIL: stdlib/tst-arc4random-fork
FAIL: stdlib/tst-quick_exit
FAIL: stdlib/tst-thread-quick_exit
FAIL: string/test-mempcpy
FAIL: string/test-strncasecmp
UNSUPPORTED: time/tst-clock_settime
UNSUPPORTED: time/tst-settimeofday
FAIL: wcsmbs/test-wcsnlen
Summary of test results:
      21 FAIL
    4589 PASS
      23 UNSUPPORTED
      16 XFAIL
       2 XPASS


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RV glibc 2.37 testing
  2023-01-27 19:46 RV glibc 2.37 testing Vineet Gupta
@ 2023-01-27 21:04 ` Darius Rad
  2023-01-28  0:18 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Darius Rad @ 2023-01-27 21:04 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: Palmer Dabbelt, GNU C Library

On Fri, Jan 27, 2023 at 11:46:07AM -0800, Vineet Gupta wrote:
> 
> I see you updated the 2.37 wiki pages for RV builds: What platform(s) did
> you use for testing.

I run Debian on QEMU and a Microchip PolarFire Icicle.

> I've built/run glibc bleeding edge on Hifive Unmatched - Ubuntu 22.04 and I
> see lot more failures than your runs.

Did you debug the failures to see why they are failing?  If it is due to
timeout or segfault, that is likely an environment issue.

// darius


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RV glibc 2.37 testing
  2023-01-27 19:46 RV glibc 2.37 testing Vineet Gupta
  2023-01-27 21:04 ` Darius Rad
@ 2023-01-28  0:18 ` Khem Raj
  2023-01-28  0:27   ` Vineet Gupta
  1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2023-01-28  0:18 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: Darius Rad, Palmer Dabbelt, GNU C Library

On Fri, Jan 27, 2023 at 11:46 AM Vineet Gupta <vineetg@rivosinc.com> wrote:
>
> Hi Darius,
>
> I see you updated the 2.37 wiki pages for RV builds: What platform(s)
> did you use for testing.
> I've built/run glibc bleeding edge on Hifive Unmatched - Ubuntu 22.04
> and I see lot more failures than your runs.
>
> No additional build flags were used so it should default to how gcc was
> configured: --with-arch=rv64gc --with-abi=lp64d
>
> Ubuntu 22.04.1 LTS
> Linux ubuntu 5.15.0-1016-generic
> GNU assembler version 2.38
> gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04)
> glibc: 2023-01-25 0d50f477f4 stdio-common: Handle -1 buffer size in
> __sprintf_chk & co (bug 30039)
>
>
> FAIL: dlfcn/bug-atexit3
> FAIL: elf/check-abi-libc
> FAIL: elf/tst-glibc-hwcaps-prepend-cache
> FAIL: elf/tst-ldconfig-ld_so_conf-update
> XPASS: elf/tst-protected1a
> XPASS: elf/tst-protected1b
> UNSUPPORTED: elf/tst-valgrind-smoke
> FAIL: locale/tst-localedef-path-norm
> FAIL: malloc/tst-malloc-too-large-malloc-hugetlb2
> UNSUPPORTED: math/test-fesetexcept-traps
> UNSUPPORTED: math/test-fexcept-traps
> UNSUPPORTED: math/test-nearbyint-except-2
> UNSUPPORTED: misc/tst-adjtimex
> UNSUPPORTED: misc/tst-clock_adjtime
> UNSUPPORTED: misc/tst-ntp_adjtime
> UNSUPPORTED: misc/tst-pkey
> UNSUPPORTED: misc/tst-rseq
> UNSUPPORTED: misc/tst-rseq-disable
> 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
> FAIL: nptl/tst-cancel24
> FAIL: nptl/tst-minstack-throw
> FAIL: nptl/tst-once5
> UNSUPPORTED: nptl/tst-pthread-gdb-attach
> UNSUPPORTED: nptl/tst-pthread-gdb-attach-static
> UNSUPPORTED: nptl/tst-rseq-nptl
> FAIL: nptl/tst-thread-exit-clobber
> FAIL: nptl/tst-thread_local1
> FAIL: nss/tst-nss-files-hosts-getent
> FAIL: nss/tst-nss-files-hosts-long
> FAIL: nss/tst-nss-files-hosts-multi
> UNSUPPORTED: resolv/tst-resolv-ai_idn
> UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1
> FAIL: stdlib/test-bz22786
> FAIL: stdlib/tst-arc4random-fork
> FAIL: stdlib/tst-quick_exit
> FAIL: stdlib/tst-thread-quick_exit
> FAIL: string/test-mempcpy
> FAIL: string/test-strncasecmp
> UNSUPPORTED: time/tst-clock_settime
> UNSUPPORTED: time/tst-settimeofday
> FAIL: wcsmbs/test-wcsnlen
> Summary of test results:
>       21 FAIL
>     4589 PASS
>       23 UNSUPPORTED
>       16 XFAIL
>        2 XPASS
>

here is something I am seeing on unmatched, I wanted to look further
into failures as some of them perhaps are
related to distro missing packages needed during testing etc.

http://sprunge.us/L0XnSm

This is with Yocto tip of trunk rv64gc ( Kernel 6.1.8 + binutils 2.40
+ gcc version 13.0.1 20230122 (experimental)  )

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RV glibc 2.37 testing
  2023-01-28  0:18 ` Khem Raj
@ 2023-01-28  0:27   ` Vineet Gupta
  2023-01-28  0:36     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Vineet Gupta @ 2023-01-28  0:27 UTC (permalink / raw)
  To: Khem Raj; +Cc: Darius Rad, Palmer Dabbelt, GNU C Library



On 1/27/23 16:18, Khem Raj wrote:
> On Fri, Jan 27, 2023 at 11:46 AM Vineet Gupta <vineetg@rivosinc.com> wrote:
>> Hi Darius,
>>
>> I see you updated the 2.37 wiki pages for RV builds: What platform(s)
>> did you use for testing.
>> I've built/run glibc bleeding edge on Hifive Unmatched - Ubuntu 22.04
>> and I see lot more failures than your runs.
>>
>> No additional build flags were used so it should default to how gcc was
>> configured: --with-arch=rv64gc --with-abi=lp64d
>>
>> Ubuntu 22.04.1 LTS
>> Linux ubuntu 5.15.0-1016-generic
>> GNU assembler version 2.38
>> gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04)
>> glibc: 2023-01-25 0d50f477f4 stdio-common: Handle -1 buffer size in
>> __sprintf_chk & co (bug 30039)
>>

[snip...]
>> Summary of test results:
>>        21 FAIL
>>      4589 PASS
>>        23 UNSUPPORTED
>>        16 XFAIL
>>         2 XPASS
>>
> here is something I am seeing on unmatched, I wanted to look further
> into failures as some of them perhaps are
> related to distro missing packages needed during testing etc.
>
> http://sprunge.us/L0XnSm
>
> This is with Yocto tip of trunk rv64gc ( Kernel 6.1.8 + binutils 2.40
> + gcc version 13.0.1 20230122 (experimental)  )


Above seems to have:

Summary of test results:
     185 FAIL
    4349 PASS
      44 UNSUPPORTED
      12 XFAIL
       6 XPASS

A lot of these fails are likely because libgcc_s.so.1 is not present in the --library-path used to invoke the newly build loader.
So I need to manually copy it from /lib/riscv64-linux-gnu/ to glibc-build before firing  make check
I almost forgot that this needs to be fixed upstream.

-Vineet


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RV glibc 2.37 testing
  2023-01-28  0:27   ` Vineet Gupta
@ 2023-01-28  0:36     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2023-01-28  0:36 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: Darius Rad, Palmer Dabbelt, GNU C Library

On Fri, Jan 27, 2023 at 4:28 PM Vineet Gupta <vineetg@rivosinc.com> wrote:
>
>
>
> On 1/27/23 16:18, Khem Raj wrote:
> > On Fri, Jan 27, 2023 at 11:46 AM Vineet Gupta <vineetg@rivosinc.com> wrote:
> >> Hi Darius,
> >>
> >> I see you updated the 2.37 wiki pages for RV builds: What platform(s)
> >> did you use for testing.
> >> I've built/run glibc bleeding edge on Hifive Unmatched - Ubuntu 22.04
> >> and I see lot more failures than your runs.
> >>
> >> No additional build flags were used so it should default to how gcc was
> >> configured: --with-arch=rv64gc --with-abi=lp64d
> >>
> >> Ubuntu 22.04.1 LTS
> >> Linux ubuntu 5.15.0-1016-generic
> >> GNU assembler version 2.38
> >> gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04)
> >> glibc: 2023-01-25 0d50f477f4 stdio-common: Handle -1 buffer size in
> >> __sprintf_chk & co (bug 30039)
> >>
>
> [snip...]
> >> Summary of test results:
> >>        21 FAIL
> >>      4589 PASS
> >>        23 UNSUPPORTED
> >>        16 XFAIL
> >>         2 XPASS
> >>
> > here is something I am seeing on unmatched, I wanted to look further
> > into failures as some of them perhaps are
> > related to distro missing packages needed during testing etc.
> >
> > http://sprunge.us/L0XnSm
> >
> > This is with Yocto tip of trunk rv64gc ( Kernel 6.1.8 + binutils 2.40
> > + gcc version 13.0.1 20230122 (experimental)  )
>
>
> Above seems to have:
>
> Summary of test results:
>      185 FAIL
>     4349 PASS
>       44 UNSUPPORTED
>       12 XFAIL
>        6 XPASS
>
> A lot of these fails are likely because libgcc_s.so.1 is not present in the --library-path used to invoke the newly build loader.
> So I need to manually copy it from /lib/riscv64-linux-gnu/ to glibc-build before firing  make check
> I almost forgot that this needs to be fixed upstream.

Yes, looking into it a bit now, its due to some botched up
LD_LIBRARY_PATHS in my cross-test scripts, hopefully next run will be
better now.
>
> -Vineet
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-28  0:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 19:46 RV glibc 2.37 testing Vineet Gupta
2023-01-27 21:04 ` Darius Rad
2023-01-28  0:18 ` Khem Raj
2023-01-28  0:27   ` Vineet Gupta
2023-01-28  0:36     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).