Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 18 Oct 2011 22:04:33 +0400
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: gcc 4.6.1: glibc .cfi_endproc issue (was: gcc 4.6.1:
 glibc __sincos() issue)

On Tue, Oct 18, 2011 at 21:59 +0400, Vasiliy Kulikov wrote:
> On Tue, Oct 18, 2011 at 19:37 +0200, Pavel Kankovsky wrote:
> > On Tue, 18 Oct 2011, Vasiliy Kulikov wrote:
> > 
> > > ../sysdeps/generic/initfini.c: Assembler messages:
> > > ../sysdeps/generic/initfini.c:123: Error: open CFI at the end of file; missing .cfi_endproc directive
> > > ../sysdeps/generic/initfini.c:123: Error: open CFI at the end of file; missing .cfi_endproc directive
> > 
> > As far as I can tell there should be no .cfi... directives in initfini.s
> > because the structure of crti.S and crtn.S is messed up too badly for them
> > (functions are torn apart and the first half goes to crti.S while the
> > other half ends in crtn.S).
> 
> Yes, I feel it ;)
> 
> > It appears -g0 was sufficient to suppress CFI in pre-4.6 GCC.
> > Try adding explicit "-fno-dwarf2-cfi-asm" to $(CFLAGS-initfini.s).
> 
> I don't see it helps:

Oh, wait.  After removing my redundant .cfi directives it compiles.

Thanks again :)

-- 
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.