From: Dave Korn <dave.korn.cygwin@gmail.com>
To: Binutils <binutils@sourceware.org>
Subject: Re: gas -Werror compilation break [Re: [patch ld bfd gas]: Handle linkonce for cfi generated debug_frame and eh_frame data]
Date: Fri, 06 May 2011 17:58:00 -0000 [thread overview]
Message-ID: <4DC43687.5030900@gmail.com> (raw)
In-Reply-To: <20110505132113.GI7018@bubble.grove.modra.org>
On 05/05/2011 14:21, Alan Modra wrote:
> On Thu, May 05, 2011 at 06:14:54PM +0930, Alan Modra wrote:
>> I'll be committing the following instead, which I wrote a couple of
>> days ago but didn't get around to installing, or even writing a
>> changelog.
>
> Now committed with this ChangeLog entry.
>
> * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
> file to conditionally compile code added 2011-04-26.
> (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
> when SUPPORT_FRAME_LINKONCE.
> (get_cfi_seg): Likewise. Reintroduce old code for when not
> SUPPORT_FRAME_LINKONCE.
> (cfi_finish): Move get_cfi_seg calls out of loop when not
> SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
>
Hmm, still getting this:
> /n/10/davek/binutils/src.clean/gas/dw2gencfi.c: In function 'cfi_finish':
> /n/10/davek/binutils/src.clean/gas/dw2gencfi.c:1903:17: error: variable 'ccseg' set but not used [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
>
> make[4]: *** [dw2gencfi.o] Error 1
... on x86_64-linux with rev 1.53 of dw2gencfi.c.
cheers,
DaveK
next prev parent reply other threads:[~2011-05-06 17:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 9:34 [patch ld bfd gas]: Handle linkonce for cfi generated debug_frame and eh_frame data Kai Tietz
2011-04-18 12:43 ` H.J. Lu
2011-04-18 20:04 ` Kai Tietz
2011-04-24 10:20 ` Kai Tietz
2011-04-26 15:29 ` Nick Clifton
2011-04-27 20:35 ` gas -Werror compilation break [Re: [patch ld bfd gas]: Handle linkonce for cfi generated debug_frame and eh_frame data] Jan Kratochvil
2011-05-05 0:29 ` Dave Korn
2011-05-05 8:45 ` Alan Modra
2011-05-05 13:21 ` Alan Modra
2011-05-06 17:58 ` Dave Korn [this message]
2011-05-07 2:53 ` Alan Modra
2011-05-05 8:50 ` Kai Tietz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DC43687.5030900@gmail.com \
--to=dave.korn.cygwin@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).