Oops, the log file generated by "build_gcc.sh | tee build_gcc.log"
doesn't include stderr. Doing it this way will capture the error output:
hanzer@helix[/home/hanzer/third-party]$ ./build_gcc.sh 1> build_gcc.log
2> build_gcc.err
hanzer@helix[/home/hanzer/third-party]$ cat build_gcc.err
mkdir: /home/hanzer/third-party/build: File exists
/usr/local/bin/bash: line 0: cd: testsuite: No such file or directory
gmake[2]: [distclean] Error 1 (ignored)
/usr/local/bin/bash: line 0: cd: testsuite: No such file or directory
gmake[2]: [distclean] Error 1 (ignored)
gmake[2]: [distclean] Error 1 (ignored)
gmake: [local-distclean] Error 1 (ignored)
gmake: [local-distclean] Error 1 (ignored)
gmake: [local-distclean] Error 1 (ignored)
gmake: [local-distclean] Error 1 (ignored)
gmake: *** No rule to make target `clean'. Stop.
*** This configuration is not supported in the following subdirectories:
gnattools target-libada target-libstdc++-v3 target-libgfortran
target-libgo target-libffi target-zlib target-libjava target-libobjc
target-boehm-gc target-libitm
(Any other directories should still work fine.)
/home/hanzer/third-party/source/gcc-4.7.3/libiberty/cp-demangle.c: In
function 'd_demangle_callback':
/home/hanzer/third-party/source/gcc-4.7.3/libiberty/cp-demangle.c:5175:
warning: 'dc' may be used uninitialized in this function
/home/hanzer/third-party/source/gcc-4.7.3/libiberty/cp-demangle.c: In
function 'd_demangle_callback':
/home/hanzer/third-party/source/gcc-4.7.3/libiberty/cp-demangle.c:5175:
warning: 'dc' may be used uninitialized in this function
libtool: install: warning: remember to run `libtool --finish
/home/hanzer/local/ghdl/libexec/gcc/i386-unknown-freebsd9.2/4.7.3'
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 native compiler for i386-unknown-freebsd9.2.
/home/hanzer/third-party/source/gcc-4.7.3/intl/l10nflist.c: In function
'_nl_make_l10nflist':
/home/hanzer/third-party/source/gcc-4.7.3/intl/l10nflist.c:371: warning:
passing argument 1 of 'argz_next__' discards qualifiers from pointer
target type
/home/hanzer/third-party/source/gcc-4.7.3/libiberty/cp-demangle.c: In
function 'd_demangle_callback':
/home/hanzer/third-party/source/gcc-4.7.3/libiberty/cp-demangle.c:5175:
warning: 'dc' may be used uninitialized in this function
configure: WARNING: decimal float is not supported for this target, ignored
9297 translated messages.
1727 translated messages, 4303 fuzzy translations, 3267 untranslated
messages.
4580 translated messages, 3173 fuzzy translations, 1544 untranslated
messages.
9297 translated messages.
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1266:
unexpected character `/'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1266:
unexpected character `/'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1267:
unidentified type `vec'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1267:
parse error: expected '(', 'GTY', or an identifier, have '<'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1297:
unexpected character `/'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1297:
unexpected character `/'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1298:
unidentified type `vec'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1298:
parse error: expected '(', 'GTY', or an identifier, have '<'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1883:
unexpected character `/'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1883:
unexpected character `/'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1884:
unidentified type `vec'
/home/hanzer/third-party/source/gcc-4.7.3/gcc/vhdl/ortho-lang.c:1884:
parse error: expected '(', 'GTY', or an identifier, have '<'
gmake[2]: *** [s-gtype] Error 1
gmake[1]: *** [all-gcc] Error 2
gmake: *** [all] Error 2
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss