Your message dated Wed, 09 Nov 2005 10:02:11 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#315569: fixed in ghdl 0.20-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Jun 2005 15:50:28 +0000
>From [EMAIL PROTECTED] Thu Jun 23 08:50:27 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mta08-winn.ispmail.ntl.com [81.103.221.48]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DlTyF-0006BM-00; Thu, 23 Jun 2005 08:50:27 -0700
Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35])
by mta08-winn.ispmail.ntl.com with ESMTP
id <[EMAIL PROTECTED]>;
Thu, 23 Jun 2005 16:49:48 +0100
Received: from andorra.chezphil.org ([81.104.196.62])
by aamta11-winn.ispmail.ntl.com with ESMTP
id <[EMAIL PROTECTED]>;
Thu, 23 Jun 2005 16:49:48 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Phil Endecott <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /usr/bin/ld: cannot find -lgnat-3.4
X-Mailer: reportbug 3.12
Date: Thu, 23 Jun 2005 16:49:45 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: ghdl
Version: 0.18-2
Severity: important
Hi,
With the following trivial example:
entity hello is
end entity;
architecture world of hello is
begin
end architecture;
(or larger examples) I get the following errors when elaborating:
$ ghdl -a hello.vhdl
[EMAIL PROTECTED]:~/newnham/vhdl$ ghdl -a hello.vhdl
[EMAIL PROTECTED]:~/newnham/vhdl$ ghdl -e hello
/usr/bin/ld: cannot find -lgnat-3.4
collect2: ld returned 1 exit status
/usr/lib/ghdl/bin/ghdl: compilation error
I do have /usr/lib/libgnat-3.4.
I mainly use gcc-3.3. I did have an old -3.4 gcc/g++ package installed.
When I installed ghdl it upgraded these and installed various other -3.4
packages. When I elaborate with -v I see that it is using plain "gcc"
to link:
$ ghdl -e -v hello
/usr/lib/ghdl/libexec/gcc/i386-linux/3.4.4/ghdl1
-P/usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib/v93/std/
-P/usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib/v93/ieee/ --elab hello
-l e~hello.lst -quiet -o e~hello.s e~hello
/usr/bin/as -o e~hello.o e~hello.s
HERE >>>>/usr/bin/gcc -o hello e~hello.o
/usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib/v93/std/std_standard.o
hello.o /usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib//libgrt.a -ldl
-L./ -L/usr/lib/gcc/i486-linux/3.4.4/adalib/ -lgnat-3.4
/usr/bin/ld: cannot find -lgnat-3.4
collect2: ld returned 1 exit status
/usr/lib/ghdl/bin/ghdl: compilation error
This gcc is 3.3.6. Does that matter?
Anyway, running that gcc with --verbose:
$ /usr/bin/gcc --verbose -o hello e~hello.o
/usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib/v93/std/std_standard.o
hello.o /usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib//libgrt.a -ldl
-L./ -L/usr/lib/gcc/i486-linux/3.4.4/adalib/ -lgnat-3.4
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.6/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-5)
/usr/lib/gcc-lib/i486-linux/3.3.6/collect2 --eh-frame-hdr -m elf_i386
-dynamic-linker /lib/ld-linux.so.2 -o hello
/usr/lib/gcc-lib/i486-linux/3.3.6/../../../crt1.o
/usr/lib/gcc-lib/i486-linux/3.3.6/../../../crti.o
/usr/lib/gcc-lib/i486-linux/3.3.6/crtbegin.o -L./
-L/usr/lib/gcc/i486-linux/3.4.4/adalib/
-L/usr/lib/gcc-lib/i486-linux/3.3.6
-L/usr/lib/gcc-lib/i486-linux/3.3.6/../../.. e~hello.o
/usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib/v93/std/std_standard.o
hello.o /usr/lib/ghdl/lib/gcc/i386-linux/3.4.4/vhdl/lib//libgrt.a -ldl
-lgnat-3.4 -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
/usr/lib/gcc-lib/i486-linux/3.3.6/crtend.o
/usr/lib/gcc-lib/i486-linux/3.3.6/../../../crtn.o
/usr/bin/ld: cannot find -lgnat-3.4
collect2: ld returned 1 exit status
It invokes collect2 with -lgnat-3.4, which looks sensible to me, but
fails.
If I use /usr/lib/libgnat-3.4.so.1 instead of -lgnat3.4 it seems to
work. (I haven't actually checked that the compiled code functions, but
it at least links without errors.)
I presume that this is something to do with paths or a missing
dependency or static-vs-dynamic libraries something like that. Does
the link look at all different for you on a working system? Maybe my
-3.3 installation is a problem, but I seem to get the same error if I
run gcc-3.4 to link manually.
Help!
--Phil.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (800, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages ghdl depends on:
ii gnat-3.4 3.4.4-0 The GNU Ada compiler
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.0-9 GCC support library
ii libgnat-3.4 3.4.4-0 Runtime library for GNU Ada applic
-- no debconf information
---------------------------------------
Received: (at 315569-close) by bugs.debian.org; 9 Nov 2005 18:36:46 +0000
>From [EMAIL PROTECTED] Wed Nov 09 10:36:46 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EZuGx-0004Pq-00; Wed, 09 Nov 2005 10:02:11 -0800
From: [EMAIL PROTECTED] (Wesley J. Landaker)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#315569: fixed in ghdl 0.20-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 09 Nov 2005 10:02:11 -0800
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: ghdl
Source-Version: 0.20-1
We believe that the bug you reported is fixed in the latest version of
ghdl, which is due to be installed in the Debian FTP archive:
ghdl_0.20-1.diff.gz
to pool/main/g/ghdl/ghdl_0.20-1.diff.gz
ghdl_0.20-1.dsc
to pool/main/g/ghdl/ghdl_0.20-1.dsc
ghdl_0.20-1_i386.deb
to pool/main/g/ghdl/ghdl_0.20-1_i386.deb
ghdl_0.20.orig.tar.gz
to pool/main/g/ghdl/ghdl_0.20.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Wesley J. Landaker <[EMAIL PROTECTED]> (supplier of updated ghdl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 9 Nov 2005 09:46:36 -0700
Source: ghdl
Binary: ghdl
Architecture: source i386
Version: 0.20-1
Distribution: unstable
Urgency: low
Maintainer: Wesley J. Landaker <[EMAIL PROTECTED]>
Changed-By: Wesley J. Landaker <[EMAIL PROTECTED]>
Description:
ghdl - VHDL compiler/simulator using GCC technology
Closes: 305045 315569
Changes:
ghdl (0.20-1) unstable; urgency=low
.
* New upstream release
* Using gcc-core-4.0.2
* Removed runtime GNAT dependency (closes: #315569, #305045)
* Added debian/watch
* Removed some now unnecessary lintian-overrides
* Updated FSF address to appease the lintian gods
Files:
963992dcb076aecfe77eb1ba01b6a221 612 electronics optional ghdl_0.20-1.dsc
8c15d3c040056f72ab2dafca02bc1cd2 16003549 electronics optional
ghdl_0.20.orig.tar.gz
d18b4ed9ddb00887bd42c4c0217cfae0 5013 electronics optional ghdl_0.20-1.diff.gz
d637a086ed67db69958d78252d9cbdcd 7532316 electronics optional
ghdl_0.20-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDcjY98KmKTEzW49IRAmKmAJ0XIg3Fr4/bj7aHdM1ZtTVHXB2q3ACfb3lM
3NnP95TnUg3EgsAAEywOxpY=
=a2QD
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]