Bug #4475
openLDV fails with gcc 4.7.3
0%
Description
If kernel is configured and compiled with gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 then
aspectator fails with message:
drivers/net/usb/cdc-phonet.c.prepared:1:0: error: -mpreferred-stack-boundary=3 is not between 4 and 12
cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default]
Aspectator failed at 'macro instrumentation' stage at /home/mutilin/opt/ldv/ri/bin/compiler line 608.
Updated by Evgeny Novikov about 11 years ago
- Assignee set to Ilja Zakharov
- Priority changed from Normal to High
I suggest that now it is a good time to use Aspectator (aspects less => almost like gcc) for building a kernel rather then a system compiler. I guess that it is rather easy, and Vladimir has already done this for using cross Aspectator on ARM. I think that there should be just one option for make, but of course this should be configurable (Aspectator by default).
BTW, please see at dirty hacks we have made in our Model DB. We will be able to avoid the most of them if we will switch to Aspectator as compiler.
Updated by Vadim Mutilin about 11 years ago
Workaround is commited in 6d9c7b5d37