[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.58.0701040357250.19252@shell4.speakeasy.net>
Date: Thu, 4 Jan 2007 04:09:24 -0800 (PST)
From: Trent Piepho <xyzzy@...akeasy.org>
To: Stelian Pop <stelian@...ies.net>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...l.org>,
v4l-dvb-maintainer@...uxtv.org, mchehab@...radead.org
Subject: Re: [v4l-dvb-maintainer] [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name()
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 <stelian@...ies.net>
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists