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-prev] [day] [month] [year] [list]
Date:	Mon, 24 Nov 2008 15:42:36 +0100
From:	Markus Trippelsdorf <markus@...ppelsdorf.de>
To:	Török Edwin <edwintorok@...il.com>
Cc:	James.Bottomley@...senPartnership.com, linux-scsi@...r.kernel.org,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: 2.6.28-rc6-tip fails to build with gcc 4.4.0

On Mon, Nov 24, 2008 at 04:28:13PM +0200, Török Edwin wrote:
> Hi,
> 
> Using gcc version 4.4.0 20081120 (experimental) [trunk revision 142055]
> I can't build latest tip/master (commit
> b27fef5b222564b6e7ae71f7110c233b2fb45a38)
> 
> drivers/built-in.o: In function `sd_revalidate_disk':
> sd.c:(.text+0x8bc76): undefined reference to `____ilog2_NaN'
> make: *** [.tmp_vmlinux1] Error 1
> 
> Apparently gcc determines that sector_size can have an invalid constant
> value as ilog2's parameter in sd_read_capacity.

> Did it find a real bug in sd.c, or is it a gcc bug?

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359

Setting CONFIG_CC_OPTIMIZE_FOR_SIZE=y in your .config should fix it for
now.

-- 
Markus
--
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