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] [day] [month] [year] [list]
Date:	Fri, 30 Mar 2007 12:39:36 -0700
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	Adrian Bunk <bunk@...sta.de>
CC:	Andi Kleen <andi@...stfloor.org>,
	Paweł Sikora <pluto@...k.net>,
	Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: Re: smart gcc inliner...

Adrian Bunk wrote:
> On Tue, Mar 27, 2007 at 07:55:38PM -0700, Jeremy Fitzhardinge wrote:
>   
>> Andi Kleen wrote:
>>     
>>> init functions should only ever be called from other init functions.
>>>
>>> So this should not happen. If it happens the annotations need to be fixed.
>>>       
>> I've seen some versions of gcc inline weak functions too.
>>     
>
> Please be more precise:
> - gcc version
> - example code
> - bug number in the gcc Bugzilla
>   

Sorry, it was a while ago, and I didn't take the time to fully report
it.  It was FC6 on x86_64, doing a 32-bit cross-build.  I'll see if I
can repro it.

> This would also help understanding what you are talking about:
> - Did gcc inline a global function?
> - Or was a static function declared as weak (which might be an error
>   by the programmer)?
> - ...
>   

It was, specifically, smp_setup_processor_id getting inlined into
start_kernel.

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