From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: libpthread fails to build as an add-on Date: Thu, 20 Mar 2014 21:42:33 +0100 Message-ID: <87y504wqiu.fsf_-_@gnu.org> References: <87y5078wfh.fsf@gnu.org> <20140318145504.GA30160@debian> <8761nb8pcu.fsf@gnu.org> <87y507fdpg.fsf@gnu.org> <87vbva54ff.fsf@gnu.org> <87eh1x6ebe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQjnZ-0003wD-KN for Guix-devel@gnu.org; Thu, 20 Mar 2014 16:42:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQjnQ-00058D-FT for Guix-devel@gnu.org; Thu, 20 Mar 2014 16:42:45 -0400 In-Reply-To: (Manolis Ragkousis's message of "Thu, 20 Mar 2014 16:02:22 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Manolis Ragkousis Cc: Guix-devel@gnu.org, bug-hurd@gnu.org (Hurd people: this is about a configure error when cross-compiling glibc with libpthread as an add-on.) Manolis Ragkousis skribis: > when building glibc with libpthread as an addon I get this > > configure: running configure fragment for add-on libpthread > configure: WARNING: you should use --build, --host, --target > configure: WARNING: you should use --build, --host, --target > checking build system type... Invalid configuration `dummy': machine > `dummy' not recognized > configure: error: > /gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash > ../source/scripts/config.sub dummy failed > > Normally the flags passed to glibc's configure should be passed to > libpthread as well. Why isn't it happening? Actually libc=E2=80=99s configure doesn=E2=80=99t use the normal AC_CONFIG_= SUBDIRS mechanism, and instead runs add-on configure scripts by itself, without arguments AFAICS. [...] > It was created by GNU C Library configure (see version.h), which was > generated by GNU Autoconf 2.68. Invocation command line was > > $ ../source/configure dummy readelf (This is libpthread=E2=80=99s config.log, right?) I don=E2=80=99t understand where those arguments come from. Ideas? Thanks, Ludo=E2=80=99.