[lkml]   [2001]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: start___kallsyms missing from i386 ?
On Tue, 02 Jan 2001 04:39:39 -0500, 
Paul Gortmaker <> wrote:
>Keith Owens wrote:
>> kernel/module.c defines
>> extern const char __start___kallsyms[] __attribute__ ((weak));
>> extern const char __stop___kallsyms[] __attribute__ ((weak));
>> The symbols are weak and do not need to be defined. If gcc is not
>> honouring __attribute__ ((weak)) then you have a broken or obsolete
>> version of gcc. You need at least gcc 2.91.66 for kernel 2.4.
>Yep, saw the weak part - just noted while scanning test11 diff
>that they were defined like the above patch for arch/sparc* and
>wondered if the inconsistency was intentional.

Some sparc users have a slightly older version of gcc, built shortly
before 'weak' support was added, which required those symbols to be
defined. Dave Miller thought the compiler problem was widespread
enough to justify changing the source to suit the compiler instead of
forcing sparc users to upgrade. I suspect that super-h has the same
problem of old compilers, I noticed that somebody added the symbols to

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.200 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site