avr gcc - Build of nixos.avrgcclibc fails on NixOS -


i trying install avr-gcc-libc on nixos, run build error.

i try install command

nix-env -ia nixos.avrgcclibc 

the output produces long , terminates with

g++ -c  -din_gcc_frontend -g -o2 -din_gcc  -dcross_directory_structure  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -w -wall -wno-narrowing -wwrite-strings -wcast-qual -wmissing-format-attribute -woverloaded-virtual -pedantic -wno-long-long -wno-variadic-macros -wno-overlength-strings   -dhave_config_h -i. -icp -i../../gcc -i../../gcc/cp -i../../gcc/../include -i../../gcc/../libcpp/include  -i../../gcc/../libdecnumber -i../../gcc/../libdecnumber/dpd -i../libdecnumber -i../../gcc/../libbacktrace   -o cp/except.o -mt cp/except.o -mmd -mp -mf cp/.deps/except.tpo ../../gcc/cp/except.c in file included ./tm.h:18:0,                  ../../gcc/cp/except.c:27: ../../gcc/config/elfos.h:102:21: warning: invalid suffix on literal; c++11 requires space between literal , string macro [-wliteral-suffix]     fprintf ((file), "%s"host_wide_int_print_unsigned"\n",\                      ^ ../../gcc/config/elfos.h:170:24: warning: invalid suffix on literal; c++11 requires space between literal , string macro [-wliteral-suffix]        fprintf ((file), ","host_wide_int_print_unsigned",%u\n",  \                         ^ in file included ../../gcc/cp/except.c:1023: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 'gnu_inline' attribute cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' declared here cfns.gperf: @ global scope: cfns.gperf:26:14: warning: inline function 'const char* libc_name_p(const char*, unsigned int)' used never defined make[2]: *** [makefile:1064: cp/except.o] error 1 make[2]: leaving directory '/tmp/nix-build-avr-gcc-libc.drv-0/gcc-5.3.0/obj-avr/gcc' make[1]: *** [makefile:4094: all-gcc] error 2 make[1]: leaving directory '/tmp/nix-build-avr-gcc-libc.drv-0/gcc-5.3.0/obj-avr' make: *** [makefile:852: all] error 2 builder ‘/nix/store/0ypaa4x9x0lsyygciasw9m1v4jswgm49-avr-gcc-libc.drv’ failed exit code 2 error: build of ‘/nix/store/0ypaa4x9x0lsyygciasw9m1v4jswgm49-avr-gcc-libc.drv’ failed 

what might problem be? can avr-gcc-libc install successfully?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -