Thanks Steve, where is this patch from? Is this debian made or from
bugzilla or somewhere? If it is not yet know to upstream I will forward it.

On Mon, Aug 29, 2005 at 02:07:51AM -0700, Steve Langasek wrote:
> Package: mozilla
> Severity: serious
> 
> The current mozilla package fails to build on alpha, arm, and ia64
> because it uses __attribute__((unused)) to mark static functions that
> are called only from assembly routines.  As of gcc 3.1,
> __attribute__((used)) exists for marking static functions that are used;
> as of gcc 4.0, __attribute__((unused)) still suppresses compiler
> warnings about unused static functions, but it does *not* prevent the
> compiler from optimizing them away.
> 
> The attached patch should fix this failure for all three architectures.
> It has only been tested on alpha, and each architecture has its own
> implementation for this bit of code, but this patch fixes all uses of
> __attribute__((unused)), so it should be sufficient.  (FWIW, one other
> architecture -- i386 -- already uses ((used)) in the code...)
> 
> Since this bug is in the XPCOM code, it also affects other packages that
> build copies of XPCOM.  I'll clone this bug off to them as soon as I
> have a bug number back.
> 
> Thanks,


 - Alexander

 p.s. please take care that the bug is listed as To: or CC: when 
      replying to this mail (e.g. /reply-all/). 
-- 
 GPG messages preferred.   |  .''`.  ** Debian GNU/Linux **
 Alexander Sack            | : :' :      The  universal
 [EMAIL PROTECTED]           | `. `'      Operating System
 http://www.asoftsite.org  |   `-    http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to