[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200906050339.n553d684048041@www262.sakura.ne.jp>
Date: Fri, 05 Jun 2009 12:39:06 +0900
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, xiyou.wangcong@...il.com
Subject: Re: [2.6.30-rc8] gcc 3.3 : __udivdi3 undefined.
Andrew Morton wrote:
> Do
>
> make arch/x86/mm/pageattr.s
>
> then have a look in pageattr.s to find the __udivdi3 callsite.
>
> It might not even be in arch/x86/mm/pageattr.o at all. If not, keep
> building .s files in that directory until you find it.
>
> Building with CONFIG_DEBUG_INFO=1 will allow you to find the exact C
> file-n-line where the __udivdi3() call is being emmitted (look at the
> .loc lines).
$ make -k CONFIG_DEBUG_INFO=1 `echo arch/x86/mm/*.c | sed -e 's/\.c/.s/g'`
(...snipped...)
$ grep __udivdi3 arch/x86/mm/*.s
arch/x86/mm/memtest.s:.globl __udivdi3
arch/x86/mm/memtest.s: call __udivdi3
Tetsuo Handa wrote:
> "make allnoconfig" compiles fine. Maybe config dependent?
It was because "make allnoconfig" skips arch/x86/mm/memtest.c .
--
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