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
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
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:
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
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
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,
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
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
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
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
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
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 –
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
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
14 matches
Mail list logo