From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Brown Subject: Re: [BUG] net/core/sock.c won't compile on alpha Date: Wed, 22 Aug 2012 22:20:24 +0100 Message-ID: <87haruei93.wl%lists@700c.org> References: <20120822121407.GA6257@gherkin.frus.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Return-path: DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=700c.org; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type; s=mesmtp; bh=jyn/NJoFSLJGu+AkONqAWdh qDxc=; b=T8svnJpquc7uGSonT8NkEpz1Em0knqvpVeH26NGtfbU3Fpjb/mV3Uie gYruzKJvVKf6wEDrJt8CjH23VdcwU4xaXXVQ2jh6LyY0RP6VlM60aP/32LDnoJOV 7c94oDxK3vk6Hhcb/jz3WlroCgZcIxGL0AXnVYp8nF+Omn8uYPKw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:message-id:from:to:cc:subject :in-reply-to:references:mime-version:content-type; s=smtpout; bh=jyn/NJoFSLJGu+AkONqAWdhqDxc=; b=jUjkiGuhs3RqjUsjEvvm5bG6rdHL NEHS6xlZ6IDgPLw90sQDXxH6YyEDchntHzWTSmojfcadrsURVSDeOOtik88eTt6n kFdMGpS8GLZOaTGG0KPVPZqniNMzXtqRASHqK8hlgQ4Awg9PwNIw8snWFcaaf6/J tfV9yFAX4werv/M= In-Reply-To: <20120822121407.GA6257@gherkin.frus.com> Sender: linux-alpha-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bob Tracy Cc: linux-alpha@vger.kernel.org Bob, Is this a different issue to the one discussed and fixed earlier in the month with this email subject: Re: [next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant Sounds very similar. Simon At Wed, 22 Aug 2012 07:14:07 -0500, Bob Tracy wrote: > > Kernel version 3.6.0-rc2, and probably -rc1 as well. I get the > following compile-time error on alpha architecture: > > (...) > CC net/core/sock.o > net/core/sock.c:274:36: error: initializer element is not constant > net/core/sock.c:274:36: error: (near initialization for "memalloc_socks") > net/core/sock.c:274:36: error: initializer element is not constant > make[2]: *** [net/core/sock.o] Error 1 > make[1]: *** [net/core] Error 2 > make: *** [net] Error 2 > > Compiler is gcc-4.6.3. > > Line 274 of net/core/sock.c is > > struct static_key memalloc_socks = STATIC_KEY_INIT_FALSE; > > which made its first appearance in 3.6.0-rc1. > > --Bob > -- > To unsubscribe from this list: send the line "unsubscribe linux-alpha" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >