2.4.28-pre4: e1000_main.c gcc 3.4 compile error

From: Adrian Bunk (bunk_at_stusta.de)
Date: 10/08/04

  • Next message: Lee Revell: "Re: io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7)"
    Date:	Fri, 8 Oct 2004 22:08:49 +0200
    To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>, Ganesh.Venkatesan@intel.com
    
    

    On Fri, Oct 08, 2004 at 08:21:35AM -0300, Marcelo Tosatti wrote:
    >...
    > Summary of changes from v2.4.28-pre3 to v2.4.28-pre4
    > ============================================
    >...
    > Ganesh Venkatesan:
    >...
    > o e1000 - white space corrections, other cleanups
    >...

    The "other cleanups" are moving
    e1000_irq_enable/e1000_irq_disable/e1000_rx_checksum around resulting in
    at least the following compile error with gcc 3.4:

    <-- snip -->

    ...
    gcc-3.4 -D__KERNEL__
    -I/home/bunk/linux/kernel-2.4/linux-2.4.28-pre4-full/include -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
    -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
    -fno-unit-at-a-time -nostdinc -iwithprefix include
    -DKBUILD_BASENAME=e1000_main -c -o e1000_main.o e1000_main.c
    e1000_main.c: In function `e1000_up':
    e1000_main.c:132: sorry, unimplemented: inlining failed in call to
    'e1000_irq_enable': function body not available
    e1000_main.c:277: sorry, unimplemented: called from here
    make[4]: *** [e1000_main.o] Error 1
    make[4]: Leaving directory
    `/home/bunk/linux/kernel-2.4/linux-2.4.28-pre4-full/drivers/net/e1000'

    <-- snip -->

    Please drop this changeset.

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Lee Revell: "Re: io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7)"

    Relevant Pages

    • 2.6.12-rc5-mm1: fork connector doesnt compile with gcc 2.95
      ... The following compile breakage with gcc 2.95 is caused by ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: __alloc_pages ()
      ... > I have found that while allocating the pages in ... > function body is nil. ... I'd say gcc should optimize this out as is already, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ppcfix.diff
      ... is the version the post-2.95.3 snapshot of the gcc 2.95 ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] ip2: fix compile warnings
      ... If someone will ever define ENABLE_DSSNOW your change broke compilation ... with gcc 2.95. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] net/hamachi.c: remove bogus inline at function prototype (fwd)
      ... My primary goal was to fix the compilation with gcc 3.4, ... all inlines. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)