Project

General

Profile

Actions

Bug #1036

open

gcc 4.6.0 doesn't support full kernel build

Added by Evgeny Novikov about 13 years ago. Updated about 13 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
Infrastructure
Start date:
04/05/2011
Due date:
% Done:

0%

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

Description

I try gcc 4.6.0 on the old 2.6.31.6 but even 2.6.38 contains the given problem:

In file included from drivers/net/igbvf/ethtool.c:36:0:
drivers/net/igbvf/igbvf.h: At top level:
drivers/net/igbvf/igbvf.h:128:15: error: duplicate member ‘page’
make[3]: *** [drivers/net/igbvf/ethtool.o] Error 1
make[2]: *** [drivers/net/igbvf] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Corresponding official note is so http://kerneltrap.org/mailarchive/linux-netdev/2010/10/18/6287514.
I suggest that we should turn off this error in gcc internally. Another way is to do all kernels correct by means of a special patch (the latter even can be found in last kernels).


Files

qib_iba7322.c.p.ma (1.32 MB) qib_iba7322.c.p.ma Preprocessed sources of noncompilable driver Evgeny Novikov, 05/24/2011 11:14 AM

Related issues 1 (0 open1 closed)

Related to C Instrumentation Framework - Bug #1166: GCC-aspectator fails with fatal error: incorrect exceptional codeClosedEvgeny Novikov05/03/2011

Actions
Actions

Also available in: Atom PDF