Public bug reported:

== Comment: #0 - Manvanthara B. Puttashankar <[email protected]> - 2014-08-07 
07:20:34 ==
---Problem Description---
ptrace test suite execution fails for Ubuntu 14.10
 
---uname output---
 manu@ubuntuAug7:~/ptrace-tests$ uname -a Linux ubuntuAug7 3.16.0-6-generic 
#11-Ubuntu SMP Mon Jul 28 02:00:45 UTC 2014 pp           c64le ppc64le ppc64le 
GNU/Linux
 
Machine Type = 8284-22A  
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
Ubuntu 14.10 kernel version:
~/ptrace-tests$ uname -a
Linux ubuntuAug7 3.16.0-6-generic #11-Ubuntu SMP Mon Jul 28 02:00:45 UTC 2014 
pp           c64le ppc64le ppc64le GNU/Linux


Steps to reproduce:

1.  install the below packages
~$ sudo apt-get install g++
~$ sudo apt-get install glibc
~$ sudo apt-get update
~$ sudo apt-get install gawk
~$ sudo apt-get install make
~$ sudo apt-get upgrade
~$ sudo apt-get install cvs

2. Download the ptrace test suite.
~$ cvs -d :pserver:anoncvs:[email protected]:/cvs/systemtap co ptrace-tests
cvs checkout: Updating ptrace-tests
U ptrace-tests/.cvsignore
U ptrace-tests/Makefile.am
U ptrace-tests/PTRACE
U ptrace-tests/README
U ptrace-tests/STATUS.tests
U ptrace-tests/bootstrap.sh
U ptrace-tests/configure.ac
U ptrace-tests/test-template.c
cvs checkout: Updating ptrace-tests/biarch-tests
U ptrace-tests/biarch-tests/.cvsignore
U ptrace-tests/biarch-tests/Makefile.am
U ptrace-tests/biarch-tests/configure.ac
cvs checkout: Updating ptrace-tests/config
U ptrace-tests/config/.cvsignore
U ptrace-tests/config/biarch.m4
cvs checkout: Updating ptrace-tests/tests
U ptrace-tests/tests/.cvsignore
U ptrace-tests/tests/Makefile.am
U ptrace-tests/tests/attach-into-signal.c
U ptrace-tests/tests/attach-sigcont-wait-3x.c
U ptrace-tests/tests/attach-sigcont-wait.c
U ptrace-tests/tests/attach-stop-then-wait.c
U ptrace-tests/tests/attach-wait-on-stopped.c
U ptrace-tests/tests/block-step.c
U ptrace-tests/tests/bogus-echild.c
U ptrace-tests/tests/clone-get-signal.c
U ptrace-tests/tests/clone-multi-ptrace.c
U ptrace-tests/tests/clone-ptrace.c
U ptrace-tests/tests/configure.ac
U ptrace-tests/tests/detach-can-signal.c
U ptrace-tests/tests/detach-parting-signal.c
U ptrace-tests/tests/detach-sigkill-race.c
U ptrace-tests/tests/detach-stopped-rhel5.c
U ptrace-tests/tests/detach-stopped.c
U ptrace-tests/tests/eintr-on-attach.c
U ptrace-tests/tests/erestartsys-debuggee.c
U ptrace-tests/tests/erestartsys-debugger.c
U ptrace-tests/tests/erestartsys-trap-32fails-debuggee.c
U ptrace-tests/tests/erestartsys-trap-32fails-debugger.c
U ptrace-tests/tests/erestartsys-trap-debuggee.c
U ptrace-tests/tests/erestartsys-trap-debugger.c
U ptrace-tests/tests/erestartsys-trap.c
U ptrace-tests/tests/erestartsys.c
U ptrace-tests/tests/event-exit-proc-environ.c
U ptrace-tests/tests/event-exit-proc-maps.c
U ptrace-tests/tests/fpregs-smp.c
U ptrace-tests/tests/highmem-debuggee.c
U ptrace-tests/tests/highmem-debugger.c
U ptrace-tests/tests/late-ptrace-may-attach-check.c
U ptrace-tests/tests/o_tracevfork-parent.c
U ptrace-tests/tests/o_tracevfork.c
U ptrace-tests/tests/o_tracevforkdone.c
U ptrace-tests/tests/peekpokeusr.c
U ptrace-tests/tests/pid-namespace.c
U ptrace-tests/tests/powerpc-altivec.c
U ptrace-tests/tests/ppc-dabr-race.c
U ptrace-tests/tests/ppc-ptrace-exec-full-regs.c
U ptrace-tests/tests/ptrace-cont-sigstop-detach.c
U ptrace-tests/tests/ptrace-on-job-control-stopped.c
U ptrace-tests/tests/ptrace_cont-defeats-sigblock.c
U ptrace-tests/tests/ptrace_event_clone.c
U ptrace-tests/tests/reparent-zombie-clone.c
U ptrace-tests/tests/reparent-zombie.c
U ptrace-tests/tests/ret-to-nxpage.c
U ptrace-tests/tests/sa-resethand-on-cont-signal.c
U ptrace-tests/tests/sigint-before-syscall-exit.c
U ptrace-tests/tests/signal-loss.c
U ptrace-tests/tests/state-tracing-stop.c
U ptrace-tests/tests/step-detach.c
U ptrace-tests/tests/step-fork.c
U ptrace-tests/tests/step-from-clone.c
U ptrace-tests/tests/step-into-handler-cont.c
U ptrace-tests/tests/step-into-handler.c
U ptrace-tests/tests/step-jump-cont-strict.c
U ptrace-tests/tests/step-jump-cont.c
U ptrace-tests/tests/step-simple.c
U ptrace-tests/tests/step-through-sigret.c
U ptrace-tests/tests/step-to-breakpoint.c
U ptrace-tests/tests/stop-attach-then-wait.c
U ptrace-tests/tests/stopped-attach-transparency.c
U ptrace-tests/tests/stopped-detach-sleeping-3x.c
U ptrace-tests/tests/stopped-detach-sleeping.c
U ptrace-tests/tests/syscall-from-clone.c
U ptrace-tests/tests/syscall-reset.c
U ptrace-tests/tests/tif-syscall-trace-after-detach.c
U ptrace-tests/tests/tracer-lockup-on-sighandler-kill.c
U ptrace-tests/tests/user-area-access.c
U ptrace-tests/tests/user-area-padding.c
U ptrace-tests/tests/user-regs-peekpoke.c
U ptrace-tests/tests/waitpid-double-report.c
U ptrace-tests/tests/watchpoint-zeroaddr.c
U ptrace-tests/tests/watchpoint.c
U ptrace-tests/tests/x86_64-cs.c
U ptrace-tests/tests/x86_64-gsbase.c
U ptrace-tests/tests/x86_64-ia32-gs.c

3.  execute the tests
~$ cd ptrace-tests/
~/ptrace-tests$ ls
biarch-tests  config        CVS          PTRACE  STATUS.tests  test-template.c
bootstrap.sh  configure.ac  Makefile.am  README  tests
~/ptrace-tests$ autoreconf -f -i
configure.ac:18: installing '../config/compile'
configure.ac:15: installing '../config/install-sh'
configure.ac:15: installing '../config/missing'
Makefile.am: installing '../config/depcomp'
parallel-tests: installing '../config/test-driver'

~/ptrace-tests$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets ... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking gcc option for 32-bit word size... -m32
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for 64-bit host... yes
checking whether gcc -m32 makes executables we can run... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in tests (/home/manu/ptrace-tests/tests)
configure: running /bin/bash ./configure --disable-option-checking 
'--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets ... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking gcc option for 32-bit word size... -m32
checking for 64-bit host... yes
checking whether gcc -m32 makes executables we can run... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands


~/ptrace-tests$ make check
Making check in tests
make[1]: Entering directory '/home/manu/ptrace-tests/tests'^M
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.   \^M
              -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing 
-g -O2 -o erestartsys-debuggee erestartsys-debuggee.c^M
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.   \^M
              -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing 
-g -O2 -o highmem-debuggee highmem-debuggee.c^M
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.   \^M
              -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing 
-g -O2 -o erestartsys-trap-debuggee erestartsys-trap-debuggee.c^M
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.   \^M
              -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing 
-g -O2 -o erestartsys-trap-32fails-debuggee erestartsys-trap-32fails-debuggee.c^
....
....

 suite\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 
-D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    
-std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT 
sa-resethand-on-cont-signal.o -MD -MP -MF .deps/sa-resethand-on-cont-signal.Tpo 
-c -o sa-resethand-on-cont-signal.o sa-resethand-on-cont-signal.c
mv -f .deps/sa-resethand-on-cont-signal.Tpo .deps/sa-resethand-on-cont-signal.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o sa-resethand-on-cont-signal sa-resethand-on-cont-signal.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT 
ptrace_cont-defeats-sigblock.o -MD -MP -MF 
.deps/ptrace_cont-defeats-sigblock.Tpo -c -o ptrace_cont-defeats-sigblock.o 
ptrace_cont-defeats-sigblock.c
mv -f .deps/ptrace_cont-defeats-sigblock.Tpo 
.deps/ptrace_cont-defeats-sigblock.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o ptrace_cont-defeats-sigblock ptrace_cont-defeats-sigblock.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT 
ptrace-cont-sigstop-detach.o -MD -MP -MF .deps/ptrace-cont-sigstop-detach.Tpo 
-c -o ptrace-cont-sigstop-detach.o ptrace-cont-sigstop-detach.c
mv -f .deps/ptrace-cont-sigstop-detach.Tpo .deps/ptrace-cont-sigstop-detach.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o ptrace-cont-sigstop-detach ptrace-cont-sigstop-detach.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT ptrace_event_clone.o -MD 
-MP -MF .deps/ptrace_event_clone.Tpo -c -o ptrace_event_clone.o 
ptrace_event_clone.c
mv -f .deps/ptrace_event_clone.Tpo .deps/ptrace_event_clone.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 
-Wl,-z,now  -o ptrace_event_clone ptrace_event_clone.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT 
tif-syscall-trace-after-detach.o -MD -MP -MF 
.deps/tif-syscall-trace-after-detach.Tpo -c -o tif-syscall-trace-after-detach.o 
tif-syscall-trace-after-detach.c
mv -f .deps/tif-syscall-trace-after-detach.Tpo 
.deps/tif-syscall-trace-after-detach.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o tif-syscall-trace-after-detach tif-syscall-trace-after-detach.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT event-exit-proc-maps.o -MD 
-MP -MF .deps/event-exit-proc-maps.Tpo -c -o event-exit-proc-maps.o 
event-exit-proc-maps.c
mv -f .deps/event-exit-proc-maps.Tpo .deps/event-exit-proc-maps.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o event-exit-proc-maps event-exit-proc-maps.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT event-exit-proc-environ.o 
-MD -MP -MF .deps/event-exit-proc-environ.Tpo -c -o event-exit-proc-environ.o 
event-exit-proc-environ.c
mv -f .deps/event-exit-proc-environ.Tpo .deps/event-exit-proc-environ.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o event-exit-proc-environ event-exit-proc-environ.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT x86_64-ia32-gs.o -MD -MP 
-MF .deps/x86_64-ia32-gs.Tpo -c -o x86_64-ia32-gs.o x86_64-ia32-gs.c
mv -f .deps/x86_64-ia32-gs.Tpo .deps/x86_64-ia32-gs.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 
-lpthread  -o x86_64-ia32-gs x86_64-ia32-gs.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT x86_64-gsbase.o -MD -MP -MF 
.deps/x86_64-gsbase.Tpo -c -o x86_64-gsbase.o x86_64-gsbase.c
mv -f .deps/x86_64-gsbase.Tpo .deps/x86_64-gsbase.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o x86_64-gsbase x86_64-gsbase.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT powerpc-altivec.o -MD -MP 
-MF .deps/powerpc-altivec.Tpo -c -o powerpc-altivec.o powerpc-altivec.c
mv -f .deps/powerpc-altivec.Tpo .deps/powerpc-altivec.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o powerpc-altivec powerpc-altivec.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT peekpokeusr.o -MD -MP -MF 
.deps/peekpokeusr.Tpo -c -o peekpokeusr.o peekpokeusr.c
mv -f .deps/peekpokeusr.Tpo .deps/peekpokeusr.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o peekpokeusr peekpokeusr.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT watchpoint.o -MD -MP -MF 
.deps/watchpoint.Tpo -c -o watchpoint.o watchpoint.c
mv -f .deps/watchpoint.Tpo .deps/watchpoint.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o watchpoint watchpoint.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT block-step.o -MD -MP -MF 
.deps/block-step.Tpo -c -o block-step.o block-step.c
mv -f .deps/block-step.Tpo .deps/block-step.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o block-step block-step.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT step-jump-cont.o -MD -MP 
-MF .deps/step-jump-cont.Tpo -c -o step-jump-cont.o step-jump-cont.c
mv -f .deps/step-jump-cont.Tpo .deps/step-jump-cont.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o step-jump-cont step-jump-cont.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT step-jump-cont-strict.o -MD 
-MP -MF .deps/step-jump-cont-strict.Tpo -c -o step-jump-cont-strict.o 
step-jump-cont-strict.c
mv -f .deps/step-jump-cont-strict.Tpo .deps/step-jump-cont-strict.Po
gcc -std=gnu99 -Wall -Werror -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2   
-o step-jump-cont-strict step-jump-cont-strict.o
gcc -DPACKAGE_NAME=\"ptrace\ regression\ test\ suite\" 
-DPACKAGE_TARNAME=\"ptrace-tests\" -DPACKAGE_VERSION=\"0.1\" 
-DPACKAGE_STRING=\"ptrace\ regression\ test\ suite\ 0.1\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ptrace-tests\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -I.    -std=gnu99 -Wall -Werror 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -MT ppc-dabr-race.o -MD -MP -MF 
.deps/ppc-dabr-race.Tpo -c -o ppc-dabr-race.o ppc-dabr-race.c
ppc-dabr-race.c: In function check:
ppc-dabr-race.c:113:18: error: storage size of siginfo isn't known
   struct siginfo siginfo;
                  ^
ppc-dabr-race.c:113:18: error: unused variable siginfo [-Werror=unused-variable]
cc1: all warnings being treated as errors
Makefile:1350: recipe for target 'ppc-dabr-race.o' failed
make[2]: *** [ppc-dabr-race.o] Error 1
make[2]: Leaving directory '/home/manu/ptrace-tests/tests'
Makefile:2192: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/manu/ptrace-tests/tests'
Makefile:342: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

~/ptrace-tests$ sudo find / -name "siginfo.h" -print
/usr/src/linux-headers-3.16.0-6/arch/alpha/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/blackfin/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/microblaze/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/mn10300/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/score/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/tile/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/s390/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/arm64/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/sparc/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/sparc/include/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/cris/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/x86/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/parisc/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/powerpc/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/m32r/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/metag/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/frv/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/mips/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/mips/include/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/ia64/include/uapi/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/arch/ia64/include/asm/siginfo.h
/usr/src/linux-headers-3.16.0-6/include/asm-generic/siginfo.h
/usr/src/linux-headers-3.16.0-6/include/uapi/asm-generic/siginfo.h
/usr/include/asm-generic/siginfo.h
/usr/include/powerpc64le-linux-gnu/bits/siginfo.h
/usr/include/powerpc64le-linux-gnu/asm/siginfo.h


4. error observed, Test fails with the below message.
ppc-dabr-race.c: In function ?check?:
ppc-dabr-race.c:113:18: error: storage size of siginfo isn't known
   struct siginfo siginfo;
                  ^
ppc-dabr-race.c:113:18: error: unused variable siginfo [-Werror=unused-variable]
cc1: all warnings being treated as errors

Expected: Test suite needs to be fixed for power LE platform.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bugnameltc-114391 severity-medium 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-114391 severity-medium
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1355243

Title:
  ptrace test suite execution fails for Ubuntu 14.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1355243/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to