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:	Tue, 17 Oct 2006 15:19:24 -0400
From:	Mathieu Desnoyers <compudj@...stal.dyndns.org>
To:	Jeremy Fitzhardinge <jeremy@...p.org>
Cc:	Atsushi Nemoto <anemo@....ocn.ne.jp>, mbligh@...gle.com,
	fche@...hat.com, masami.hiramatsu.pt@...achi.com,
	prasanna@...ibm.com, akpm@...l.org, mingo@...e.hu,
	lethal@...ux-sh.org, linux-kernel@...r.kernel.org, jes@....com,
	zanussi@...ibm.com, richardj_moore@...ibm.com,
	michel.dagenais@...ymtl.ca, hch@...radead.org, gregkh@...e.de,
	tglx@...utronix.de, wcohen@...hat.com, ltt-dev@...fik.org,
	systemtap@...rces.redhat.com, alan@...rguk.ukuu.org.uk,
	karim@...rsys.com, pavel@...e.cz, joe@...ches.com,
	rdunlap@...otime.net, jrs@...ibm.com
Subject: Re: [PATCH] Linux Kernel Markers 0.20 for 2.6.17

* Jeremy Fitzhardinge (jeremy@...p.org) wrote:
> Atsushi Nemoto wrote:
> >When I compiled this with gcc 4.1.1 (mips), ".markers" section was
> >empty.
> >
> >I suppose "unused" attribute is not suitable for modern gcc.  Maybe
> >__attribute_used__ should be used?
> >  
> 
> It should be, but it still won't work.  There's a gcc bug which ignores 
> the attribute for local-scope static variables:  
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299
> 
> 
>    J
> 

I guess the correct way to handle it will be to put a "used" attribute in the
asm-generic/marker.h code, remove the unnecessary "unused" attribute in
asm-powerpc/marker.h and tell people to upgrade their gcc when it is broken.
The other way around would be to make the macro "use" the structure somewhere
without any impact.

Mathieu

OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68 
-
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