lkml.org 
[lkml]   [1998]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Problems with EGCS 1.1 vs GCC 2.7.2.3
Date
> We use GCC 2.7.2.3 to compile our Open Sound System sound drivers and when they load, they are complaining that: 
>
> unresolved symbol printk_Rsmp_dd132261
>
> Can somebody in the EGCS group verify the printk ksym versioning compared to the one generated by GCC 2.7.2.3?. Note that all other ksyms are fine.
>
> Once you compile the kernel with GCC 2.7.2.3, OSS loads just fine.

When you build with egcs printk becomes

__attribute__((regparm(0))) int printk(const char *, ...)

That is needed because a user might turn on register parameter passing too
and that would break when called from assembler unless marked with
regparm.

So if anything the "__attribute__((regparm(0)))" stuff needs to be taught
to genksyms.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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