From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756636AbYJMIP7 (ORCPT ); Mon, 13 Oct 2008 04:15:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755178AbYJMIPu (ORCPT ); Mon, 13 Oct 2008 04:15:50 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:57814 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755134AbYJMIPt (ORCPT ); Mon, 13 Oct 2008 04:15:49 -0400 Date: Mon, 13 Oct 2008 01:15:25 -0700 (PDT) Message-Id: <20081013.011525.31258522.davem@davemloft.net> To: mathieu.desnoyers@polymtl.ca Cc: linux-kernel@vger.kernel.org Subject: Re: sparc64: Optimized immediate value implementation build error From: David Miller In-Reply-To: <20081003201007.GA16025@Krystal> References: <20081003201007.GA16025@Krystal> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mathieu Desnoyers Date: Fri, 3 Oct 2008 16:10:07 -0400 > I ran a cross-compiler on the -lttng tree > git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-lttng.git > > to build the sparc64 arch, and ran across this build error : > > /home/compudj/git/morestable/linux-2.6-lttng/include/trace/sched.h: In function `do_fork': > /home/compudj/git/morestable/linux-2.6-lttng/include/trace/sched.h:38: warning: asm operand 1 probably doesn't match constraints > /home/compudj/git/morestable/linux-2.6-lttng/include/trace/sched.h:38: error: impossible constraint in `asm' > /home/compudj/git/morestable/linux-2.6-lttng/include/trace/sched.h:38: warning: 'value' might be used uninitialized in this function > make[2]: *** [kernel/fork.o] Error 1 > > I think it's caused by : > http://git.kernel.org/?p=linux/kernel/git/compudj/linux-2.6-lttng.git;a=commit;h=c76bfa90a6eb02651368a152b3646aa672d9e625 It can't be "caused by" that commit because that's the initial immediate value sparc64 support I wrote and the tree very much compiled properly when I did test builds way back then. I don't have time to look further into this right now, sorry.