Hallo Patrick,

I did on August 5th a fresh git clone, got
    git log -n 1
      commit ffc92a8cd7e71cc8c87be28580bd2fe0fbda0095
      Merge: 2a59efd 5906b80
      Author: tgingold <tging...@users.noreply.github.com>
      Date:   Wed Aug 3 21:22:00 2016 +0200

than a

    ./configure --with-llvm-config=/usr/lib/llvm-3.5/bin/llvm-config \
                --prefix=`pwd`/usr_local

and than the issue described in the previous posting.

        With best regards,  Walter


On 07.08.2016 19:39, Patrick Lehmann wrote:
Hello Walter,

there have been some changes to the configure script.
When was your last ./configure run?

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: patrick.lehm...@tu-dresden.de
WWW:    http://vlsi-eda.inf.tu-dresden.de

-----Original Message-----
From: Ghdl-discuss [mailto:ghdl-discuss-boun...@gna.org] On Behalf Of Walter 
F.J. Mueller
Sent: Friday, August 05, 2016 7:53 PM
To: ghdl-discuss@gna.org
Subject: [Ghdl-discuss] Building llvm-backend version of ghdl under Ubuntu 16.04 
LTS --> missing lib/ghdl/v93/std/std_standard.o

Hi,

I've just installed ghdl with llvm-backend under Ubuntu 16.04 LTS and ran into 
a strange issue.

All builds apparently fine, but when I use ghdl to compile a model I got

     gcc: error: .../usr_local/lib/ghdl/v93/std/std_standard.o:
          No such file or directory
          ghdl: compilation error

Indeed lib/ghdl/v93/std/std_standard.o is missing. Turns out that in the ghdl 
compile directory is a std_standard.o, and just moving it to the 
lib/ghdl/v93/std fixes it.

Looking into the compile log file I see

     mkdir -p lib/ghdl/v08
     ...
     cd lib/ghdl/v93/std; \
     .../ghdl/ghdl_llvm --bootstrap- standard \
       --GHDL1=.../ghdl/ghdl1-llvm --std=93
     cd lib/ghdl/v87/std; \
     .../ghdl/ghdl_llvm --bootstrap-standard \
       --GHDL1=.../ghdl/ghdl1-llvm --std=87
     /bin/sh: 1: cd: can't cd to lib/ghdl/v87/std
     /bin/sh: 1: cd: can't cd to lib/ghdl/v93/std

apparently lib/ghdl/v08 is created in time, but lib/ghdl/v93/std and 
lib/ghdl/v87/std aren't at the time they are needed.

Seems to be an issue with the make file. I use

     time git clone https://github.com/tgingold/ghdl
     cd ghdl
     mkdir usr_local
     ./configure --with-llvm-config=/usr/lib/llvm-3.5/bin/llvm-config \
                 --prefix=`pwd`/usr_local
     time make -j 2 2>&1 | tee compile.log
     make install 2>&1 | tee install.log

and wonder why that leads to such strange results.

Any hint/help very welcome.

        With best regards,  Walter

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



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


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

Reply via email to