From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugme-daemon@bugzilla.kernel.org
Subject: [Bug 11800] building SES support fails w/ gcc-3.4.5
Date: Wed, 22 Oct 2008 14:17:50 -0700 (PDT)
Message-ID: <20081022211750.B19C6108047@picon.linux-foundation.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8BIT
Return-path:
Received: from smtp1.linux-foundation.org ([140.211.169.13]:33629 "EHLO
smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with ESMTP id S1753025AbYJVVRw convert rfc822-to-8bit
(ORCPT );
Wed, 22 Oct 2008 17:17:52 -0400
Received: from picon.linux-foundation.org (picon.linux-foundation.org [140.211.169.79])
by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id m9MLHoPH014904
for ; Wed, 22 Oct 2008 14:17:51 -0700
In-Reply-To:
Sender: linux-scsi-owner@vger.kernel.org
List-Id: linux-scsi@vger.kernel.org
To: linux-scsi@vger.kernel.org
http://bugzilla.kernel.org/show_bug.cgi?id=11800
------- Comment #4 from anonymous@kernel-bugs.osdl.org 2008-10-22 14:17 -------
Reply-To: James.Bottomley@HansenPartnership.com
On Wed, 2008-10-22 at 13:30 -0700, Andrew Morton wrote:
> OK, it's here:
>
> buf = kmalloc(vpd_len, GFP_KERNEL);
>
> it's a gcc bug.
>
> Please see if you can find some way to make it go away - perhaps change
> vpd_len's type to `int', things like that.
>
> Or use a different compiler version :(
Could it be an optimisation issue? The static oversize test relies on
the compiler optimising away a leg that can never be reached if the size
is under the max. If you do a make V=1 you'll see what optimisation
flags the compiler is using ... if it's -O2 then yes, the compiler
should be optimising stuff away and it's a clear compiler problem. If
it's anything else, we might have a mis setting of the optimisation
level in the kernel build.
James
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.