From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5240 invoked by alias); 10 May 2003 11:04:30 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 5222 invoked from network); 10 May 2003 11:04:29 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 10 May 2003 11:04:29 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id EC85614D95 for ; Sat, 10 May 2003 13:04:28 +0200 (MEST) Received: from aj by arthur.inka.de with local (Exim 4.12) id 19ES9T-0007nL-00 for libc-hacker@sources.redhat.com; Sat, 10 May 2003 13:04:27 +0200 To: GNU libc hacker Subject: glibc does not build anymore on i686 From: Andreas Jaeger Date: Sat, 10 May 2003 11:04:00 -0000 Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00011.txt.bz2 In file included from ../posix/sched.h:32, from ../include/sched.h:2, from ../linuxthreads/sysdeps/pthread/pthread.h:20, from ../include/pthread.h:1, from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:24, from ../sysdeps/generic/ldsodefs.h:38, from ../sysdeps/unix/sysv/linux/ldsodefs.h:25, from ../sysdeps/unix/sysv/linux/init-first.c:30: ../sysdeps/unix/sysv/linux/bits/sched.h:96: error: redefinition of `__cpu_mask' ../sysdeps/unix/sysv/linux/bits/sched.h:96: error: `__cpu_mask' previously declared here ../sysdeps/unix/sysv/linux/bits/sched.h:106: error: conflicting types for `cpu_set_t' ../sysdeps/unix/sysv/linux/bits/sched.h:106: error: previous declaration of `cpu_set_t' make[2]: *** [/builds/glibc/gcc-3.3/csu/init-first.o] Error 1 The problem is that both these files include bits/sched.h: ./posix/sched.h:#include ./linuxthreads/sysdeps/pthread/bits/pthreadtypes.h:#include and both files are included. But why is pthreadtypes.h including bits/sched.h? This looks broken since we have: # error "Never include directly; use instead." Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj