[<<][nixos][>>][..]
Sat Nov 18 19:10:49 EST 2017

buildroot

Buildroot build fails:

~/exo/br/target/i586/build/host-gcc-initial-5.4.0/libcpp/expr.c

./../libcpp -I. -I../../libcpp/../include -I../../libcpp/include   -c -o macro.o -MT macro.o -MMD -MP -MF .deps/macro.Tpo ../../libcpp/macro.c
../../../libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, source_location)’:
../../../libcpp/expr.c:681:18: error: format not a string literal and no format arguments [-Werror=format-security]
        0, message);
                  ^
../../../libcpp/expr.c:684:39: error: format not a string literal and no format arguments [-Werror=format-security]
           virtual_location, 0, message);
                                       ^

[nix-shell:/home/tom_pub/exo]$ gcc --version
gcc (GCC) 6.4.0
Copyright (C) 2017 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.


Probably fixable by upgrading buildroot.

Current is

 54242226f034c1245d379df5f98cefcc13553437 br/buildroot (2017.02-563-g54242226f)
 46a082afec58d8081a3a896a7f64b9cbfb71a19c rebar3 (3.3.6-119-g46a082af)

tom@core:~/exo/br/buildroot$ git pull https://github.com/buildroot/buildroot.git

Updated 2017.02.x branch (bugfix branch?)


For now this doesn't really seem to work.
Stick to the buildroot vm.




[Reply][About]
[<<][nixos][>>][..]