Bug 9669 - __you_cannot_kmalloc_that_much with gcc 3.2
Summary: __you_cannot_kmalloc_that_much with gcc 3.2
Status: RESOLVED CODE_FIX
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Slab Allocator (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jean Delvare
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 05:18 UTC by Adrian Bunk
Modified: 2008-01-09 02:10 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.24-rc6
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
.config used (48.85 KB, text/plain)
2008-01-01 05:18 UTC, Adrian Bunk
Details
Proposed workaround (5.96 KB, patch)
2008-01-08 04:55 UTC, Jean Delvare
Details | Diff

Description Adrian Bunk 2008-01-01 05:18:09 UTC
With both 2.6.23 and 2.6.24-rc6 I'm getting the following compile error with gcc 3.2.3 (no problem with gcc 3.3):

<--  snip  -->

...
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `dmi_id_init':
dmi-id.c:(.init.text+0x709e): undefined reference to `__you_cannot_kmalloc_that_much'
sound/built-in.o: In function `snd_mixer_oss_build_input':
mixer_oss.c:(.text+0x18a15): undefined reference to `__you_cannot_kmalloc_that_much'
make: *** [.tmp_vmlinux1] Error 1

<--  snip  -->
Comment 1 Adrian Bunk 2008-01-01 05:18:50 UTC
Created attachment 14245 [details]
.config used
Comment 2 Jean Delvare 2008-01-08 04:55:46 UTC
Created attachment 14359 [details]
Proposed workaround

This is the same patch as I just posted to LKML.

Note You need to log in before you can comment on or make changes to this bug.