Comments (8)
Can you find the relevant bit of config.log
which has the error message? The following should do it:
grep -A 5 "checking for LLVM" config.log
from nvc.
tmeissner@msn:~/Projects/nvc/build$ grep -A 5 "checking for LLVM" config.log
configure:8174: checking for LLVM (engine bitreader bitwriter)
configure:8196: g++ -o conftest -g -O2 conftest.cpp -lz -ltcl -lreadline >&5
In file included from /usr/include/llvm-c/Core.h:18:0,
from conftest.cpp:69:
/usr/include/llvm/Support/DataTypes.h:49:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
--
configure:8222: checking for LLVM shared library
configure:8250: g++ -o conftest -g -O2 conftest.cpp -lz -ltcl -lreadline -Wl,-rpath -lLLVM- >&5
In file included from /usr/include/llvm-c/Core.h:18:0,
from conftest.cpp:69:
/usr/include/llvm/Support/DataTypes.h:49:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
from nvc.
I tried configuring on Ubuntu 3.10 but ran into a different problem (fixed above).
In your case it hasn't captured any output from llvm-config
. Did you run configure with --with-llvm=...
? Can you try without it after doing a git pull
to get the above change?
from nvc.
I did run configure with and without --with-llvm=...
with your new patch included but nothing changes. I don't understand why there is no output of llvm-config, because the tool is there and in the $PATH.
from nvc.
You may need to run ./autogen.sh
again to regenerate the configure script
from nvc.
Now configure runs. So, when doing make I get the following:
Making all in thirdparty
CC fstapi.o
CC lz4.o
AR libfst.a
CC lxt_write.o
In file included from .././../thirdparty/lxt_write.c:24:0:
.././../thirdparty/lxt_write.h:37:19: fatal error: bzlib.h: No such file or directory
which can be fixed by installing the libbz2-dev
package.
Then it runs until this error:
AR libnvc.a
CC nvc.o
CXXLD nvc
/usr/bin/ld: rt/libjit.a(libjit_a-jit.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [nvc] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
from nvc.
Can you try again after pulling and re-running autogen.sh
, etc.?
from nvc.
Now it works and all tests are passed. Thanks :)
from nvc.
Related Issues (20)
- ** Fatal: type kind T_ARRAY does not have item I_FIELDS HOT 2
- [Bug] `fatal: load indirect with non-pointer argument` error when elaborating an entity HOT 2
- Coverage refactoring - Tracking Issue HOT 4
- 2008: Entity passed package type resolution on ports
- Procedure definition inside a process declarative part causes an assertion failure during elaboration HOT 1
- 2008: Cannot lower type kind T_GENERIC HOT 3
- Add error message when attempting to use external signals in procedure prior to elaboration HOT 1
- Segfault with cyclic signal assignments HOT 1
- False error for generic initialised with non globally static expression HOT 2
- JIT throwing illegal instructions HOT 7
- VHDL: Compile error while assigning attributes to "all" signals.
- "Empty basic block" crash while compiling HOT 2
- COCOTB : Unable to acess VHDL packages. HOT 1
- Error when using function signature in report statement HOT 1
- Package Alias
- nvc error creating instance of generic package given a constant as parameter HOT 6
- Boolean typed signals written as 1 bit vectors on the FST output HOT 2
- 8.2 ms not equal to 8200 us
- External name in call to falling_edge is not considered as a name denoting a signal
- Waveforms available when UVVM-based testbench is simulated by nvc vs. ghdl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvc.