public inbox for gentoo-alpha@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl
       [not found] <200706251708.31791.wangbj@lzu.edu.cn>
@ 2007-06-25  9:08 ` Wang, Baojun
  2007-06-25  9:46   ` Davide Cittaro
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wang, Baojun @ 2007-06-25  9:08 UTC (permalink / raw
  To: gentoo-alpha; +Cc: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 3632 bytes --]

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        wangbj@lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022

[-- Attachment #1.2: submitted-sigsuspend.diff --]
[-- Type: text/x-diff, Size: 886 bytes --]

This page fix the build of the glibc on alpha. It has been submitted
on libc-alpha by Jakub Jelinek <jakub@redhat.com>.

--- 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 #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl
  2007-06-25  9:08 ` [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl Wang, Baojun
@ 2007-06-25  9:46   ` Davide Cittaro
       [not found]   ` <382765210.24872@lzu.edu.cn>
  2007-07-01 22:26   ` Jose Luis Rivero
  2 siblings, 0 replies; 4+ messages in thread
From: Davide Cittaro @ 2007-06-25  9:46 UTC (permalink / raw
  To: gentoo-alpha

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

Hi, as Bryan suggested me some time ago, you can try to "upgrade to  
binutils >=2.17.50.0.15 and risk possible unknown bugs
from doing so."
I've tried this and the machine seems to be pretty stable (Ok, I had  
an CTERM hardware failure, but I hope it is related to old hardware  
malfunction!)...

d
/*
Davide Cittaro
HPC and Bioinformatics Systems @ Informatics Core

IFOM - Istituto FIRC di Oncologia Molecolare
via adamello, 16
20139 Milano
Italy

tel.: +39(02)574303007
e-mail: davide.cittaro@ifom-ieo-campus.it
*/



[-- Attachment #2: Type: text/html, Size: 3822 bytes --]

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

* Re: [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl
       [not found]     ` <200706252001.31993.wangbj@lzu.edu.cn>
@ 2007-06-25 12:01       ` Wang, Baojun
  0 siblings, 0 replies; 4+ messages in thread
From: Wang, Baojun @ 2007-06-25 12:01 UTC (permalink / raw
  To: gentoo-alpha

[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]

On Monday 25 June 2007 17:46, Davide Cittaro wrote:
> Hi, as Bryan suggested me some time ago, you can try to "upgrade to
> binutils >=2.17.50.0.15 and risk possible unknown bugs
> from doing so."
> I've tried this and the machine seems to be pretty stable (Ok, I had
> an CTERM hardware failure, but I hope it is related to old hardware
> malfunction!)...
It's works, thanks very much!

binutils used: 2.17.50.0.16.20070511

I think it should also solve the problem when building linux kernel, the 
assembler always complain (assembler warnings).

Wang
> d
> /*
> Davide Cittaro
> HPC and Bioinformatics Systems @ Informatics Core
>
> IFOM - Istituto FIRC di Oncologia Molecolare
> via adamello, 16
> 20139 Milano
> Italy
>
> tel.: +39(02)574303007
> e-mail: davide.cittaro@ifom-ieo-campus.it
> */

-- 
Wang, Baojun                                        Lanzhou University
Distributed & Embedded System Lab              http://dslab.lzu.edu.cn
School of Information Science and Engeneering        wangbj@lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl
  2007-06-25  9:08 ` [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl Wang, Baojun
  2007-06-25  9:46   ` Davide Cittaro
       [not found]   ` <382765210.24872@lzu.edu.cn>
@ 2007-07-01 22:26   ` Jose Luis Rivero
  2 siblings, 0 replies; 4+ messages in thread
From: Jose Luis Rivero @ 2007-07-01 22:26 UTC (permalink / raw
  To: gentoo-alpha

Hi all: 

El Mon, 25 Jun 2007 17:08:29 +0800
"Wang, Baojun" <wangbj@lzu.edu.cn> escribió:

> 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]

> any idea to fix this problem? thanks in advance!

I've just marked the version 2.17.50.0.16 as stable in alpha which
solves the problem with glibc. Details in #179353[1]. 

Thanks to all the people for the reports and help.

[1] https://bugs.gentoo.org/179353
-- 
Jose Luis Rivero [yoswink@gentoo.org]
Gentoo/Doc Gentoo/Alpha
--
gentoo-alpha@gentoo.org mailing list



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

end of thread, other threads:[~2007-07-01 20:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200706251708.31791.wangbj@lzu.edu.cn>
2007-06-25  9:08 ` [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl Wang, Baojun
2007-06-25  9:46   ` Davide Cittaro
     [not found]   ` <382765210.24872@lzu.edu.cn>
     [not found]     ` <200706252001.31993.wangbj@lzu.edu.cn>
2007-06-25 12:01       ` Wang, Baojun
2007-07-01 22:26   ` Jose Luis Rivero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox