public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
@ 2011-01-05 21:13 ` breggen at hotmail dot com
  2011-01-05 21:59 ` joseph at codesourcery dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: breggen at hotmail dot com @ 2011-01-05 21:13 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

--- Comment #3 from michel van der breggen <breggen at hotmail dot com> 2011-01-05 21:12:57 UTC ---
I've been digging around in the created .s file and found that it indeed does
not create correct cfi information. At some point cfi information is placed
without actually setting an cfi_startproc or no cfi_endproc is included. 

What I think is that the implementation of cfi commands for the ARM is not
completely implemented correctly because in DOARGS and UNDOARGS ( in
/sysdeps/unix/sysv/linux/arm/sysdep.h ) no check is made of the cfi is indeed
within start-end pattern.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
  2011-01-05 21:13 ` [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM breggen at hotmail dot com
@ 2011-01-05 21:59 ` joseph at codesourcery dot com
  2011-09-08  0:22 ` r.berber at computer dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: joseph at codesourcery dot com @ 2011-01-05 21:59 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-05 21:59:49 UTC ---
I think you are making things much more complicated than necessary.  It 
seems more likely that all that's needed is adding END calls to match the 
ENTRY ones in sysdeps/unix/sysv/linux/arm/sigrestorer.S.  Note that 
old-ABI has been essentially unmaintained for a long time now; I strongly 
recommend moving to EABI.  sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S 
has the END calls and the file you reference should not be used at all in 
an EABI build.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
  2011-01-05 21:13 ` [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM breggen at hotmail dot com
  2011-01-05 21:59 ` joseph at codesourcery dot com
@ 2011-09-08  0:22 ` r.berber at computer dot org
  2011-09-08 18:27 ` napadovskiy at gmail dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: r.berber at computer dot org @ 2011-09-08  0:22 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

Rene Berber <r.berber at computer dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.berber at computer dot
                   |                            |org

--- Comment #5 from Rene Berber <r.berber at computer dot org> 2011-09-08 00:21:53 UTC ---
(In reply to comment #4)
> I think you are making things much more complicated than necessary.  It 
> seems more likely that all that's needed is adding END calls to match the 
> ENTRY ones in sysdeps/unix/sysv/linux/arm/sigrestorer.S.  Note that 
> old-ABI has been essentially unmaintained for a long time now; I strongly 
> recommend moving to EABI.  sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S 
> has the END calls and the file you reference should not be used at all in 
> an EABI build.

I stumbled on the same bug, with glibc 2.12.2 and glibc-ports 2.12.1 (there is
no corresponding release), and using gcc 4.5.3 and binutils 2.21.1.

But the interesting point is that both Michel and me are using gnueabi, which
is not the old abi (for instance 'objdump -x as' | grep private' returns
"private flags = 4000002: [Version4 EABI] [has entry point]").

The bug seems to be what you point out, somehow the old abi is used.

Could be a bug in the ports add-on.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-09-08  0:22 ` r.berber at computer dot org
@ 2011-09-08 18:27 ` napadovskiy at gmail dot com
  2011-09-08 20:33 ` r.berber at computer dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: napadovskiy at gmail dot com @ 2011-09-08 18:27 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

--- Comment #6 from Slavanap <napadovskiy at gmail dot com> 2011-09-08 18:26:22 UTC ---
Created attachment 5924
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5924
proposed patch. Sources have been successfully compiled on armv4l

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-09-08 18:27 ` napadovskiy at gmail dot com
@ 2011-09-08 20:33 ` r.berber at computer dot org
  2011-09-08 23:28 ` r.berber at computer dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: r.berber at computer dot org @ 2011-09-08 20:33 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

--- Comment #7 from Rene Berber <r.berber at computer dot org> 2011-09-08 20:32:44 UTC ---
On my end the problem still seems to be configure misidentifying the build.

With no --build configure shows "host system type...
armv5tejl-unknown-linux-gnu".  Which is wrong.

With --build=... "host system type... armv5tejl-unknown-linux-gnueabi".

FWIW trying the patch with the wrong ABI resolves the problem with
sigrestorer.S, but the same error shows later with
sysdeps/unix/syscall-template.S .

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-09-08 20:33 ` r.berber at computer dot org
@ 2011-09-08 23:28 ` r.berber at computer dot org
  2012-01-03  0:38 ` vapier at gentoo dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: r.berber at computer dot org @ 2011-09-08 23:28 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

--- Comment #8 from Rene Berber <r.berber at computer dot org> 2011-09-08 23:27:27 UTC ---
The problem with configure guessing wrong the build system type comes from
before, glibc-2.11.3 has the same problem; and it was fixed on newer versions
2.13 and 2.14 don't have the problem.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-09-08 23:28 ` r.berber at computer dot org
@ 2012-01-03  0:38 ` vapier at gentoo dot org
  2012-01-09 19:05 ` vapier at gentoo dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: vapier at gentoo dot org @ 2012-01-03  0:38 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |toolchain at gentoo dot org

--- Comment #9 from Mike Frysinger <vapier at gentoo dot org> 2012-01-03 00:37:33 UTC ---
posted a patch here:
http://sourceware.org/ml/libc-ports/2012-01/msg00003.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2012-01-03  0:38 ` vapier at gentoo dot org
@ 2012-01-09 19:05 ` vapier at gentoo dot org
  2014-02-16 18:23 ` jackie.rosen at hushmail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: vapier at gentoo dot org @ 2012-01-09 19:05 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12354

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |vapier at gentoo dot org
         Resolution|                            |FIXED

--- Comment #10 from Mike Frysinger <vapier at gentoo dot org> 2012-01-09 19:04:36 UTC ---
changes have been committed to the ports tree now

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2012-01-09 19:05 ` vapier at gentoo dot org
@ 2014-02-16 18:23 ` jackie.rosen at hushmail dot com
  2014-05-28 19:46 ` schwab at sourceware dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 18:23 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12354

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #11 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2014-05-28 19:46 ` schwab at sourceware dot org
@ 2014-05-28 19:46 ` schwab at sourceware dot org
  2014-06-27 14:04 ` fweimer at redhat dot com
  11 siblings, 0 replies; 12+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12354

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2014-02-16 18:23 ` jackie.rosen at hushmail dot com
@ 2014-05-28 19:46 ` schwab at sourceware dot org
  2014-05-28 19:46 ` schwab at sourceware dot org
  2014-06-27 14:04 ` fweimer at redhat dot com
  11 siblings, 0 replies; 12+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12354

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM
       [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2014-05-28 19:46 ` schwab at sourceware dot org
@ 2014-06-27 14:04 ` fweimer at redhat dot com
  11 siblings, 0 replies; 12+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 14:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12354

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-06-27 14:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12354-131@http.sourceware.org/bugzilla/>
2011-01-05 21:13 ` [Bug ports/12354] compiling glibc gives "previous cfi entry not closed" while compiling on ARM breggen at hotmail dot com
2011-01-05 21:59 ` joseph at codesourcery dot com
2011-09-08  0:22 ` r.berber at computer dot org
2011-09-08 18:27 ` napadovskiy at gmail dot com
2011-09-08 20:33 ` r.berber at computer dot org
2011-09-08 23:28 ` r.berber at computer dot org
2012-01-03  0:38 ` vapier at gentoo dot org
2012-01-09 19:05 ` vapier at gentoo dot org
2014-02-16 18:23 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2014-05-28 19:46 ` schwab at sourceware dot org
2014-06-27 14:04 ` fweimer at redhat dot com

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).