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>] [day] [month] [year] [list]
Message-ID: <2d05c4580903280125we93e60cod7ce8a53a7573788@mail.gmail.com>
Date:	Sat, 28 Mar 2009 09:25:57 +0100
From:	Dragoslav Zaric <dragoslav.zaric.kd@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: error: attribute '__cold__': unknown attribute

When I compile latest kernel sources [2.6.29] I get on almost every
line message :

error: attribute '__cold__': unknown attribute

I looked on the internet about __cold__ and I found this:

-----------------------------------------------------------------------------------------------------------------------
"gcc 4.3 supports a new __attribute__((__cold__)) to mark functions cold. Any
path directly leading to a call of this function will be unlikely. And gcc
will try to generate smaller code for the function itself.

Please use with care. The code generation advantage isn't large and in most
cases it is not worth uglifying code with this.
"
-----------------------------------------------------------------------------------------------------------------------

Will see at home which version of gcc I have, maybe if I have less
than gcc 4.3 and get gcc 4.3 it will be solved.

But anyway, what is "mark functions cold", what is this functionality ?

thanks,

Dragoslav Zaric,
[Professional programmer, M.Sc Astrophysics]
--
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