[Bug 1246917] Re: ltrace version is ancient, does not support PIE binaries

HappyCamper 1246917 at bugs.launchpad.net
Fri Sep 15 08:48:13 UTC 2017


This bug is back in 17.04. gcc 6 produces PIE executables by default,
confusing ltrace (no tracing shown), same as above.

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.3.0-12ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) 


** Tags added: zesty

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

Title:
  ltrace version is ancient, does not support PIE binaries

Status in ltrace package in Ubuntu:
  Confirmed

Bug description:
  The version of ltrace in the distro is ancient and doesn't support PIE
  binaries. The upstream version works just fine with them.

  Expected:

  "ltrace ssh" produces trace of library calls.

  Actual:

  "ltrace ssh" includes no tracing.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ltrace 0.5.3-2.1ubuntu3
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Thu Oct 31 15:38:09 2013
  Dependencies:
   gcc-4.8-base 4.8.1-10ubuntu8
   libc6 2.17-93ubuntu4
   libelf1 0.157-1ubuntu1
   libgcc1 1:4.8.1-10ubuntu8
   multiarch-support 2.17-93ubuntu4
  InstallationDate: Installed on 2013-10-23 (7 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  SourcePackage: ltrace
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list