Project

General

Profile

Actions

Feature #2876

open

Investigate why we have to redefine BUILD_BUG_ON macro

Added by Evgeny Novikov almost 12 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Infrastructure
Start date:
05/22/2012
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

As was noted in #2875 without BUILD_BUG_ON redefinition our models both plain and aspect aren't verified (plain models lead to build-time bugs in BLAST parser, aspect models lead to build-time bugs in CIF). But this isn't normal. It seems to me that the true problem is in our kernel Makefiles patching process, since standard kernels don't show such the problem.


Related issues 1 (0 open1 closed)

Related to Linux Driver Verification - Bug #2875: Plain models don't work with 3.4 Linux kernelClosedEvgeny Novikov05/22/2012

Actions
Actions #1

Updated by Evgeny Novikov over 8 years ago

The root reason for this is disabling GCC optimization (flags "-O*") as noted at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712103. Note that, say, Linux 3.14 doesn't have corresponding code and it can be compiled even with disabling GCC optimizations.

Actions

Also available in: Atom PDF