[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#502189: libc6: ldd on a static prog: unknown exit code (126)



tag 502189 + unreproducible
thanks

Christophe Lohr a écrit :
> Package: libc6
> Version: 2.7-14
> Severity: minor
> 
> Hi,
>   Let us consider "helloworld.c"
> - 8< --------
> #include <stdlib.h>
> #include <stdio.h>
> 
> int main() {
>  printf("Hello World!\n");
>  exit(0);
> } 
> - 8< --------
> 
> Then, compile it with: gcc -static helloworld.c -o helloworld
> And finally try a: ldd helloworld
> 
> The resilt with ldd from "libc6 2.7-14" is:
> ldd: exited with unknown exit code (126)
> 
> IMHO, this is a curious answer (an not very helpfull)...
> 
> 
> As a comparison, ldd from "libc6 2.3.6.ds1-13" provides a better answer:
> not a dynamic executable
> 

Unreproducible here. Please prode the output of "sh -x /usr/bin/ldd
helloworld".

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: