From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753006AbbFHXeF (ORCPT ); Mon, 8 Jun 2015 19:34:05 -0400 Received: from mail.eperm.de ([89.247.134.16]:46150 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752787AbbFHXdy (ORCPT ); Mon, 8 Jun 2015 19:33:54 -0400 From: Stephan Mueller To: Guenter Roeck Cc: Andy Shevchenko , Jim Davis , Stephen Rothwell , linux-next , linux-kernel , Herbert Xu , "David S. Miller" , linux-crypto Subject: Re: randconfig build error with next-20150529, in crypto/jitterentropy.c Date: Tue, 09 Jun 2015 01:33:12 +0200 Message-ID: <1702795.h60qkgijGA@tauon.atsec.com> User-Agent: KMail/4.14.7 (Linux/4.0.4-303.fc22.x86_64; KDE/4.14.8; x86_64; ; ) In-Reply-To: <55762581.6070809@roeck-us.net> References: <2802354.BKbRJQHDPP@tauon.atsec.com> <55762581.6070809@roeck-us.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Monday 08 June 2015, 16:30:09 schrieb Guenter Roeck: Hi Guenter, > >get_cycles is implemented as static inline which executes mfspr(SPR_TTCR). >SPR_TTCR is a constant. Normally that information seems to be passed on, >but not when get_cycles() is compiled through jitterentropy. > >Any idea what might cause this ? Then it may be the optimization issue as well that Peter indicated. May I ask you for testing purposes (I do not have an OpenRISC) to remove the following line from crypto/Makefile: CFLAGS_jitterentropy.o = -O0 Note, that should just serve for testing. I will post a patch later that will replace the -O0 statement with a pragma. Thanks a lot. > >Thanks, >Guenter Ciao Stephan