Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3
On Tue, May 27, 2008 at 11:36:23PM +0200, Didier Raboud wrote: > Le mercredi 21 mai 2008 21:14:05 maximilian attems, vous avez écrit : > > Version: 2.6.25-1 > > > > no longer the case and it even boots fine! :) > > Hi, > > Just wondering (as user)... > > Isn't the gcc-4.3 mandatory for all packages in Lenny (so as well for the > kernel) ? So why not enabling it per default as soon as possible (at least on > arches where it builds...) ? separate issue and tracked in a separted bug report will be fixed for 2.6.26 -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3
Le mercredi 21 mai 2008 21:14:05 maximilian attems, vous avez écrit : > Version: 2.6.25-1 > > no longer the case and it even boots fine! :) Hi, Just wondering (as user)... Isn't the gcc-4.3 mandatory for all packages in Lenny (so as well for the kernel) ? So why not enabling it per default as soon as possible (at least on arches where it builds...) ? $ apt-cache showsrc linux-image-2.6.25-2-amd64 | grep gcc Build-Depends: debhelper (>= 4.1.0), module-init-tools, dpkg-dev (>= 1.10.23), sparc-utils [sparc], kernel-package (>= 10.063), python, gcc-4.1 [alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc], binutils-hppa64 [hppa], gcc-4.1-hppa64 [hppa], gcc-3.3 [m68k] Build-Depends: debhelper (>= 4.1.0), module-init-tools, dpkg-dev (>= 1.10.23), sparc-utils [sparc], kernel-package (>= 10.063), python, gcc-4.1 [alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc], binutils-hppa64 [hppa], gcc-4.1-hppa64 [hppa], gcc-3.3 [m68k] Visibly, it is still gcc-4.1 for most of the architectures and event gcc-3.3 for m68k. Thanks for your time ! Regards, Didier Raboud signature.asc Description: This is a digitally signed message part.
Processed: Re: Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3
Processing commands for [EMAIL PROTECTED]: > reassign 459767 linux-2.6 Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3 Warning: Unknown package 'linux-source-2.6.23' Bug reassigned from package `linux-source-2.6.23' to `linux-2.6'. > -- Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#459767: linux-source-2.6.23: FTBFS with gcc-4.3
Just for the record: gcc-4.3 still fails on a current vanilla kernel with the same message: http://nerdbynature.de/bits/2.6.25-git/ (gcc 4.3-20080227-1 with today's 2.6.25-git) Adding -fno-tree-scev-cprop to KBUILD_CFLAGS did not succeed, the build fails instantly, please see make_fno-tree-scev-cprop.log. There are reports on the net to set "CONFIG_GCC_4003_SUPPORT", however this option is not mainline (nor did I find any patches adding this option). Thanks, Christian. -- BOFH excuse #269: Melting hard drives -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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
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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 binutils2.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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]