Generic patching instruction to fix inline bugs with gcc-3.4?
Is there a generic approach to fix issues like this that happen when trying to build with gcc-3.4:
Quoted 15 lines
With gcc-3.4 I get:
make[1]: Entering directory
/usr/src/linux-2.6.8-rc1-mm1' make[2]:arch/i386/kernel/asm-offsets.s' is up to date.
CHKinclude/linux/compile.h
CCdrivers/net/8139too.o
drivers/net/8139too.c: In functionrtl8139_open':
drivers/net/8139too.c:616: sorry, unimplemented: inlining failed
in call to 'rtl8139_start_thread': function body not availabledrivers/net/8139too.c:1362: sorry, unimplemented: called from here make[3]: *** [drivers/net/8139too.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory/usr/src/linux-2.6.8-rc1-mm1'
make: *** [stamp-build] Error 2
Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected] Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916 IT-Zentrum Standort Campus Mitte AIM. ralfpostfix
Quoted 2 lines · Ralf Hildebrandt
Is there a generic approach to fix issues like this that happen when trying to build with gcc-3.4:
Search lkml archives. Adrian posted tons of fixes for build problems like this the last few days.
Quoted 15 lines
Quoted 15 lines
With gcc-3.4 I get:
make[1]: Entering directory
/usr/src/linux-2.6.8-rc1-mm1' make[2]:arch/i386/kernel/asm-offsets.s' is up to date.
CHKinclude/linux/compile.h
CCdrivers/net/8139too.o
drivers/net/8139too.c: In functionrtl8139_open':
drivers/net/8139too.c:616: sorry, unimplemented: inlining failed
in call to 'rtl8139_start_thread': function body not availabledrivers/net/8139too.c:1362: sorry, unimplemented: called from here make[3]: *** [drivers/net/8139too.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory/usr/src/linux-2.6.8-rc1-mm1'
make: *** [stamp-build] Error 2
ciao, Marc