Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-59494

glibc: Ensure that xtests can be built [rhel-9.6]

    • glibc-2.34-127.el9
    • No
    • None
    • ZStream
    • Hide
      3bea50ccbc925d4fc5f85ec402b6154cbe770b71
      365b3af67ecaf176b2e2678afe903bebce598fd7
      d5a3ca4061f7adc59196fa58e34eacebbebcbcfe
      Show
      3bea50ccbc925d4fc5f85ec402b6154cbe770b71 365b3af67ecaf176b2e2678afe903bebce598fd7 d5a3ca4061f7adc59196fa58e34eacebbebcbcfe
    • 1
    • sst_pt_libraries
    • ssg_platform_tools
    • 5
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • SST PT Libraries Sprint 10
    • Approved Blocker
    • Release Note Not Required
    • All
    • None

      Steps to reproduce

      1.  make xcheck
      2.  
      3.  

      Expected results

      Actual results

      ../scripts/evaluate-test.sh nptl/tst-setuid1-static $? false false > /root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/nptl/tst-setuid1-static.test-result
      gcc tst-setuid2.c -c -std=gnu11 -fgnu89-inline  -O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie -fcf-protection         -I../include -I/root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/nptl  -I/root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/11/include -isystem /usr/include -D_LIBC_REENTRANT -include /root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/libc-modules.h -DMODULE_NAME=testsuite -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/nptl/tst-setuid2.o -MD -MP -MF /root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/nptl/tst-setuid2.o.dt -MT /root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/nptl/tst-setuid2.o
      In file included from ../test-skeleton.c:46,
                       from tst-setuid2.c:145:
      ../support/check.h:29: error: "FAIL" redefined [-Werror]
         29 | #define FAIL(...) \
            | 
      tst-setuid2.c:33: note: this is the location of the previous definition
         33 | #define FAIL(fmt, ...) \
            | 
      cc1: all warnings being treated as errors
      make[2]: *** [../o-iterator.mk:9: /root/rpmbuild/BUILD/glibc-2.34/build-x86_64-redhat-linux/nptl/tst-setuid2.o] Error 1
      make[2]: Leaving directory '/root/rpmbuild/BUILD/glibc-2.34/nptl'
      make[1]: *** [Makefile:478: nptl/xtests] Error 2
      make[1]: Leaving directory '/root/rpmbuild/BUILD/glibc-2.34'
      make: *** [Makefile:9: xcheck] Error 2

       

       

            skolosov@redhat.com Sergey Kolosov
            skolosov@redhat.com Sergey Kolosov
            Florian Weimer
            Platform Tools - Libraries Bot Platform Tools - Libraries Bot
            Sergey Kolosov Sergey Kolosov
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: