Package: freehdl

Version: 0.0.7-1

Severity: important

*** Please type your report below this line ***

When I try to compile the VHDL file (e.g. the rec_tb.vhd) I get the

following results:

$ ./gvhdl rec_tb.vhd --libieee

gvhdl: FreeHDL root path is '/usr'.

gvhdl: executing '/usr/bin/freehdl-v2cc -m rec_tb._main_.cc -L

/usr/share/freehdl/lib   -o rec_tb.cc rec_tb.vhd'

gvhdl:

gvhdl: ================================

gvhdl: Compiling 'rec_tb.cc'...

gvhdl: ================================

gvhdl: g++-4.3  -I /usr/include -c rec_tb.cc

gvhdl:

gvhdl: ================================

gvhdl: Compiling simulator main file 'rec_tb._main_.cc'...

gvhdl: ================================

gvhdl: g++-4.3  -I /usr/include -c rec_tb._main_.cc

gvhdl: Linking simulator 'rec_tb'...

gvhdl: libtool --mode=link g++-4.3  rec_tb._main_.o  rec_tb.o -lm

/usr/lib/libfreehdl-kernel.la /usr/lib/libfreehdl-std.la

/ /usr/lib/freehdl/libieee.la -o rec_tb

linker: libtool: link: unable to infer tagged configuration

linker: libtool: link: specify a tag with `--tag'

gvhdl: Linking failed!

Died at ./gvhdl line 276.

I've checked the /usr/bin/gvhdl script, and found the following definition

(in the 8th line):

my $libtool_options = "--mode=link"; 

I've modified it to:

my $libtool_options = "--mode=link --tag CXX";

and then my VHDL file compiles cleanly.

$ gvhdl rec_tb.vhd --libieee

gvhdl: FreeHDL root path is '/usr'.

gvhdl: executing '/usr/bin/freehdl-v2cc -m rec_tb._main_.cc -L 
/usr/share/freehdl/lib   -o rec_tb.cc rec_tb.vhd'

gvhdl:

gvhdl: ================================

gvhdl: Compiling 'rec_tb.cc'...

gvhdl: ================================

gvhdl: g++-4.3  -I /usr/include -c rec_tb.cc

gvhdl:

gvhdl: ================================

gvhdl: Compiling simulator main file 'rec_tb._main_.cc'...

gvhdl: ================================

gvhdl: g++-4.3  -I /usr/include -c rec_tb._main_.cc

gvhdl: Linking simulator 'rec_tb'...

gvhdl: libtool --mode=link --tag CXX g++-4.3  rec_tb._main_.o  rec_tb.o -lm 
/usr/lib/libfreehdl-kernel.la /usr/lib/libfreehdl-std.la 
/usr/lib/freehdl/libieee.la -o rec_tb

linker: libtool: link: g++-4.3 rec_tb._main_.o rec_tb.o -o rec_tb  -lm 
/usr/lib/libfreehdl-kernel.so /usr/lib/libfreehdl-std.so 
/usr/lib/freehdl/libieee.so -Wl,-rpath -Wl,/usr/lib/freehdl -Wl,-rpath 
-Wl,/usr/lib/freehdl

gvhdl: ================================

gvhdl: Simulator 'rec_tb' created.

gvhdl: ================================

-- 
Wojciech Zabolotny
[email protected]

-- System Information:

Debian Release: squeeze/sid

  APT prefers testing

  APT policy: (990, 'testing'), (100, 'stable'), (50, 'unstable')

Architecture: i386 (i686)

Kernel: Linux 2.6.32.media (SMP w/2 CPU cores; PREEMPT)

Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Shell: /bin/sh linked to /bin/bash

Versions of packages freehdl depends on:

ii  g++                           4:4.3.4-1  The GNU C++ compiler

ii  guile-1.8 [guile]             1.8.7+1-2  The GNU extension language and Sch

ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

ii  libfreehdl0                   0.0.7-1    VHDL simulator for Linux (shared l

ii  libfreehdl0-dev               0.0.7-1    VHDL simulator for Linux (developm

ii  libgcc1                       1:4.4.2-3  GCC support library

ii  libstdc++6                    4.4.2-3    The GNU Standard C++ Library v3

ii  libtool                       2.2.6b-2   Generic library support script

freehdl recommends no packages.

freehdl suggests no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to