------- Comment From [email protected] 2017-02-17 00:07 EDT-------
In Ubuntu 17 04,
with ltrace 0.7.3, make fails with same problem.

# uname -a
Linux ltc-haba1 4.9.0-15-generic #16-Ubuntu SMP Fri Jan 20 15:28:49 UTC 2017 
ppc64le ppc64le ppc64le GNU/Linux

# dpkg -l | grep ltrace
ii  ltrace                                        0.7.3-6ubuntu1                
           ppc64el      Tracks runtime library calls in dynamically linked 
programs

~/ltrace-0.7.3# ./configure
..
~/ltrace-0.7.3# make
make  all-recursive
make[1]: Entering directory '/root/ltrace-0.7.3'
Making all in sysdeps
make[2]: Entering directory '/root/ltrace-0.7.3/sysdeps'
Making all in linux-gnu
make[3]: Entering directory '/root/ltrace-0.7.3/sysdeps/linux-gnu'
Making all in ppc
make[4]: Entering directory '/root/ltrace-0.7.3/sysdeps/linux-gnu/ppc'
/bin/bash ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../..  -I../../../sysdeps/linux-gnu/ppc       -I../../../sysdeps/linux-gnu 
   -I../../../sysdeps      -I../../..   -Wall -Wsign-compare -Wfloat-equal 
-Wformat-security -Werror -g -O2 -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c -o 
plt.lo plt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. 
-I../../../sysdeps/linux-gnu/ppc -I../../../sysdeps/linux-gnu 
-I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal 
-Wformat-security -Werror -g -O2 -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c plt.c  
-fPIC -DPIC -o .libs/plt.o
plt.c: In function 'arch_elf_add_plt_entry':
plt.c:781:3: error: 'libsym' may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
free(libsym);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:316: recipe for target 'plt.lo' failed
make[4]: *** [plt.lo] Error 1
make[4]: Leaving directory '/root/ltrace-0.7.3/sysdeps/linux-gnu/ppc'
Makefile:382: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/root/ltrace-0.7.3/sysdeps/linux-gnu'
Makefile:299: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/ltrace-0.7.3/sysdeps'
Makefile:741: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/ltrace-0.7.3'
Makefile:447: recipe for target 'all' failed
make: *** [all] Error 2

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

Title:
  In Ubuntu16.10 :ltrace test compile failed as uninitialized variable

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

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

Reply via email to