From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26707 invoked by alias); 29 Sep 2002 11:20:07 -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 26690 invoked from network); 29 Sep 2002 11:20:07 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.160.54.138) by sources.redhat.com with SMTP; 29 Sep 2002 11:20:07 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 37136357E; Sun, 29 Sep 2002 04:16:05 -0700 (PDT) Received: (from roland@localhost) by magilla.sf.frob.com (8.11.6/8.11.6) id g8TBG6U00631; Sun, 29 Sep 2002 04:16:06 -0700 Date: Sun, 29 Sep 2002 04:20:00 -0000 Message-Id: <200209291116.g8TBG6U00631@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Andreas Jaeger , GNU libc hacker Subject: Re: glibc make check fails... In-Reply-To: Roland McGrath's message of Sunday, 29 September 2002 03:50:55 -0700 <200209291050.g8TAotA05506@magilla.sf.frob.com> X-Shopping-List: (1) Partial destroyer accusers (2) Fibrous fiction axes (3) Chimerical bog contraceptives (4) Dissonant deception commissions X-SW-Source: 2002-09/txt/msg00085.txt.bz2 Ok, I was wrong. I actually can only reproduce this in a build that's using not 2.4.18 headers but newer headers that define __NR_set_thread_area (when running on a 2.4.18 kernel that doesn't have the system call). If that is your situation too, are you sure it worked before? If that is not your situation, then I can't reproduce your situation and you will have to find some more information for me. The crash I see is from the useldt.h macros' use of INLINE_SYSCALL resulting in it calling __errno_location, which bombs when %gs isn't set up yet. AFAICT the useldt.h macros have the very same issue with errno not being set up as the TLS macros have (errno TLS var vs __errno_location definition from libpthread, but both need %gs to be set up or they crash). So I am going to consolidate those macros and use the versions that avoid trying to set errno for both.