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 __ 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/
root@SVR-SIM:/home/cruiz/Descargas/ghdl-master# make install [ -d /usr/local ] || mkdir -p /usr/local [ -d /usr/local/bin ] || mkdir -p /usr/local/bin [ -d /usr/local/lib ] || mkdir -p /usr/local/lib [ -d /usr/local/lib/ghdl ] || \ mkdir -p /usr/local/lib/ghdl [ -d /usr/local/include ] || mkdir -p /usr/local/include if [ -d ./.git ]; then \ desc=`cd .; git describe --dirty`; \ sed -e "s/[(].*[)]/($desc)/" < src/version.in > version.tmp; \ else \ cp src/version.in version.tmp; \ fi if [ ! -r version.ads ] || ! cmp version.tmp version.ads > /dev/null; then cp version.tmp version.ads; fi make -f ./src/ortho/llvm/Makefile \ ortho_srcdir=./src/ortho ortho_exec=ghdl1-llvm \ GNAT_FLAGS="-aI./src -aI./src/vhdl -aI./src/psl -aI./src/vhdl/translate -aI./src/ghdldrv -aI./src/grt -aI./src/ortho -aI./src/ortho/llvm -gnaty3befhkmr -gnatwae -aO. -gnatf -gnat05 -g -gnata" LDFLAGS="" \ LLVM_CONFIG="llvm-config" llvm_be_ver="" all make[1]: Entering directory '/home/cruiz/Descargas/ghdl-master' gnatmake -o ghdl1-llvm -aI./src/ortho/llvm -aI./src/ortho \ -aI./src -aI./src/vhdl -aI./src/psl -aI./src/vhdl/translate -aI./src/ghdldrv -aI./src/grt -aI./src/ortho -aI./src/ortho/llvm -gnaty3befhkmr -gnatwae -aO. -gnatf -gnat05 -g -gnata ortho_code_main -bargs -E \ -largs llvm-cbindings.o --LINK=clang++ \ `llvm-config --ldflags --libs --system-libs` gnatmake: "ghdl1-llvm" up to date. make[1]: Leaving directory '/home/cruiz/Descargas/ghdl-master' gnatmake -aI./src -aI./src/vhdl -aI./src/psl -aI./src/vhdl/translate -aI./src/ghdldrv -aI./src/grt -aI./src/ortho -aI./src/ortho/llvm -aI./src/ghdldrv -gnaty3befhkmr -gnatwae -aO. -gnatf -gnat05 -g -gnata\ ghdl_llvm -bargs -E -largs gcc-4.9 -c -I./ -I./src -I./src/vhdl -I./src/psl -I./src/vhdl/translate -I./src/ghdldrv -I./src/grt -I./src/ortho -I./src/ortho/llvm -I./src/ghdldrv -gnaty3befhkmr -gnatwae -gnatf -gnat05 -g -gnata -I- /home/cruiz/Descargas/ghdl-master/src/ghdldrv/ghdldrv.adb gcc-4.9 -c -I./ -I./src -I./src/vhdl -I./src/psl -I./src/vhdl/translate -I./src/ghdldrv -I./src/grt -I./src/ortho -I./src/ortho/llvm -I./src/ghdldrv -gnaty3befhkmr -gnatwae -gnatf -gnat05 -g -gnata -I- /home/cruiz/Descargas/ghdl-master/src/ghdldrv/ghdllocal.adb gcc-4.9 -c -I./ -I./src -I./src/vhdl -I./src/psl -I./src/vhdl/translate -I./src/ghdldrv -I./src/grt -I./src/ortho -I./src/ortho/llvm -I./src/ghdldrv -gnaty3befhkmr -gnatwae -gnatf -gnat05 -g -gnata -I- /home/cruiz/Descargas/ghdl-master/src/ghdldrv/ghdlvpi.adb gcc-4.9 -c -I./src -I./src/vhdl -I./src/psl -I./src/vhdl/translate -I./src/ghdldrv -I./src/grt -I./src/ortho -I./src/ortho/llvm -I./src/ghdldrv -gnaty3befhkmr -gnatwae -gnatf -gnat05 -g -gnata default_pathes.ads gnatbind -aI./src -aI./src/vhdl -aI./src/psl -aI./src/vhdl/translate -aI./src/ghdldrv -aI./src/grt -aI./src/ortho -aI./src/ortho/llvm -aI./src/ghdldrv -aO. -E -x ghdl_llvm.ali gnatlink ghdl_llvm.ali -g install -m 755 ghdl_llvm /usr/local/bin/ghdl install -m 755 ghdl1-llvm /usr/local/bin/ghdl1-llvm for d in src/std src/ieee src/vital95 src/vital2000 src/synopsys src/mentor src/ieee2008 v87/std v87/ieee v87/synopsys v93/std v93/ieee v93/mentor v93/synopsys v08/std v08/ieee v08/synopsys ; do \ mkdir -p /usr/local/lib/ghdl/$d; \ install -m 644 -p \ lib/ghdl/$d/* /usr/local/lib/ghdl/$d; \ done mkdir -p /usr/local/lib/ghdl/vendors install -m 644 -p \ ./libraries/vendors/* /usr/local/lib/ghdl/vendors/ install -m 755 -p \ ./libraries/vendors/*.sh /usr/local/lib/ghdl/vendors/ gnatmake -c -aI./src/grt -gnatec./src/grt/grt.adc -gnat05 -gnatdY \ ghdl_main -cargs -g gnatmake: objects up to date. sed -e '/^P /s/P /P NR /' < ghdl_main.ali > ghdl_main-tmp.ali mv ghdl_main-tmp.ali ghdl_main.ali gnatbind -Lgrt_ -o run-bind.adb -n ghdl_main.ali gcc -c -g -gnatec./src/grt/grt.adc -gnat05 -gnatdY -o run-bind.o run-bind.adb gcc: error: run-bind.adb: el compilador Ada no está instalado en este sistema src/grt/Makefile.inc:119: recipe for target 'run-bind.o' failed make: *** [run-bind.o] Error 1 root@SVR-SIM:/home/cruiz/Descargas/ghdl-master#
_______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss