Package: gcc-4.7 Version: 4.7.2-4 Severity: normal gcc-4.7 does not seem to define _REENTRANT when used with -pthread option on Hurd. Other Debian architectures have this definition. This breaks building of swi-prolog [1]. This probably can be fixed by adding %{pthread:-D_REENTRANT} to CPP_SPEC in src/gcc/config/gnu.h (completely untested). An old bug report seems to indicate that this definition was enabled in the past [2].
Regards, Eugeniy Meshcheryakov 1. https://buildd.debian.org/status/fetch.php?pkg=swi-prolog&arch=hurd-i386&ver=6.2.5-4&stamp=1357064093 2. http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=hurd-pthread.diff;att=1;bug=400031 -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.7-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-4.7 depends on: ii binutils 2.22-7.1 ii cpp-4.7 4.7.2-4 ii gcc-4.7-base 4.7.2-4 ii libc6 2.13-38 ii libgcc1 1:4.7.2-4 ii libgmp10 2:5.0.5+dfsg-2 ii libgomp1 4.7.2-4 ii libitm1 4.7.2-4 ii libmpc2 0.9-4 ii libmpfr4 3.1.0-5 ii libquadmath0 4.7.2-4 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages gcc-4.7 recommends: ii libc6-dev 2.13-38 Versions of packages gcc-4.7 suggests: pn binutils-gold <none> ii gcc-4.7-doc 4.7.2-2 pn gcc-4.7-locales <none> ii gcc-4.7-multilib 4.7.2-4 pn libgcc1-dbg <none> pn libgomp1-dbg <none> pn libitm1-dbg <none> pn libmudflap0-4.7-dev <none> pn libmudflap0-dbg <none> pn libquadmath0-dbg <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130101202248.24520.24055.reportbug@localhost