Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964830AbXADMxS (ORCPT ); Thu, 4 Jan 2007 07:53:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964833AbXADMxS (ORCPT ); Thu, 4 Jan 2007 07:53:18 -0500 Received: from sd291.sivit.org ([194.146.225.122]:3783 "EHLO sd291.sivit.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964830AbXADMxR (ORCPT ); Thu, 4 Jan 2007 07:53:17 -0500 Subject: Re: [v4l-dvb-maintainer] [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name() From: Stelian Pop To: Trent Piepho Cc: Linux Kernel Mailing List , Linus Torvalds , v4l-dvb-maintainer@linuxtv.org, mchehab@infradead.org In-Reply-To: References: <1167909014.20853.8.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-15 Date: Thu, 04 Jan 2007 13:53:14 +0100 Message-Id: <1167915194.20853.18.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1205 Lines: 35 Le jeudi 04 janvier 2007 ? 04:09 -0800, Trent Piepho a ?crit : > On Thu, 4 Jan 2007, Stelian Pop wrote: > > This patch replaces a switch statement using 64 bit values with the > > if/else equivalent in order to prevent a call __ucmpdi2 generated by > > some versions of gcc (verified with gcc-4.1.2 20060928): > > > > drivers/built-in.o: In function `v4l2_norm_to_name': > > (.text+0x71100): undefined reference to `__ucmpdi2' > > > > Signed-off-by: Stelian Pop > > It looks like there is a much better way to handle this problem here: > http://lkml.org/lkml/2006/12/17/46 > > Basically: > A. Fix gcc so it doesn't call in __ucmpdi2 (already fixed?) > B. Link in __ucmpdi2 from libgcc > C. Write arch specific code to provide __ucmpdi2 Indeed, I didn't see that thread. Linus, just make sure you apply a fix for this problem before 2.4.20 goes final... Thanks and sorry for the noise. Stelian. -- Stelian Pop - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/