Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2012-01-01 Thread Thorsten Glaser
Dixi quod… So, please, compile the Linux kernel with -ffreestanding, too. Just to keep this bugreport in the loop: that fixes the FTBFS error. http://lists.debian.org/debian-68k/2012/01/msg0.html bye, //mirabilos -- dileks ch: good, you corrected yourself. ppl tend to tweet such news

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-12-18 Thread Thorsten Glaser
Dixi quod… I suspect gcc emitting a call to strFOO for __builtin_strFOO. And indeed, it does; waldi just pointed me to the fact that the Linux kernel, despite being a kernel and not a hosted environment, does not use -ffreestanding in its CFLAGS. No surprise it does that, then. When I first

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-30 Thread Thorsten Glaser
Still fails: […] LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map cp vmlinux vmlinux.tmp strip vmlinux.tmp gzip -9c vmlinux.tmp vmlinux.gz rm vmlinux.tmp Building modules, stage 2. MODPOST 749 modules ERROR: strlen [drivers/target/iscsi/iscsi_target_mod.ko] undefined! ERROR:

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-30 Thread Andreas Schwab
Thorsten Glaser t...@mirbsd.de writes: ERROR: strlen [drivers/target/iscsi/iscsi_target_mod.ko] undefined! ERROR: strcpy [drivers/target/iscsi/iscsi_target_mod.ko] undefined! Missing linux/string.h. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-30 Thread Geert Uytterhoeven
On Wed, Nov 30, 2011 at 18:53, Thorsten Glaser t...@mirbsd.de wrote: ERROR: strlen [drivers/target/iscsi/iscsi_target_mod.ko] undefined! ERROR: strcpy [drivers/target/iscsi/iscsi_target_mod.ko] undefined! Haven't seen that issue here. Can you please send me: - your .config - The output

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-30 Thread Thorsten Glaser
Andreas Schwab dixit: Thorsten Glaser t...@mirbsd.de writes: ERROR: strlen [drivers/target/iscsi/iscsi_target_mod.ko] undefined! ERROR: strcpy [drivers/target/iscsi/iscsi_target_mod.ko] undefined! Missing linux/string.h. No, these are generated by gcc. (See the debbugs context.) bye,

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Jonathan Nieder
Hi, Thorsten Glaser wrote: Linux 3.1 doesn’t build any more, Linux 3.0 built successfully in all its versions. Full build log attached. “amiga” is the first of the available (and needed/used) flavours, this might thus affect more or all of them. [...] MODPOST 748 modules ERROR: strlen

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Jonathan Nieder
Thorsten Glaser wrote: ERROR: strlen [drivers/target/iscsi/iscsi_target_mod.ko] undefined! ERROR: strcpy [drivers/target/iscsi/iscsi_target_mod.ko] undefined! Hm, see also [1]. I guess there might be a useless use of strncat here. I wonder if there's a way to ask GCC not to do this kind of

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Thorsten Glaser
Jonathan Nieder dixit: Linux 3.1 doesn’t build any more, Linux 3.0 built successfully in all its versions. Full build log attached. “amiga” is the first of the available (and needed/used) flavours, this might thus affect more or all of them. [...] MODPOST 748 modules ERROR: strlen

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Ben Hutchings
On Wed, Nov 16, 2011 at 02:20:19PM -0600, Jonathan Nieder wrote: Thorsten Glaser wrote: ERROR: strlen [drivers/target/iscsi/iscsi_target_mod.ko] undefined! ERROR: strcpy [drivers/target/iscsi/iscsi_target_mod.ko] undefined! Hm, see also [1]. I guess there might be a useless use of

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Thorsten Glaser
Jonathan Nieder dixit: [1] http://thread.gmane.org/gmane.linux.kernel/680193/focus=680351 I think users of both strcpy and strncat should be shot, unquestioned… (but then, GNU is still the only major vendor without strlc{py,at}…) bye, //mirabilos -- dileks ch: good, you corrected yourself. ppl

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Thorsten Glaser
Ben Hutchings dixit: But there are no warnings in the log for use of these functions without declarations. So if linux/string.h is not included already (indirectly), where are they declared? I don't believe I fear they might be correct and gcc replaces certain function calls with others, or –

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Ben Hutchings
On Wed, Nov 16, 2011 at 09:42:41PM +, Thorsten Glaser wrote: Ben Hutchings dixit: But there are no warnings in the log for use of these functions without declarations. So if linux/string.h is not included already (indirectly), where are they declared? I don't believe I fear they

Bug#648996: linux-2.6: FTBFS [m68k] in modpost: strlen [iscsi_target_mod.ko] undefined! (and others)

2011-11-16 Thread Jonathan Nieder
Ben Hutchings wrote: Try KBUILD_VERBOSE=1 dpkg-buildpackage ... And hiding command lines by default is not broken; it makes it a hell of a lot easier to actually see warnings. Though there is a question of what the default behavior on autobuilders should be. I guess it would be nice if