Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3 - Debian

This is a discussion on Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3 - Debian ; Package: linux-source-2.6.23 Version: 2.6.23-3~snapshot.10051 Severity: normal When compiling for Athlon using gcc-4.3: gcc-4.3 --version gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk revision 131316] and make-kpkg --initrd linux-image modules-image compilation proceeded fine up until: CC arch/i386/lib/msr-on-cpu.o LD arch/i386/lib/built-in.o CC arch/i386/lib/bitops.o AS ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3

  1. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3

    Package: linux-source-2.6.23
    Version: 2.6.23-3~snapshot.10051
    Severity: normal


    When compiling for Athlon using gcc-4.3:

    gcc-4.3 --version
    gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk
    revision 131316]

    and make-kpkg --initrd linux-image modules-image

    compilation proceeded fine up until:

    CC arch/i386/lib/msr-on-cpu.o
    LD arch/i386/lib/built-in.o
    CC arch/i386/lib/bitops.o
    AS arch/i386/lib/checksum.o
    CC arch/i386/lib/delay.o
    AS arch/i386/lib/getuser.o
    CC arch/i386/lib/memcpy.o
    CC arch/i386/lib/mmx.o
    AS arch/i386/lib/putuser.o
    AS arch/i386/lib/semaphore.o
    CC arch/i386/lib/string.o
    CC arch/i386/lib/strstr.o
    CC arch/i386/lib/usercopy.o
    AR arch/i386/lib/lib.a
    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+0x1d927): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `do_gettimeofday':
    (.text+0x1d9e9): undefined reference to `__udivdi3'
    kernel/built-in.o: In function `do_gettimeofday':
    (.text+0x1da0c): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `timekeeping_resume':
    timekeeping.c.text+0x1db18): undefined reference to `__udivdi3'
    timekeeping.c.text+0x1db3b): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e214): undefined reference to `__udivdi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e237): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e2d3): undefined reference to `__udivdi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e2fd): undefined reference to `__umoddi3'
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/usr/src/linux-source-2.6.23'
    make: *** [debian/stamp-build-kernel] Error 2


    -- System Information:
    Debian Release: lenny/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
    Architecture: i386 (i686)

    Kernel: Linux 2.6.23 (SMP w/1 CPU core; PREEMPT)
    Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/bash

    Versions of packages linux-source-2.6.23 depends on:
    ii binutils 2.18.1~cvs20080103-1 The GNU assembler, linker and bina
    ii bzip2 1.0.4-2 high-quality block-sorting file co

    Versions of packages linux-source-2.6.23 recommends:
    ii gcc 4:4.2.2-1 The GNU C compiler
    ii libc6-dev [libc-dev] 2.7-5 GNU C Library: Development Librari
    ii make 3.81-3 The GNU version of the "make" util

    -- debconf-show failed



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

  2. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3

    On Wed, Jan 09, 2008 at 02:40:56AM +1030, Arthur Marsh wrote:
    > Package: linux-source-2.6.23
    > Version: 2.6.23-3~snapshot.10051
    > Severity: normal


    grrr reportbug-ng misses quite a lot of important info,
    thinking of automaticaly dropping such,
    please use reportbug until reportbug-ng is fixed to use
    the bug scripts.


    > When compiling for Athlon using gcc-4.3:
    >
    > gcc-4.3 --version
    > gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk
    > revision 131316]
    >
    > and make-kpkg --initrd linux-image modules-image
    >
    > compilation proceeded fine up until:
    >
    > CC arch/i386/lib/msr-on-cpu.o
    > LD arch/i386/lib/built-in.o
    > CC arch/i386/lib/bitops.o
    > AS arch/i386/lib/checksum.o
    > CC arch/i386/lib/delay.o
    > AS arch/i386/lib/getuser.o
    > CC arch/i386/lib/memcpy.o
    > CC arch/i386/lib/mmx.o
    > AS arch/i386/lib/putuser.o
    > AS arch/i386/lib/semaphore.o
    > CC arch/i386/lib/string.o
    > CC arch/i386/lib/strstr.o
    > CC arch/i386/lib/usercopy.o
    > AR arch/i386/lib/lib.a
    > 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+0x1d927): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `do_gettimeofday':
    > (.text+0x1d9e9): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `do_gettimeofday':
    > (.text+0x1da0c): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `timekeeping_resume':
    > timekeeping.c.text+0x1db18): undefined reference to `__udivdi3'
    > timekeeping.c.text+0x1db3b): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e214): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e237): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e2d3): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e2fd): undefined reference to `__umoddi3'
    > make[1]: *** [.tmp_vmlinux1] Error 1
    > make[1]: Leaving directory `/usr/src/linux-source-2.6.23'
    > make: *** [debian/stamp-build-kernel] Error 2


    what arch, what .config?

    did you try 2.6.24-rc7 from trunk, see apt lines
    -> http://wiki.debian.org/DebianKernel


    --
    maks



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

  3. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3



    maximilian attems wrote, on 2008-01-09 03:06:
    > On Wed, Jan 09, 2008 at 02:40:56AM +1030, Arthur Marsh wrote:
    >> Package: linux-source-2.6.23
    >> Version: 2.6.23-3~snapshot.10051
    >> Severity: normal

    >
    > grrr reportbug-ng misses quite a lot of important info,
    > thinking of automaticaly dropping such,
    > please use reportbug until reportbug-ng is fixed to use
    > the bug scripts.


    Hi, I was using reportbug and have not installed reportbug-ng.

    >
    >
    >> When compiling for Athlon using gcc-4.3:
    >>
    >> gcc-4.3 --version
    >> gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk
    >> revision 131316]
    >>
    >> and make-kpkg --initrd linux-image modules-image
    >>
    >> compilation proceeded fine up until:
    >>
    >> CC arch/i386/lib/msr-on-cpu.o
    >> LD arch/i386/lib/built-in.o
    >> CC arch/i386/lib/bitops.o
    >> AS arch/i386/lib/checksum.o
    >> CC arch/i386/lib/delay.o
    >> AS arch/i386/lib/getuser.o
    >> CC arch/i386/lib/memcpy.o
    >> CC arch/i386/lib/mmx.o
    >> AS arch/i386/lib/putuser.o
    >> AS arch/i386/lib/semaphore.o
    >> CC arch/i386/lib/string.o
    >> CC arch/i386/lib/strstr.o
    >> CC arch/i386/lib/usercopy.o
    >> AR arch/i386/lib/lib.a
    >> 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+0x1d927): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `do_gettimeofday':
    >> (.text+0x1d9e9): undefined reference to `__udivdi3'
    >> kernel/built-in.o: In function `do_gettimeofday':
    >> (.text+0x1da0c): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `timekeeping_resume':
    >> timekeeping.c.text+0x1db18): undefined reference to `__udivdi3'
    >> timekeeping.c.text+0x1db3b): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e214): undefined reference to `__udivdi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e237): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e2d3): undefined reference to `__udivdi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e2fd): undefined reference to `__umoddi3'
    >> make[1]: *** [.tmp_vmlinux1] Error 1
    >> make[1]: Leaving directory `/usr/src/linux-source-2.6.23'
    >> make: *** [debian/stamp-build-kernel] Error 2

    >
    > what arch, what .config?


    i386 architecture and .config based on linux-image-2.6.23-1-686 with the
    following changes:

    selected processor type to Athlon
    set pre-emption model to low latency desktop
    enabled pre-empting the big kernel lock
    enabled default security capabilities as a module

    The same error happened when the selected processor type was Pentium II
    (pre-coppermine).



    >
    > did you try 2.6.24-rc7 from trunk, see apt lines
    > -> http://wiki.debian.org/DebianKernel
    >
    >


    No. I am about to download it and try to compile it with gcc-4.3

    Regards,

    Arthur.



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

  4. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3

    On Wed, Jan 09, 2008 at 04:29:21AM +1030, Arthur Marsh wrote:
    > selected processor type to Athlon
    > set pre-emption model to low latency desktop
    > enabled pre-empting the big kernel lock
    > enabled default security capabilities as a module


    the last choice is really b0rked.

    > The same error happened when the selected processor type was Pentium II
    > (pre-coppermine).
    >
    >
    >
    > >
    > >did you try 2.6.24-rc7 from trunk, see apt lines
    > >-> http://wiki.debian.org/DebianKernel
    > >
    > >

    >
    > No. I am about to download it and try to compile it with gcc-4.3


    please report back on it,
    by default we currently use gcc-4.1

    thanks

    --
    maks



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

  5. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3



    maximilian attems wrote, on 2008-01-09 06:32:

    >>> did you try 2.6.24-rc7 from trunk, see apt lines
    >>> -> http://wiki.debian.org/DebianKernel
    >>>
    >>>

    >> No. I am about to download it and try to compile it with gcc-4.3

    >
    > please report back on it,
    > by default we currently use gcc-4.1


    Same error:

    CC lib/div64.o
    CC lib/sort.o
    CC lib/parser.o
    CC lib/halfmd4.o
    CC lib/debug_locks.o
    CC lib/random32.o
    CC lib/bust_spinlocks.o
    CC lib/hexdump.o
    CC lib/kasprintf.o
    CC lib/bitmap.o
    CC lib/iomap.o
    CC lib/iomap_copy.o
    CC lib/devres.o
    CC lib/check_signature.o
    CC lib/hweight.o
    CC lib/kernel_lock.o
    CC lib/plist.o
    CC lib/smp_processor_id.o
    CC lib/bitrev.o
    HOSTCC lib/gen_crc32table
    GEN lib/crc32table.h
    CC lib/crc32.o
    CC lib/genalloc.o
    CC lib/textsearch.o
    CC lib/percpu_counter.o
    CC lib/audit.o
    LD lib/built-in.o
    CC lib/argv_split.o
    CC lib/bug.o
    CC lib/cmdline.o
    CC lib/cpumask.o
    CC lib/ctype.o
    CC lib/dec_and_lock.o
    CC lib/dump_stack.o
    CC lib/extable.o
    CC lib/idr.o
    CC lib/int_sqrt.o
    CC lib/ioremap.o
    CC lib/irq_regs.o
    CC lib/klist.o
    CC lib/kobject.o
    CC lib/kobject_uevent.o
    CC lib/kref.o
    CC lib/prio_heap.o
    CC lib/prio_tree.o
    CC lib/proportions.o
    CC lib/radix-tree.o
    CC lib/rbtree.o
    CC lib/reciprocal_div.o
    CC lib/rwsem.o
    CC lib/semaphore-sleepers.o
    CC lib/sha1.o
    CC lib/string.o
    CC lib/vsprintf.o
    AR lib/lib.a
    LD lib/reed_solomon/built-in.o
    LD lib/zlib_deflate/built-in.o
    LD lib/zlib_inflate/built-in.o
    CC arch/x86/lib/msr-on-cpu.o
    LD arch/x86/lib/built-in.o
    CC arch/x86/lib/bitops_32.o
    AS arch/x86/lib/checksum_32.o
    CC arch/x86/lib/delay_32.o
    AS arch/x86/lib/getuser_32.o
    CC arch/x86/lib/memcpy_32.o
    AS arch/x86/lib/putuser_32.o
    AS arch/x86/lib/semaphore_32.o
    CC arch/x86/lib/string_32.o
    CC arch/x86/lib/strstr_32.o
    CC arch/x86/lib/usercopy_32.o
    AR arch/x86/lib/lib.a
    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+0x1d9f9): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `do_gettimeofday':
    (.text+0x1dab1): undefined reference to `__udivdi3'
    kernel/built-in.o: In function `do_gettimeofday':
    (.text+0x1dad4): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `timekeeping_resume':
    timekeeping.c.text+0x1dbcc): undefined reference to `__udivdi3'
    timekeeping.c.text+0x1dbef): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e2c8): undefined reference to `__udivdi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e2eb): undefined reference to `__umoddi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e387): undefined reference to `__udivdi3'
    kernel/built-in.o: In function `update_wall_time':
    (.text+0x1e3b1): undefined reference to `__umoddi3'
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/usr/src/linux-source-2.6.24-rc7'
    make: *** [debian/stamp-build-kernel] Error 2




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

  6. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3

    On Wed, Jan 09, 2008 at 02:40:56AM +1030, Arthur Marsh wrote:
    > When compiling for Athlon using gcc-4.3:
    >
    > gcc-4.3 --version
    > gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk
    > revision 131316]


    Does Linux upstream already bless gcc 4.3? I doubt.

    > kernel/built-in.o: In function `getnstimeofday':
    > (.text+0x1d927): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `do_gettimeofday':
    > (.text+0x1d9e9): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `do_gettimeofday':
    > (.text+0x1da0c): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `timekeeping_resume':
    > timekeeping.c.text+0x1db18): undefined reference to `__udivdi3'
    > timekeeping.c.text+0x1db3b): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e214): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e237): undefined reference to `__umoddi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e2d3): undefined reference to `__udivdi3'
    > kernel/built-in.o: In function `update_wall_time':
    > (.text+0x1e2fd): undefined reference to `__umoddi3'


    New references into libgcc, which is not available in the kernel.

    __umoddi3: modulo operation on unsigned double wide integer or so, with
    overflow checking.

    Bastian

    --
    Leave bigotry in your quarters; there's no room for it on the bridge.
    -- Kirk, "Balance of Terror", stardate 1709.2

  7. Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3



    Bastian Blank wrote, on 09/01/08 21:32:
    > On Wed, Jan 09, 2008 at 02:40:56AM +1030, Arthur Marsh wrote:
    >> When compiling for Athlon using gcc-4.3:
    >>
    >> gcc-4.3 --version
    >> gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk
    >> revision 131316]

    >
    > Does Linux upstream already bless gcc 4.3? I doubt.
    >
    >> kernel/built-in.o: In function `getnstimeofday':
    >> (.text+0x1d927): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `do_gettimeofday':
    >> (.text+0x1d9e9): undefined reference to `__udivdi3'
    >> kernel/built-in.o: In function `do_gettimeofday':
    >> (.text+0x1da0c): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `timekeeping_resume':
    >> timekeeping.c.text+0x1db18): undefined reference to `__udivdi3'
    >> timekeeping.c.text+0x1db3b): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e214): undefined reference to `__udivdi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e237): undefined reference to `__umoddi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e2d3): undefined reference to `__udivdi3'
    >> kernel/built-in.o: In function `update_wall_time':
    >> (.text+0x1e2fd): undefined reference to `__umoddi3'

    >
    > New references into libgcc, which is not available in the kernel.
    >
    > __umoddi3: modulo operation on unsigned double wide integer or so, with
    > overflow checking.
    >
    > Bastian


    Would the workaround suggested at
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044#c28

    "You need to add -fno-tree-scev-cprop to the KBUILD_CFLAGS"

    work when applied the particular source files in the kernel where the
    error is occurring?

    Arthur.



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

  8. Bug#459767: marked as done (linux-source-2.6.23: FTBFS with gcc-4.3)


    Your message dated Wed, 21 May 2008 21:14:05 +0200
    with message-id <20080521191405.GM29953@stro.at>
    and subject line Re: linux-source-2.6.23: FTBFS with gcc-4.3
    has caused the Debian Bug report #459767,
    regarding linux-source-2.6.23: FTBFS with gcc-4.3
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system
    misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    459767: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459767
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


+ Reply to Thread