- Subject: Re: [m68k] in modpost: "strlen" [iscsi_target_mod.ko] undefined! (and others)
- From: Jonathan Nieder <jrnieder@xxxxxxxxx>
- Date: Sun, 1 Jan 2012 17:39:31 -0600
- Cc: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>, Greg Ungerer <gerg@xxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, target-devel@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.BSM.4.64L.1201012310590.20109@herc.mirbsd.org>
- References: <20111116181424.14920.7730.reportbug@ara5.mirbsd.org> <Pine.BSM.4.64L.1111301751500.12725@herc.mirbsd.org> <CAMuHMdW8t8Q7OqxJM602iLG4aSv1KMTY-fhiGS7hyy8xBReh1A@mail.gmail.com> <Pine.BSM.4.64L.1112181741430.856@herc.mirbsd.org> <Pine.BSM.4.64L.1112181929380.856@herc.mirbsd.org> <Pine.BSM.4.64L.1201012310590.20109@herc.mirbsd.org>
- User-agent: Mutt/1.5.21+51 (9e756d1adb76) (2011-07-01)
Thorsten Glaser wrote[1]:
Dixi quod…
So, please, compile the Linux kernel with -ffreestanding, too.
Just to keep this bugreport in the loop: that fixes the FTBFS error.
Yep, sounds like a reasonable idea, though these calls to
"strncat(buf, str, strlen(str))" in the iscsi driver are still a
little insane. Could you suggest a patch to arch/m68k/Makefile to do
that?
Thanks,
Jonathan
[1] http://bugs.debian.org/648996
Background:
commit 6edfba1b33c7
Author: Andi Kleen <ak@xxxxxxx>
Date: Sat Mar 25 16:29:49 2006 +0100
[PATCH] x86_64: Don't define string functions to builtin
gcc should handle this anyways, and it causes problems when
sprintf is turned into strcpy by gcc behind our backs and
the C fallback version of strcpy is actually defining __builtin_strcpy
Then drop -ffreestanding from the main Makefile because it isn't
needed anymore and implies -fno-builtin, which is wrong now.
(it was only added for x86-64, so dropping it should be safe)
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Video for Linux]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[Linux Kernel]
[Linux SCSI]
[XFree86]