--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcc-snapshot: link failure with gnat (/usr/bin/ld: cannot find -laddr2line)
- From: Євгеній Мещеряков <eugen@debian.org>
- Date: Thu, 03 Mar 2011 20:13:10 +0100
- Message-id: <20110303191310.10313.47146.reportbug@openfonts.org>
Package: gcc-snapshot
Version: 20110226-1
Severity: normal
Linking of Ada program fails if it depends on GNAT.Traceback.Symbolic:
% cat testcase.adb
with GNAT.Traceback.Symbolic;
procedure TestCase is
begin
null;
end TestCase;
% gnatmake testcase.adb
gcc -c testcase.adb
gnatbind -x testcase.ali
gnatlink testcase.ali
/usr/bin/ld: cannot find -laddr2line
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/lib/gcc-snapshot/bin/gcc
gnatmake: *** link failed.
This is the same bug as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322849 .
It was fixed in gcc-4.1. This bug is not present in gnat-4.4. I'm using
PATH and LD_LIBRARY_PATH settings as described in README.Debian.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-rc6+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-snapshot depends on:
ii binutils 2.21.0.20110302-1 The GNU assembler, linker and bina
ii ecj-gcj [libecj-java-g 3.5.1-1 standalone version of the Eclipse
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libc6-dev 2.11.2-13 Embedded GNU C Library: Developmen
ii libc6-dev-i386 2.11.2-13 Embedded GNU C Library: 32-bit dev
ii libc6-i386 2.11.2-13 Embedded GNU C Library: 32-bit sha
ii libecj-java-gcj 3.5.1-1 Eclipse Java compiler (native libr
ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii libmpc2 0.9-1 multiple precision complex floatin
ii libmpfr4 3.0.0-7 multiple precision floating-point
ii python 2.6.6-3+squeeze5 interactive high-level object-orie
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
gcc-snapshot recommends no packages.
Versions of packages gcc-snapshot suggests:
pn binutils-gold <none> (no description available)
-- no debconf information
--- End Message ---