Project

General

Profile

Actions

Bug #4475

open

LDV fails with gcc 4.7.3

Added by Vadim Mutilin over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
High
Assignee:
Category:
-
Start date:
09/16/2013
Due date:
% Done:

0%

Estimated time:
Detected in build:
bbc5b4f0d97d00b62
Platform:
Published in build:

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.

Actions #1

Updated by Evgeny Novikov over 10 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.

Actions #2

Updated by Vadim Mutilin over 10 years ago

Workaround is commited in 6d9c7b5d37

Actions

Also available in: Atom PDF