Discussion:
[Ghdl-discuss] LLVM installation error: ... is obsoleted by package "std_logic_1164"
Carlos Alberto Ruiz
2016-10-28 10:43:53 UTC
Permalink
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":

***@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:

***@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

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

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

***@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)

***@SVR-SIM:~$ llvm-config --version
3.5.0
--
CARLOS ALBERTO RUIZ NARANJO
_FPGA engineer_
***@dasphotonics.com

__

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 [1]

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



Links:
------
[1] http://www.dasphotonics.com/
Patrick Lehmann
2016-10-28 10:59:45 UTC
Permalink
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:***@tu-dresden.de> ***@tu-dresden.de

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



From: Ghdl-discuss [mailto:ghdl-discuss-***@gna.org] On Behalf Of Carlos Alberto Ruiz
Sent: Friday, October 28, 2016 12:44 PM
To: ghdl-***@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":



***@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:



***@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



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



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



***@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)



***@SVR-SIM:~$ llvm-config --version
3.5.0
--
Carlos Alberto Ruiz Naranjo
FPGA engineer
***@dasphotonics.com <mailto:***@dasphotonics.com>

<Loading Image...>

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
Carlos Alberto Ruiz
2016-10-28 11:58:10 UTC
Permalink
Hello,

I have recompiled vendors libraries and now I have this bug:

******************** GHDL Bug occured ****************************
Please report this bug on https://github.com/tgingold/ghdl/issues
GHDL release: GHDL 0.34-dev (tarball) [Dunoon edition]
Compiled with GNAT Version: 4.9.2
In directory: /home/cruiz/ELINT/95512010_FPGA_central/tsb/global/
Command line:
/usr/local/bin/ghdl1-llvm
--workdir=/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
--work=global_lib --std=02 -fexplicit --no-vital-checks -frelaxed-rules
-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/ -P/usr/local/lib/ghdl/v93/std/
-P/usr/local/lib/ghdl/v93/synopsys/ -c -o
/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib/gtx_wrapper_v6.o
/home/cruiz/ELINT/95512010_FPGA_central/src/tosca2/gtx_wrapper_v6.vhd
Exception SYSTEM.ASSERTIONS.ASSERT_FAILURE raised
Exception information:
Exception name: SYSTEM.ASSERTIONS.ASSERT_FAILURE
Message: iirs.adb:1924
Call stack traceback locations:
0x7ffa378b1fc1 0x450ab4 0x5845e8 0x529d00 0x53bf75 0x53d801 0x53e311
0x56dc2d 0x56e19f 0x56dfab 0x56e21e 0x5bdec7 0x55b954 0x5c2c88 0x5c33d7
0x46fbc1 0x430ef5 0x7ffa36dcfb43 0x430330 0xfffffffffffffffe
******************************************************************

---

CARLOS ALBERTO RUIZ NARANJO
_FPGA engineer_
***@dasphotonics.com

__

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 [2]

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
Post by Patrick Lehmann
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
WWW: http://vlsi-eda.inf.tu-dresden.de [1]
SENT: Friday, October 28, 2016 12:44 PM
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.
**file attached
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.
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
/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
8.6
GNAT 4.9.2
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
Post by Patrick Lehmann
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
3.5.0
--
CARLOS ALBERTO RUIZ NARANJO
_FPGA engineer_
__
_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 [2]_
_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_
_______________________________________________
Ghdl-discuss mailing list
https://mail.gna.org/listinfo/ghdl-discuss [3]
Links:
------
[1] http://vlsi-eda.inf.tu-dresden.de/
[2] http://www.dasphotonics.com/
[3] https://mail.gna.org/listinfo/ghdl-discuss

Loading...