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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 18 Dec 2011 19:33:02 +0000 (UTC)
From:	Thorsten Glaser <tg@...ian.org>
To:	linux-kernel@...r.kernel.org
cc:	648996@...s.debian.org, debian-68k@...ts.debian.org,
	Bastian Blank <waldi@...ian.org>
Subject: Re: Bug#648996: linux-2.6: FTBFS [m68k] in modpost: "strlen"
 [iscsi_target_mod.ko] undefined! (and others)

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 upgraded from gcc 2.x to gcc 3.x in MirBSD, the kernel
inherited from OpenBSD had similar issues, and adding -ffreestanding
as should be fixed that.

So, please, compile the Linux kernel with -ffreestanding, too.

bye,
//mirabilos
-- 
In traditional syntax ' is ignored, but in c99 everything between two ' is
handled as character constant.  Therefore you cannot use ' in a preproces-
sing file in c99 mode.	-- Ragge
No faith left in ISO C99, undefined behaviour, etc.
--
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