Hello Carlos,

 

you need to recompile the vendor libraries after each GHDL

update. Vcomponents depends on std_logic_1164, which was

renewed by make install. Thus all dependent files have to be

analyzed again.

 

 

Kind regards

    Patrick

 

-----------------------------------

Wissenschaftliche Hilfskraft

 

Technische Universität Dresden

Fakultät Informatik

Institut für Technische Informatik

Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur

01062 Dresden

Tel.:   +49 351 463-38451

Fax:    +49 351 463-38324

Raum:   APB-1020

E-Mail:  <mailto:patrick.lehm...@tu-dresden.de> patrick.lehm...@tu-dresden.de

WWW:     <http://vlsi-eda.inf.tu-dresden.de/> http://vlsi-eda.inf.tu-dresden.de

 

From: Ghdl-discuss [mailto:ghdl-discuss-boun...@gna.org] On Behalf Of Carlos 
Alberto Ruiz
Sent: Friday, October 28, 2016 12:44 PM
To: ghdl-discuss@gna.org
Subject: [Ghdl-discuss] LLVM installation error: ... is obsoleted by package 
"std_logic_1164"

 

 

Hello,

 

I had installed GHDL 0.34-dev with mcode and my project compile and simulate 
well. 

 

I have installed GHDL 0.34-dev with LLVM and now I'm having problems (with the 
installation and compilation). I followed the steps of build.txt and this fails 
in "make install":



 

**file attached

 

But I run "ghdl -v":

 

cruiz@SVR-SIM:~$ ghdl -v
GHDL 0.34-dev (tarball) [Dunoon edition]
 Compiled with GNAT Version: 4.9.2
 llvm code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2015 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

When I compile my project:

 

cruiz@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ python run.py 
Compiling ../../src/xilinxcorelib/dsp_mmcm.vhd into global_lib ...
/home/cruiz/ELINT/95512010_FPGA_central/src/xilinxcorelib/dsp_mmcm.vhd:73:12: 
package "vcomponents" is obsoleted by package "std_logic_1164"
/usr/local/bin/ghdl: compilation error
Failed to compile ../../src/xilinxcorelib/dsp_mmcm.vhd with command:
/usr/local/bin/ghdl -a 
--workdir=/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
 --work=global_lib --std=93 -P/home/cruiz/vendors/v00/xilinxcorelib 
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
 
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_tb_lib
 -P/home/cruiz/vendors/xilinx-ise/unimacro/v93 
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/vunit_lib
 -P/home/cruiz/vendors/v00/unisim --ieee=synopsys -fexplicit --no-vital-checks 
-frelaxed-rules 
/home/cruiz/ELINT/95512010_FPGA_central/src/xilinxcorelib/dsp_mmcm.vhd

I have erros with all files in std_logic_1164

 

cruiz@SVR-SIM:~$ cat /etc/debian_version
8.6

 

cruiz@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ gnat -v
GNAT 4.9.2

 

cruiz@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' 
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.9 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --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 4.9.2 (Debian 4.9.2-10) 

 

cruiz@SVR-SIM:~$ llvm-config --version
3.5.0

 

-- 

 

 

Carlos Alberto Ruiz Naranjo
FPGA engineer
cr...@dasphotonics.com <mailto:cr...@dasphotonics.com> 

  <http://dasphotonics.com/images/logo.jpg> 

DAS Photonics S.L. 
Ciudad Politécnica de la Innovación, Camino de Vera s/n.
Acceso K, Edificio 8F, 2ª planta 46022 Valencia - SPAIN
Telf: +34 963 556 150 - Directo: +34 --------------

www.dasphotonics.com  <http://www.dasphotonics.com/> 

Before printing this email think well whether it is really necessary.
This e-mail contains confidential information.It is for the intended recipient 
only. If you are not the intended recipient of this e-mail, please notify the 
author by replying to this e-mail immediately and delete the message from your 
computer. If you are not the intended recipient you must not use, disclose, 
distribute, copy, print or rely on this e-mail

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to