hi, list:

I got the following problem while emerge world (--update --deep --newuse):

gentoo 2007.0

USE FLAGS: 

USE="-X -gtk -gnome -qt3 -qt4 -kde -java"
USE="$USE nptl nptlonly hal avahi ipv6 xml aio tcpd bzip2 zlib unicode cscope 
bash-completion acl vim emacs threads fortran iconv"

portage version: 20070623
Gentoo Base System release 1.12.9 (/etc/gentoo-release)

glibc version: 2.5-r2(2.5-r3 also has the same problem)
platform: DEC alpha 4100(ev56)

error message while 

# emerge glibc

alpha-unknown-linux-gnu-gcc ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S -c  
-I../include 
-I/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-alpha-unknown-linux-gnu-nptl/signal
 
-I/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-alpha-unknown-linux-gnu-nptl
 -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../ports/sysdeps/unix/sysv/linux 
-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../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv 
-I../sysdeps/unix/alpha -I../ports/sysdeps/unix -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../ports -I../nptl  -I.. 
-I../libio -I. -nostdinc -isystem 
/usr/lib/gcc/alpha-unknown-linux-gnu/4.1.2/include -isystem /usr/include 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h        -DASSEMBLER   
-Wa,--noexecstack  -o 
/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o
 -MD -MP -MF 
/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o.dt
 -MT 
/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Assembler messages:
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: previous CFI entry 
not closed (missing .cfi_endproc)
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:43: Error: .cfi_endproc without 
corresponding .cfi_startproc
make[2]: *** 
[/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o]
 
Error 1
make[2]: Leaving directory 
`/var/tmp/portage/sys-libs/glibc-2.5-r2/work/glibc-2.5/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/sys-libs/glibc-2.5-r2/work/glibc-2.5'
make: *** [all] Error 2

I check the debian(ubuntu) glibc patch set, it contain a patch named 
`submitted-sigsuspend.diff', I have tried to apply the patch, but it didn't 
help, though. the attachment is the patch.

any idea to fix this problem? thanks in advance!

regards, Wang
-- 
Wang, Baojun                                        Lanzhou University
Distributed & Embedded System Lab              http://dslab.lzu.edu.cn
School of Information Science and Engeneering        [EMAIL PROTECTED]
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022
This page fix the build of the glibc on alpha. It has been submitted
on libc-alpha by Jakub Jelinek <[EMAIL PROTECTED]>.

--- glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S.orig	2006-10-22 22:17:01.000000000 +0200
+++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S	2006-10-22 22:18:05.000000000 +0200
@@ -31,3 +31,21 @@
 libc_hidden_def (__sigsuspend)
 weak_alias (__sigsuspend, sigsuspend)
 strong_alias (__sigsuspend, __libc_sigsuspend)
+
+#ifndef NO_CANCELLATION
+	.globl __sigsuspend_nocancel;
+	.align 4;
+	.type __sigsuspend_nocancel, @function;
+	.usepv __sigsuspend_nocancel, std;
+	cfi_startproc;
+__LABEL(__sigsuspend_nocancel)
+	ldgp    gp, 0(pv);
+	PSEUDO_PROF;
+	PSEUDO_PREPARE_ARGS
+	lda     v0, SYS_ify(sigsuspend);
+	call_pal PAL_callsys;
+	bne     a3, SYSCALL_ERROR_LABEL;
+	ret;
+	cfi_endproc;
+	.size __sigsuspend_nocancel, .-__sigsuspend_nocancel
+#endif

Attachment: pgp7b6AtLlahO.pgp
Description: PGP signature

Reply via email to