lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 1 Jan 2012 17:39:31 -0600 From: Jonathan Nieder <jrnieder@...il.com> To: Thorsten Glaser <tg@...bsd.de> Cc: Nicholas Bellinger <nab@...ux-iscsi.org>, Greg Ungerer <gerg@...inux.org>, linux-kernel@...r.kernel.org, linux-m68k@...r.kernel.org, target-devel@...r.kernel.org Subject: Re: [m68k] in modpost: "strlen" [iscsi_target_mod.ko] undefined! (and others) 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@...e.de> 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-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists