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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 12 Nov 2006 15:10:55 +0100
From:	Segher Boessenkool <segher@...nel.crashing.org>
To:	Bernhard Rosenkraenzer <bero@...linux.org>
Cc:	Avi Kivity <avi@...ranet.com>, linux-kernel@...r.kernel.org,
	akpm@...l.org
Subject: Re: 2.6.19-rc5-mm1 fails to compile with gcc 4.2

>>> It does look like a gcc bug -- -O0 makes it go away.
>>> Details at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29808
>>
>> That's a different bug, gcc generates code that the assembler can't
>> handle.  Might be an assembler bug.
>
> It's the same thing, the code is taken from kvm_main.c:
>
> static void load_fs(u16 sel)
> {
>         asm ("mov %0, %%fs" : : "g"(sel));	<--- line 153
> }

Like I said in GCC PR29808, it's invalid -- use "r" instead.


Segher

-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ