Re: gcc-4.3: Kernel build fails - Debian

This is a discussion on Re: gcc-4.3: Kernel build fails - Debian ; Jörg Sommer writes: > Hi, > > I don't know if you are aware of this fact. Compiling the kernel release > 2.6.24 on PowerPC with gcc-4.3 fails. > > LD [M] lib/zlib_inflate/zlib_inflate.o > GEN .version > CHK include/linux/compile.h > ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: gcc-4.3: Kernel build fails

  1. Re: gcc-4.3: Kernel build fails

    Jörg Sommer writes:
    > Hi,
    >
    > I don't know if you are aware of this fact. Compiling the kernel release
    > 2.6.24 on PowerPC with gcc-4.3 fails.
    >
    > LD [M] lib/zlib_inflate/zlib_inflate.o
    > GEN .version
    > CHK include/linux/compile.h
    > UPD include/linux/compile.h
    > CC init/version.o
    > LD init/built-in.o
    > LD .tmp_vmlinux1
    > kernel/built-in.o: In function `getnstimeofday':
    > (.text+0x24988): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `getnstimeofday':
    > (.text+0x249a8): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `do_gettimeofday':
    > (.text+0x24b08): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `do_gettimeofday':
    > (.text+0x24b28): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `timekeeping_resume':
    > timekeeping.c.text+0x24e04): undefined reference to `__umoddi3'
    > timekeeping.c.text+0x24e24): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x25374): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x25394): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x257f0): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x25810): undefined reference to `__udivdi3'
    > make: *** [.tmp_vmlinux1] Fehler 1


    these are defined in libgcc.a (linking with -static-libgcc should
    resolve these symbols).

  2. Re: gcc-4.3: Kernel build fails

    On Mon, Jan 28, 2008 at 03:46:23PM +0100, Matthias Klose wrote:
    > these are defined in libgcc.a (linking with -static-libgcc should
    > resolve these symbols).


    No. libgcc is not compatible with the kernel ABI.

    Bastian

    --
    The best diplomat I know is a fully activated phaser bank.
    -- Scotty


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread