[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422067: glibc_2.5-5 (alpha/unstable): FTBFS: CFI instruction used without previous .cfi_startproc



Package: glibc
Version: 2.5-5
Severity: serious

Hi guys,

I think you all know about the alpha build failure in unstable by now, but
let's get this into a bug report for tracking.

glibc is failing to build with the following error:

gcc-4.1 ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S -c  -I../include -I/build/buildd/glibc-2.5/build-tree/alpha-libc/signal -I/build/buildd/glibc-2.5/build-tree/alpha-libc -I../nptl/sysdeps/alpha/elf -I../sysdeps/alpha/elf -I../sysdeps/unix/sysv/linux/alpha/alpha -I../nptl/sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu -I../nptl/sysdeps/alpha -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/alpha/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/alpha-linux-gnu/4.1.3/include -isystem /build/buildd/glibc-2.5/debian/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DASSEMBLER   -Wa,--noexecstack  -o /build/buildd/glibc-2.5/build-tree/alpha-libc/signal/sigsuspend.o -MD -MP -MF /build/buildd/glibc-2.5/build-tree/alpha-libc/signal/sigsuspend.o.dt -MT /build/buildd/glibc-2.5/build-tree/alpha-libc/signal/sigsuspend.o
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Assembler messages:
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction used without previous .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:43: Error: .cfi_endproc without corresponding .cfi_startproc
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:46: Error: open CFI at the end of file; missing .cfi_endproc directive
make[3]: *** [/build/buildd/glibc-2.5/build-tree/alpha-libc/signal/sigsuspend.o] Error 1

A full build log can be found at
<http://buildd.debian.org/fetch.cgi?pkg=glibc&arch=alpha&ver=2.5-5&stamp=1177968432>.

glibc builds fine with binutils 2.17-3 from etch, so this may be a binutils
regression rather than a glibc bug, in which case it should of course be
reassigned.

The -save-temps output that binutils chokes on is attached for reference.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
# 25 "../sysdeps/unix/sysv/linux/alpha/sigsuspend.S" 2




.globl __sigsuspend_nocancel; .align 4; .ent __sigsuspend_nocancel,0; __sigsuspend_nocancel: .frame $30, 0, $26; ldgp $29,0($27); .prologue 1; ldq $16, 0($16); lda $0, 111; call_pal 131; bne $19, $syscall_error
 ret


.end __sigsuspend_nocancel


# 1 "../nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h" 1
# 37 "../sysdeps/unix/sysv/linux/alpha/sigsuspend.S" 2




.globl __sigsuspend; .align 4; .type __sigsuspend, @function; .usepv __sigsuspend, std; .cfi_startproc; __sigsuspend: ldgp $29, 0($27); ; ldq $16, 0($16); ldah $1, __libc_multiple_threads($29) !gprelhigh; ldl $1, __libc_multiple_threads($1) !gprellow; bne $1, $pseudo_cancel; lda $0, 111; call_pal 131; bne $19, $syscall_error; $pseudo_ret: .subsection 2; $pseudo_cancel: subq $30, 64, $30; .cfi_def_cfa_offset 64; stq $26, 0($30); .cfi_offset $26, -64; ; stq $16, 8($30); jsr $26, __libc_enable_asynccancel; ldgp $26, 0($29); ; ldq $16, 8($30); mov $0, $26; lda $0, 111; call_pal 131; stq $0, 8($30); mov $26, $16; bne $19, $multi_error; jsr $26, __libc_disable_asynccancel; ldgp $26, 0($29); ldq $26, 0($30); ldq $0, 8($30); addq $30, 64, $30; .cfi_remember_state; .cfi_restore $26; .cfi_def_cfa_offset 0; ret; .cfi_restore_state; $multi_error: jsr $26, __libc_disable_asynccancel; ldgp $26, 0($29); ldq $26, 0($30); ldq $0, 8($30); addq $30, 64, $30; .cfi_restore $26; .cfi_def_cfa_offset 0; $syscall_error: jmp $31, __syscall_error; .previous
 ret
.subsection 2; .cfi_endproc; .size __sigsuspend, .-__sigsuspend

.weak sigsuspend ; sigsuspend = __sigsuspend
.globl __libc_sigsuspend ; __libc_sigsuspend = __sigsuspend

Reply to: