lkml.org 
[lkml]   [2008]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Segfault in fbcmap.c => Compiler bug?
On Thu, 11 Dec 2008 09:23:59 +0100
Alex Raimondi <mailinglist@miromico.ch> wrote:

Hi Alex,

> I am using latest atmel avr32 kernel (2.6.27) form
> git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git.
> I am on it's master branch. I added a few patches specific to our own
> board (hammerhead).
>

Which toolchain are you using? If you have grabbed it from atmel.com
you have to download Buildroot for AVR32 [1] and build your own
toolchain. The toolchain on atmel.com is broken.

> When compiling with support for atmel_lcdfb the kernel segfaults at
> module probe.
>
> This is the segfault output:
>
> **********************************
> alg: No test for stdrng (krng)
> io scheduler noop registered
> io scheduler cfq registered (default)
> atmel_lcdfb atmel_lcdfb.0: 225KiB frame buffer at 13940000 (mapped at
> b3940000) Unable to handle kernel NULL pointer dereference at virtual

Does indeed look like a known GCC bug.

<snipp> rest of kernel dump and debugging>

1: www.atmel.no/buildroot

--
Best regards,
Hans-Christian Egtvedt


\
 
 \ /
  Last update: 2008-12-11 10:01    [W:0.506 / U:2.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site