From: "Wang, Baojun" <wangbj@lzu.edu.cn>
To: gentoo-alpha@lists.gentoo.org
Cc: gentoo-dev@lists.gentoo.org
Subject: [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl
Date: Mon, 25 Jun 2007 17:08:29 +0800 [thread overview]
Message-ID: <382824289.08196@eyou.net> (raw)
Message-ID: <200706251708.31791.wangbj@lzu.edu.cn> (raw)
[-- 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 --]
next reply other threads:[~2007-06-25 9:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200706251708.31791.wangbj@lzu.edu.cn>
2007-06-25 9:08 ` Wang, Baojun [this message]
2007-06-25 9:46 ` [gentoo-alpha] glibc2.5 build failed on alpha platform(both r2 and r3) with ntpl 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=382824289.08196@eyou.net \
--to=wangbj@lzu.edu.cn \
--cc=gentoo-alpha@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox