> I get this error compiling linux-2.6.11.3 with gcc-4.1-20050702 on many > targets: > > drivers/char/random.c: In function 'extract_entropy': > drivers/char/random.c:634: sorry, unimplemented: inlining failed in call to > 'add_entropy_words': function not considered for inlining > drivers/char/random.c:1325: sorry, unimplemented: called from here > drivers/char/random.c: At top level: > drivers/char/random.c:1813: internal compiler error: in > cgraph_early_inlining, at ipa-inline.c:990 > > Line 1813 is > EXPORT_SYMBOL(generate_random_uuid); > > I don't have the preprocessed source handy, but I can provide it if > this hasn't already been reported. Having preprocessed testcase would be nice. Obvious fix would be to disable warning during early inlining, but I can't come of scenario where the early inliner should miss always inline call.
Honza