ace:riscv-tools} uname -a
Linux ace.u.edu 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
{ace:riscv-tools} CC=gcc4.8 CXX=g++4.8 ./build.sh
Starting RISC-V Toolchain build process
Removing existing riscv-fesvr/build directory
Configuring project riscv-fesvr
Building project riscv-fesvr
Installing project riscv-fesvr
mkdir //proj/rocket-chip/riscv-tools/include
mkdir //proj/rocket-chip/riscv-tools/bin
mkdir //proj/rocket-chip/riscv-tools/lib
mkdir //proj/rocket-chip/riscv-tools/lib
mkdir //proj/rocket-chip/riscv-tools/include/fesvr
mkdir: cannot create directory `//proj/rocket-chip/riscv-tools/lib': File exists
mkdir //proj/rocket-chip/riscv-tools/lib/pkgconfig
Configuring project riscv-isa-sim
Building project riscv-isa-sim
../spike_main/disasm.cc: In constructor ‘disassembler_t::disassembler_t(int)’:
../spike_main/disasm.cc:257:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
disassembler_t::disassembler_t(int xlen)
^
Installing project riscv-isa-sim
mkdir //proj/rocket-chip/riscv-tools/include/spike
Configuring project riscv-gnu-toolchain
Building project riscv-gnu-toolchain
cat: /var/cache/distfiles/newlib-2.2.0.tar.gz: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 15.7M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/riscv-binutils-gdb/missing: line 81: makeinfo: command not found
5 15.7M 5 942k 0 0 396k 0 0:00:40 0:00:02 0:00:38 528kconfigure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
12 15.7M 12 2094k 0 0 480k 0 0:00:33 0:00:04 0:00:29 555kconfigure: WARNING: decimal float is not supported for this target, ignored
71 15.7M 71 11.2M 0 0 848k 0 0:00:19 0:00:13 0:00:06 921k/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/configure: line 13590: SIM_AC_OPTION_HOSTENDIAN: command not found
100 15.7M 100 15.7M 0 0 854k 0 0:00:18 0:00:18 --:--:-- 759k
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/riscv-binutils-gdb/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
<http://www.gnu.org/software/texinfo/>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
<http://www.gnu.org/software/make/>
gmake[4]: *** [bfd.info] Error 127
gmake[3]: *** [info-recursive] Error 1
gmake[2]: *** [all-bfd] Error 2
gmake[1]: *** [all] Error 2
gmake: *** [stamps/build-binutils-newlib] Error 2
gmake: *** Waiting for unfinished jobs....
{ace:riscv-tools} echo $RISCV
/proj/rocket-chip/riscv-tools
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/d0ac7014-558a-4124-89c6-706f9027feec%40groups.riscv.org.
Enter code Building project riscv-gnu-toolchain
cat: /var/cache/distfiles/newlib-2.2.0.tar.gz: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
11 15.7M 11 1868k 0 0 457k 0 0:00:35 0:00:04 0:00:31 518kconfigure: WARNING: decimal float is not supported for this target, ignored
70 15.7M 70 11.1M 0 0 864k 0 0:00:18 0:00:13 0:00:05 1025k/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/configure: line 13590: SIM_AC_OPTION_HOSTENDIAN: command not found
100 15.7M 100 15.7M 0 0 843k 0 0:00:19 0:00:19 --:--:-- 799k
conflicts: 1 shift/reduce
conflicts: 27 shift/reduce
conflicts: 58 shift/reduce, 10 reduce/reduce
conflicts: 1 shift/reduce
conflicts: 76 shift/reduce
mkdir: cannot create directory `ldscripts': File exists
configure: WARNING: expat is missing or unusable; some features may be unavailable.
configure: WARNING: linux/perf_event.h missing or too old; some features may be unavailable.
configure: WARNING: libipt is missing or unusable; some features may be unavailable.
configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/../common/sim-profile.c: In function ‘profile_pc_init’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/../common/sim-profile.c:566:4: warning: left shift count >= width of type [enabled by default]
((1 << sizeof (sim_cia) * (8 - 1))
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/../common/sim-profile.c:585:3: warning: left shift count >= width of type [enabled by default]
bucket_size = ((1 << ((sizeof (sim_cia) * 8) - 1))
^
Creating observer.htmp
Creating observer.itmp
conflicts: 39 shift/reduce, 53 reduce/reduce
conflicts: 34 shift/reduce
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/m2-exp.y:301.25-44: warning: rule useless in parser due to conflicts: $@2: /* empty */
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/doc/gdb.texinfo:26482: warning: `.' or `,' must follow @xref, not `f'.
*** This configuration is not supported in the following subdirectories:
target-libquadmath target-libatomic target-libcilkrts target-libitm target-libsanitizer target-libvtv target-libmpx gnattools gotools target-libada target-libgfortran target-libbacktrace target-libgo target-libffi target-zlib target-libjava target-libobjc target-libgomp target-liboffloadmic target-libssp target-boehm-gc
(Any other directories should still work fine.)
configure: WARNING: decimal float is not supported for this target, ignored
libtool: install: warning: remember to run `libtool --finish /proj/rocket-chip/riscv-tools/libexec/gcc/riscv64-unknown-elf/6.1.0'
configure: WARNING: decimal float is not supported for this target, ignored
configure: WARNING: fixed-point is not supported for this target, ignored
Links are now set up to build a cross-compiler
from x86_64-pc-linux-gnu to riscv64-unknown-elf.
/proj/rocket-chip/riscv-tools/riscv64-unknown-elf/bin/as: unrecognized option '--64'
gmake[3]: *** [build/version.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: *** wait: No child processes. Stop.
gmake[2]: *** [all-gcc] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [all] Error 2
gmake: *** [stamps/build-gcc-newlib] Error 2
here...
{ace3:RISC-V} ./bin/spike /proj/RISC-V/riscv64-unknown-elf/pk hello
./bin/spike: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by //proj/RISC-V/lib/libriscv.so)
./bin/spike: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by //proj/RISC-V/lib/libfesvr.so)
Starting RISC-V Toolchain build process
Removing existing riscv-fesvr/build directory
Configuring project riscv-fesvr
Building project riscv-fesvr
Installing project riscv-
fesvr
mkdir //proj/RISC-V/include
mkdir //proj/RISC-V/lib
mkdir //proj/RISC-V/bin
mkdir //proj/RISC-V/lib
mkdir //proj/RISC-V/include/fesvr
mkdir: cannot create directory `//proj/RISC-V/lib': File exists
mkdir //proj/RISC-V/lib/pkgconfig
Removing existing riscv-isa-sim/build directory
Configuring project riscv-isa-sim
Building project riscv-isa-sim
../spike_main/disasm.cc: In constructor ‘disassembler_t::disassembler_t(int)’:
../spike_main/disasm.cc:257:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
disassembler_t::disassembler_t(int xlen)
^
Installing project riscv-isa-sim
mkdir //proj/RISC-V/include/spike
Removing existing riscv-gnu-toolchain/build directory
Configuring project riscv-gnu-toolchain
Building project riscv-gnu-toolchain
cat: /var/cache/distfiles/newlib-2.2.0.tar.gz: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
10 15.7M 10 1740k 0 0 426k 0 0:00:37 0:00:04 0:00:33 435kconfigure: WARNING: decimal float is not supported for this target, ignored
71 15.7M 71 11.2M 0 0 878k 0 0:00:18 0:00:13 0:00:05 1041k/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/configure: line 13590: SIM_AC_OPTION_HOSTENDIAN: command not found
100 15.7M 100 15.7M 0 0 867k 0 0:00:18 0:00:18 --:--:-- 760k
conflicts: 1 shift/reduce
conflicts: 27 shift/reduce
conflicts: 58 shift/reduce, 10 reduce/reduce
conflicts: 1 shift/reduce
conflicts: 76 shift/reduce
configure: WARNING: expat is missing or unusable; some features may be unavailable.
configure: WARNING: python is missing or unusable; some features may be unavailable.
configure: WARNING: linux/perf_event.h missing or too old; some features may be unavailable.
configure: WARNING: libipt is missing or unusable; some features may be unavailable.
configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/../common/sim-profile.c: In function ‘profile_pc_init’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/../common/sim-profile.c:566:4: warning: left shift count >= width of type [enabled by default]
((1 << sizeof (sim_cia) * (8 - 1))
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/sim/riscv/../common/sim-profile.c:585:3: warning: left shift count >= width of type [enabled by default]
bucket_size = ((1 << ((sizeof (sim_cia) * 8) - 1))
^
Creating observer.htmp
Creating observer.itmp
conflicts: 39 shift/reduce, 53 reduce/reduce
conflicts: 34 shift/reduce
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/m2-exp.y:301.25-44: warning: rule useless in parser due to conflicts: $@2: /* empty */
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/doc/gdb.texinfo:26571: warning: `.' or `,' must follow @xref, not `f'.
*** This configuration is not supported in the following subdirectories:
target-libquadmath target-libatomic target-libcilkrts target-libitm target-libsanitizer target-libvtv target-libmpx gnattools gotools target-libada target-libgfortran target-libbacktrace target-libgo target-libffi target-zlib target-libjava target-libobjc target-libgomp target-liboffloadmic target-libssp target-boehm-gc
(Any other directories should still work fine.)
configure: WARNING: decimal float is not supported for this target, ignored
libtool: install: warning: remember to run `libtool --finish /proj/RISC-V/libexec/gcc/riscv64-unknown-elf/6.1.0'
configure: WARNING: decimal float is not supported for this target, ignored
configure: WARNING: fixed-point is not supported for this target, ignored
Links are now set up to build a cross-compiler
from x86_64-pc-linux-gnu to riscv64-unknown-elf.
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/config/riscv/riscv.md:2253: warning: operand 0 missing mode?
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/config/riscv/riscv.md:2273: warning: operand 1 missing mode?
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/config/riscv/riscv.md:2283: warning: operand 1 missing mode?
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/config/riscv/riscv.md:2307: warning: operand 0 missing mode?
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/config/riscv/riscv.md:2329: warning: operand 1 missing mode?
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/config/riscv/riscv.md:2341: warning: operand 1 missing mode?
Statistics for recog:
Number of decisions: 1489
longest path: 29 (code: 264)
longest backtrack: 6 (code: 272)
Statistics for split_insns:
Number of decisions: 101
longest path: 30 (code: 23)
longest backtrack: 3 (code: 23)
Statistics for peephole2_insns:
Number of decisions: 46
longest path: 33 (code: 4)
longest backtrack: 1 (code: 3)
Shared 936 out of 2560 states by creating 272 new states, saving 664
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c: In function ‘void lhd_print_error_function(diagnostic_context*, const char*, diagnostic_info*)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:450:41: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", s.file, s.line, s.column);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:450:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:450:41: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:450:41: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:455:31: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", s.file, s.line);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:455:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:455:31: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/langhooks.c:455:31: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/tree-vect-loop.c: In function ‘bool vect_determine_vectorization_factor(loop_vec_info)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/tree-vect-loop.c:515:62: warning: ‘scalar_type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vf_vectype = get_vectype_for_scalar_type (scalar_type);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c: In function ‘void diagnostic_report_current_module(diagnostic_context*, location_t)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:532:53: warning: unknown conversion type character ‘r’ in format [-Wformat=]
LAST_SOURCE_LINE (map), LAST_SOURCE_COLUMN (map));
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:532:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:532:53: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:532:53: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:536:47: warning: unknown conversion type character ‘r’ in format [-Wformat=]
LINEMAP_FILE (map), LAST_SOURCE_LINE (map));
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:536:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:536:47: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:536:47: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:542:49: warning: unknown conversion type character ‘r’ in format [-Wformat=]
LINEMAP_FILE (map), LAST_SOURCE_LINE (map));
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:542:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:542:49: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/diagnostic.c:542:49: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c: In function ‘void cp_print_error_function(diagnostic_context*, diagnostic_info*)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3252:41: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", s.file, s.line, s.column);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3252:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3252:41: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3252:41: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3257:31: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", s.file, s.line);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3257:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3257:31: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3257:31: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c: In function ‘void print_instantiation_partial_context_line(diagnostic_context*, const tinst_level*, location_t, bool)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3342:46: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", xloc.file, xloc.line, xloc.column);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3342:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3342:46: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3342:46: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3345:33: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", xloc.file, xloc.line);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3345:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3345:33: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3345:33: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c: In function ‘void print_instantiation_partial_context(diagnostic_context*, tinst_level*, location_t)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3422:53: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", xloc.file, xloc.line, xloc.column, skip);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3422:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3422:53: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3422:53: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3428:40: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", xloc.file, xloc.line, skip);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3428:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3428:40: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3428:40: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c: In function ‘void maybe_print_constexpr_context(diagnostic_context*)’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3480:53: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", xloc.file, xloc.line, xloc.column, s);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3480:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3480:53: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3480:53: warning: format ‘%s’ expects argument of type ‘char*’, but argument 6 has type ‘int’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3480:53: warning: too many arguments for format [-Wformat-extra-args]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3484:40: warning: unknown conversion type character ‘r’ in format [-Wformat=]
"locus", xloc.file, xloc.line, s);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3484:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char*’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3484:40: warning: unknown conversion type character ‘R’ in format [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3484:40: warning: format ‘%s’ expects argument of type ‘char*’, but argument 5 has type ‘int’ [-Wformat=]
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/gcc/cp/error.c:3484:40: warning: too many arguments for format [-Wformat-extra-args]
GIMPLE decision tree has 1432 leafs, maximum depth 10 and a total number of 5516 nodes
removed 736 duplicate tails
GENERIC decision tree has 1432 leafs, maximum depth 10 and a total number of 5516 nodes
removed 736 duplicate tails
gimple-match.c:775:1: warning: unused parameter ‘valueize’ [-Wunused-parameter]
gimple_double_value_p (tree t, tree (*valueize)(tree))
^
gimple-match.c:792:1: warning: unused parameter ‘valueize’ [-Wunused-parameter]
gimple_float_value_p (tree t, tree (*valueize)(tree))
^
configure: WARNING: decimal float is not supported for this target, ignored
Makefile:1476: warning: overriding commands for target `lib_a-mbtowc_r.o'
Makefile:820: warning: ignoring old commands for target `lib_a-mbtowc_r.o'
Makefile:1922: warning: overriding commands for target `lib_a-vfwscanf.o'
Makefile:1624: warning: ignoring old commands for target `lib_a-vfwscanf.o'
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/newlib/doc/makedoc.c: In function ‘push_number’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/newlib/doc/makedoc.c:273:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
*isp = (int)(*pc);
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/newlib/doc/makedoc.c: In function ‘bang’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/newlib/doc/makedoc.c:1341:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
*(int *)((isp[0])) = isp[-1];
^
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/newlib/doc/makedoc.c: In function ‘atsign’:
/proj/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/newlib/doc/makedoc.c:1349:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
isp[0] = *(int *)(isp[0]);
^
/proj/RISC-V/riscv64-unknown-elf/bin/ar: creating libnosys.a
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
Makefile:1476: warning: overriding commands for target `lib_a-mbtowc_r.o'
Makefile:820: warning: ignoring old commands for target `lib_a-mbtowc_r.o'
mkdir /proj/RISC-V/riscv64-unknown-elf/include
mkdir /proj/RISC-V/riscv64-unknown-elf/include/machine
Makefile:1476: warning: overriding commands for target `lib_a-mbtowc_r.o'
Makefile:820: warning: ignoring old commands for target `lib_a-mbtowc_r.o'
Makefile:1922: warning: overriding commands for target `lib_a-vfwscanf.o'
Makefile:1624: warning: ignoring old commands for target `lib_a-vfwscanf.o'
Makefile:1922: warning: overriding commands for target `lib_a-vfwscanf.o'
Makefile:1624: warning: ignoring old commands for target `lib_a-vfwscanf.o'
Installing project riscv-gnu-toolchain
Configuring project riscv-pk
Building project riscv-pk
Installing project riscv-pk
mkdir //proj/RISC-V/riscv64-unknown-elf/include/riscv-pk
mkdir //proj/RISC-V/riscv64-unknown-elf/lib/riscv-pk
Configuring project riscv-tests
configure: WARNING: using cross tools not prefixed with host triplet
Building project riscv-tests
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_6 (Enum_Val_Par, Enum_Ref_Par)
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone.c: In function 'Proc_6':
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone.c:29:9: warning: implicit declaration of function 'Func_3' [-Wimplicit-function-declaration]
if (! Func_3 (Enum_Val_Par))
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone.c: At top level:
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_7 (Int_1_Par_Val, Int_2_Par_Val, Int_Par_Ref)
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_8 (Arr_1_Par_Ref, Arr_2_Par_Ref, Int_1_Par_Val, Int_2_Par_Val)
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c: In function 'main':
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:166:7: warning: implicit declaration of function 'Proc_5' [-Wimplicit-function-declaration]
Proc_5();
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:167:7: warning: implicit declaration of function 'Proc_4' [-Wimplicit-function-declaration]
Proc_4();
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:173:21: warning: implicit declaration of function 'Func_2' [-Wimplicit-function-declaration]
Bool_Glob = ! Func_2 (Str_1_Loc, Str_2_Loc);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:179:2: warning: implicit declaration of function 'Proc_7' [-Wimplicit-function-declaration]
Proc_7 (Int_1_Loc, Int_2_Loc, &Int_3_Loc);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:184:7: warning: implicit declaration of function 'Proc_8' [-Wimplicit-function-declaration]
Proc_8 (Arr_1_Glob, Arr_2_Glob, Int_1_Loc, Int_3_Loc);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:186:7: warning: implicit declaration of function 'Proc_1' [-Wimplicit-function-declaration]
Proc_1 (Ptr_Glob);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:193:4: warning: implicit declaration of function 'Proc_6' [-Wimplicit-function-declaration]
Proc_6 (Ident_1, &Enum_Loc);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:204:7: warning: implicit declaration of function 'Proc_2' [-Wimplicit-function-declaration]
Proc_2 (&Int_1_Loc);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c: At top level:
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_1 (Ptr_Val_Par)
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c: In function 'Proc_1':
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:304:3: warning: implicit declaration of function 'Proc_3' [-Wimplicit-function-declaration]
Proc_3 (&Next_Record->Ptr_Comp);
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c: At top level:
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:322:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_2 (Int_Par_Ref)
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:345:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_3 (Ptr_Ref_Par)
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_4 () /* without parameters */
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../benchmarks/dhrystone/dhrystone_main.c:372:1: warning: return type defaults to 'int' [-Wimplicit-int]
Proc_5 () /* without parameters */
^~~~~~
/proj/rocket-chip/riscv-tools/riscv-tests/build/../isa/rv32mi/shamt.S: Assembler messages:
/proj/rocket-chip/riscv-tools/riscv-tests/build/../isa/rv32mi/shamt.S:20: Warning: Improper shift amount (32)
Installing project riscv-tests
RISC-V Toolchain installation completed!
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/6878ed5c-cad6-4622-814f-69103b96dd9c%40groups.riscv.org.
CC=gcc4.8 CXX="g++4.8 -static-libstdc++" ./build.sh
Starting RISC-V Toolchain build process
Configuring project riscv-fesvr
Building project riscv-fesvr
Installing project riscv-fesvr
Configuring project riscv-isa-sim
Building project riscv-isa-sim
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
gmake: *** [insn_template.h.gch] Error 1
gmake: *** Waiting for unfinished jobs....
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/6878ed5c-cad6-4622-814f-69103b96dd9c%40groups.riscv.org.
Generating code for _VCSgd_e5bx5
recompiling module DebugTransportModuleJtag
Generating code for _VCSgd_H8dUg
recompiling module JTAGVPI
Generating code for _VCSgd_JuKAH
recompiling module AsyncResetReg
All of 134 modules done
make[1]: Entering directory `/proj/rocket-chip/vsim/csrc'
cc1: error: unrecognized command line option "-std=c++11"
make[1]: *** [rmapats.o] Error 1
make[1]: Leaving directory `/proj/rocket-chip/vsim/csrc'
Error: Failed to make rmapats.so @ ./simv-rocketchip-DefaultConfig.daidir/rmapats.so
make: *** [simv-rocketchip-DefaultConfig] Error 1
Hi Monir
I am having similar problems, but when trying to get risc-v tests installed.
So i have used the following:
But installation of riscv-tests fails:
Can you please share how you set the LD_LIBRARY_PATH variable?
Hi,
I believe this line is not correct : export GCCLIB=/vl/edatools/intern/gcc/4.9.3/gcc
Try with : export GCCLIB=/vl/edatools/intern/gcc/4.9.3/gcc/lib
I also have set other variables in my environment (don’t known if needed) : LD_RUN_PATH=$GCCLIB:$LD_RUN_PATH ; C_INCLUDE_PATH=$GCCLIB/../include:$ C_INCLUDE_PATH and also the CFLAG/CPPFLAG to -I$GCCLIB/../include
Hope it will help.
Thomas
De : J Osmany [mailto:liv...@hotmail.co.uk]
Envoyé : vendredi 4 novembre 2016 09:41
À : Monir Zaman <monir....@gmail.com>; RISC-V SW Dev <sw-...@groups.riscv.org>
Objet : Re: [sw-dev] Re: RISCV-GNU-TOOLCHAIN install error
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/VI1PR0501MB2365884532875B18A761CBE3EBA20%40VI1PR0501MB2365.eurprd05.prod.outlook.com.
Hi
Thank you for the correction and subsequent pointers.
Will update and re-run the riscv tool installation again.
Hi,
I believe this line is not correct : export GCCLIB=/vl/edatools/intern/gcc/4.9.3/gcc
Try with : export GCCLIB=/vl/edatools/intern/gcc/4.9.3/gcc/lib
I also have set other variables in my environment (don’t known if needed) : LD_RUN_PATH=$GCCLIB:$LD_RUN_PATH ; C_INCLUDE_PATH=$GCCLIB/../include:$ C_INCLUDE_PATH and also the CFLAG/CPPFLAG to -I$GCCLIB/../include
Hope it will help.
Thomas
De : J Osmany [mailto:liv...@hotmail.co.uk]
Envoyé : vendredi 4 novembre 2016 09:41
À : Monir Zaman <monir....@gmail.com>; RISC-V SW Dev <sw-...@groups.riscv.org>
Objet : Re: [sw-dev] Re: RISCV-GNU-TOOLCHAIN install error
Hi Monir
I am having similar problems, but when trying to get risc-v tests installed.
So i have used the following:
Hi Peyret
Have tried the following options. Unfortunatley both fail but in different ways.
1. Option 1
This fails in the same way as previously when trying to install riscv-tests:
2. Option 2 - not sure if the CFLAG/CPPFLAG seetings i have used are correct.
./build.sh
This now fails much earlier:
J.Osmany,
You may want to add the following to your GCCLIB:
Export GCCLIB=/vl/edatools/intern/gcc/4.9.3/gcc/lib64
I think I am able to run “spike” now. But I am now having trouble compiling the “vsim” and the “emulator”. In vsim, I get No Top Module define in the VCS command.
Thanks
Monir
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/VI1PR0501MB23653A3ECCD2BA268AA9871EEBA20%40VI1PR0501MB2365.eurprd05.prod.outlook.com.
Hi Monir
Thanks for the pointer. I will give it a try.
WRT vcs the problem is related to the "-I" option being passed to vcs. The "-I" must be followed by the option value without any space. Ie "-I<option_value>" and not "-I <option_value>".
Hi Monir
I applied the fix you suggested and finally the RISC-V toolchain installation in my world has completed!!. Thanks again for the pointer.
Now to try running spike on the "Hello_World" program to complete the pipe flush.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/VI1PR0501MB2365B90B72C36D116E345451EBA20%40VI1PR0501MB2365.eurprd05.prod.outlook.com.
I looked up at the “Makefrag” file in “vsim” folder. I don’t see any space after –I option.
11 sim_vsrcs = \
12 $(generated_dir)/$(long_name).v \
13 $(generated_dir)/$(long_name).behav_srams.v \
14 $(generated_dir)/consts.$(CONFIG).vh \
15 $(base_dir)/vsrc/$(TB).v \
16 $(base_dir)/vsrc/SimDTM.v \
17 $(bb_vsrcs)
18
19 # C sources
20
21 sim_csrcs = \
22 $(base_dir)/csrc/SimDTM.cc \
23 $(base_dir)/csrc/jtag_vpi.c
24
25 #--------------------------------------------------------------------
26 # Build Verilog
27 #--------------------------------------------------------------------
28
29 verilog: $(sim_vsrcs)
30
31 .PHONY: verilog
32
33 #--------------------------------------------------------------------
34 # Build rules
35 #--------------------------------------------------------------------
36
37 VCS = vcs -full64
38
39 VCS_OPTS = -notice -line +lint=all,noVCDE,noONGS,noUI -error=PCWM-L -timescale=1ns/10ps -quiet \
40 +rad +v2k +vcs+lic+wait \
41 +vc+list -CC "-I$(VCS_HOME)/include" \
42 -CC "-I$(RISCV)/include" \
43 #------ -CC "-std=c++11" \
44 -CC "-std=c++0x" \
45 -CC "-Wl,-rpath,$(RISCV)/lib" \
46 -CC "-include $(consts_header)" \
47 $(RISCV)/lib/libfesvr.so \
48 -sverilog \
49 +incdir+$(generated_dir) \
50 +define+CLOCK_PERIOD=1.0 $(sim_vsrcs) $(sim_csrcs) \
51 +define+PRINTF_COND=$(TB).printf_cond \
52 +define+STOP_COND=!$(TB).reset \
53 +define+RANDOMIZE_MEM_INIT \
54 +define+RANDOMIZE_REG_INIT \
55 +define+RANDOMIZE_GARBAGE_ASSIGN \
56 +define+RANDOMIZE_INVALID_ASSIGN \
57 +libext+.v \
58
59 VCS_OPTS += +vpi
60 VCS_OPTS += -P $(base_dir)/vsrc/jtag_vpi.tab
61 VCS_OPTS += -CC "-DVCS_VPI"
62
63
64 #--------------------------------------------------------------------
65 # Build the simulator
66 #--------------------------------------------------------------------
67
68 simv = $(sim_dir)/simv-$(PROJECT)-$(CONFIG)
69 $(simv) : $(sim_vsrcs) $(sim_csrcs) $(consts_header)
70 cd $(sim_dir) && \
71 rm -rf csrc && \
72 $(VCS) $(VCS_OPTS) -o $(simv) \
73 -debug_pp \
And this is the error I get:
make
cd . && \
rm -rf csrc && \
vcs -full64 -notice -line +lint=all,noVCDE,noONGS,noUI -error=PCWM-L -timescale=1ns/10ps -quiet +rad +v2k +vcs+lic+wait +vc+list -CC "-I/proj/cad/synopsys/synopsys-2016.lnx86_64_vcs-mx_vL-2016.06-SP1-1/include" -CC "-I/proj/txace/mxm084100/RISC-V/include" +vpi -P /proj/txace/mxm084100/rocket-chip/vsrc/jtag_vpi.tab -CC "-DVCS_VPI" -o ./simv-rocketchip-DefaultConfig \
-debug_pp \
Error-[NTMES] No TopModule/Entity supplied
No TopModule/Entity supplied on 'vcs' command line.
Usage: vcs [libname.]<Design Unit> [-o output] [other compile opts] or vcs
-help
make: *** [simv-rocketchip-DefaultConfig] Error 1
Any idea?
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/bbdf6449-fcea-4943-862e-1f705c912d8b%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/VI1PR0501MB2365884532875B18A761CBE3EBA20%40VI1PR0501MB2365.eurprd05.prod.outlook.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/VI1PR0501MB23651014A3C07B04D137EE82EBA20%40VI1PR0501MB2365.eurprd05.prod.outlook.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/VI1PR0501MB23653A3ECCD2BA268AA9871EEBA20%40VI1PR0501MB2365.eurprd05.prod.outlook.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/507E76CC-FD96-4EB6-B272-D119011B104B%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/697F91B7-80D3-4F45-A93A-6234195E556C%40gmail.com.
[info] [7.915] Done elaborating.
[success] Total time: 16 s, completed Nov 5, 2016 1:44:42 AM
mkdir -p /proj/rocket-chip/vsim/generated-src/
java -Xmx2G -Xss8M -XX:MaxPermSize=256M -cp /proj/rocket-chip/firrtl/utils/bin/firrtl.jar firrtl.Driver -i /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.fir -o /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.v -X verilog --infer-rw TestHarness --repl-seq-mem -c:TestHarness:-o:/proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.conf
cd /proj/rocket-chip/vsim/generated-src && \
rm -f /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.behav_srams.v && \
/proj/rocket-chip/vsim/vlsi_mem_gen /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.conf >> /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.behav_srams.v.tmp && \
mv /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.behav_srams.v.tmp /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.behav_srams.v
echo "\`ifndef CONST_VH" > /proj/rocket-chip/vsim/generated-src/consts.DefaultConfig.vh
echo "\`define CONST_VH" >> /proj/rocket-chip/vsim/generated-src/consts.DefaultConfig.vh
sed -r 's/\(([A-Za-z0-9_]+),([A-Za-z0-9_]+)\)/`define \1 \2/' /proj/rocket-chip/vsim/generated-src/rocketchip.DefaultConfig.prm >> /proj/rocket-chip/vsim/generated-src/consts.DefaultConfig.vh
echo "\`endif // CONST_VH" >> /proj/rocket-chip/vsim/generated-src/consts.DefaultConfig.vh
make: *** No rule to make target `-I/proj/rocket-chip/csrc/SimDTM.cc', needed by `simv-rocketchip-DefaultConfig'. Stop.
...
...
{txace:vsim} make run
cd . && \
rm -rf csrc && \
vcs -full64 -notice -line +lint=all,noVCDE,noONGS,noUI -error=PCWM-L -timescale=1ns/10ps -quiet +rad +v2k +vcs+lic+wait +vc+list -CC "-I/proj/cad/synopsys/vcs-mx_vL-2016.06-SP1-1/include" -CC "-I/proj/txace/RISC-V/include" \ +vpi -P /proj/txace/mxm084100/rocket-chip/vsrc/jtag_vpi.tab -CC "-DVCS_VPI" -o ./simv-rocketchip-DefaultConfig \
-debug_pp
Error-[PRS_OPT] Illegal use of parse only options
There is no source file specified or the specified source files cannot be
opened, hence VCS is running in UUM mode.
In UUM mode, the parse only option ' +v2k' can only be used with vlogan.
If VCS is intended to be run in non-UUM mode, Please check the specified
source files; Otherwise, please pass the option to vlogan command-line or
check 'vlogan -help' for additional details.
make: *** [simv-rocketchip-DefaultConfig] Error 1
...