- Mitglied seit
- 18 Dez 2004
- Beiträge
- 224
- Punkte für Reaktionen
- 4
- Punkte
- 18
I lately have a problem compiling a toolchain for my 7490.
First I get a lot warning messages like that:
And then it finally stops with an error:
All that at an Ubuntu 16.04 machine where all available updates have been installed.
gcc --version:
Here's the complete log of "make":
freetz_make.log
And here's my config:
config_7490.txt
Is it because the gcc / g++ is too new?
Anyone know a possible fix for that problem?
First I get a lot warning messages like that:
Code:
g++ -c -DIN_GCC_FRONTEND -D_GNU_SOURCE -fno-stack-protector -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Icp -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/cp -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/../include -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/../libcpp/include -I/home/freetz/workdir/trunk.7490/tools/build/include -I/home/freetz/workdir/trunk.7490/tools/build/include -I/home/freetz/workdir/trunk.7490/tools/build/include -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/../libdecnumber -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/../libbacktrace /home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/cp/search.c -o cp/search.o
In file included from ./tm.h:23:0,
from /home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/cp/except.c:27:
/home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
And then it finally stops with an error:
Code:
In file included from /home/freetz/workdir/trunk.7490/source/toolchain-mips_gcc-4.8.5_uClibc-0.9.33.2-nptl_kernel-3.10/gcc-4.8.5/gcc/cp/except.c:1008:0:
cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’:
cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function ‘const char* libc_name_p(const char*, unsigned int)’ used but never defined
Makefile:1059: recipe for target 'cp/except.o' failed
make[3]: *** [cp/except.o] Error 1
All that at an Ubuntu 16.04 machine where all available updates have been installed.
gcc --version:
Code:
gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Here's the complete log of "make":
freetz_make.log
And here's my config:
config_7490.txt
Is it because the gcc / g++ is too new?
Anyone know a possible fix for that problem?
Zuletzt bearbeitet: