FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 12-19-2011, 11:39 PM
Samuel Thibault
 
Default Bug#652693: gcc-4.7: FTBFS on hurd-i386

Package: gcc-4.7
Version: 4.7-20111217-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hello,

gcc-4.7 currently FTBFS on hurd-i386 due to two things:

- hurd-changes.diff doesn't apply any more due to configuration
revamping, attached is an updated version.
- gcc assumes that glibc means nptl. The attached hurd-fixes.diff fixes
things on hurd-i386, but in the kFreeBSD case the code may have to be
disabled too, since it uses LinuxThreads instead of NPTL. I don't know
how we are supposed to detect whether LinuxThreads, NPTL, or something
else is being used.

Samuel

-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
# DP: Traditional GNU systems don't have a /usr directory. However, Debian
# DP: systems do, and we support both having a /usr -> . symlink, and having a
# DP: /usr directory like the other ports. So this patch should NOT go
# DP: upstream.

---
config.gcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/gcc/config.gcc (révision 182461)
+++ b/src/gcc/config.gcc (copie de travail)
@@ -583,7 +583,7 @@
*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-kopensolaris*-gnu)
:;;
*-*-gnu*)
- native_system_header_dir=/include
+ # native_system_header_dir=/include
;;
esac
# glibc / uclibc / bionic switch.
--- generic-morestack.c.orig 2011-12-19 21:14:52.000000000 +0100
+++ generic-morestack.c 2011-12-19 21:15:35.000000000 +0100
@@ -507,7 +507,7 @@
sigemptyset (&__morestack_initial_sp.mask);

sigfillset (&__morestack_fullmask);
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && defined(__SIGRTMIN)
/* In glibc, the first two real time signals are used by the NPTL
threading library. By taking them out of the set of signals, we
avoiding copying the signal mask in pthread_sigmask. More
 

Thread Tools




All times are GMT. The time now is 10:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org