From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23934 invoked by alias); 17 Mar 2003 11:24:11 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 23913 invoked from network); 17 Mar 2003 11:24:10 -0000 Received: from unknown (HELO sol.cc.u-szeged.hu) (160.114.8.24) by sources.redhat.com with SMTP; 17 Mar 2003 11:24:10 -0000 Received: from rgai.inf.u-szeged.hu ([160.114.37.205] ident=mail) by sol.cc.u-szeged.hu with esmtp (Exim 4.10) id 18usiw-0005VZ-00; Mon, 17 Mar 2003 12:24:10 +0100 Received: from auteln.inf.u-szeged.hu ([160.114.37.196] helo=rgai.hu) by rgai.inf.u-szeged.hu with esmtp (Exim 3.35 #1 (Debian)) id 18usiv-0007tg-00; Mon, 17 Mar 2003 12:24:09 +0100 Message-ID: <3E75B06A.7040207@rgai.hu> Date: Mon, 17 Mar 2003 16:27:00 -0000 From: =?ISO-8859-2?Q?Tam=E1s_Gergely?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (BDP) X-Accept-Language: hu, en-us, en MIME-Version: 1.0 To: "gcc-help@gcc.gnu.org" CC: gcc@gcc.gnu.org Subject: glibc problems with snapshot References: <3E71FE95.7070000@rgai.hu> <20030314162542.GA1351@ceres.cs.mu.oz.au> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2003-03/txt/msg00194.txt.bz2 Andreas Schwab wrote: > Fergus Henderson writes: > > |> > - How can I get the snapshot to compile glibc? > |> > |> Change the glibc sources to use a different identifier, e.g. > |> "__thread_param", instead of "__thread". > > That has already been fixed in the current glibc release. > > Andreas. > Thanks! I have another problem, now with glibc-2.3.2: the gcc snapshot fails: In file included from ../linuxthreads/sysdeps/pthread/sigaction.c:53, from ../linuxthreads/sysdeps/pthread/sigaction.c:53, from ../linuxthreads/sysdeps/pthread/sigaction.c:29: ../sysdeps/unix/sysv/linux/arm/sigaction.c: In function `__libc_sigaction': ../sysdeps/unix/sysv/linux/arm/sigaction.c:100: error: asm-specifier for variable `_a1' conflicts with asm clobber list ../sysdeps/unix/sysv/linux/arm/sigaction.c:139: error: asm-specifier for variable `_a1' conflicts with asm clobber list The preprocessed input is: result = ({ unsigned int _sys_result = ({ unsigned int _sys_result; { register int _a1 asm ("a1"); register int _a4 asm ("a4") = (int) (64 / 8); register int _a3 asm ("a3") = (int) (oact ? (&koact) : ((void *)0)); register int _a2 asm ("a2") = (int) (act ? (&kact) : ((void *)0)); _a1 = (int) (sig); asm volatile ("swi %1 @ syscall " "rt_sigaction" : "=r" (_a1) : "i" (((0x900000 +174))) , "r" (_a1), "r" (_a2), "r" (_a3), "r" (_a4) : "a1", "memory"); _sys_result = _a1; } (int) _sys_result; }); if (__builtin_expect (((unsigned int) (_sys_result) >= 0xfffff001u), 0)) { ((*__errno_location ()) = ((-(_sys_result)))); _sys_result = (unsigned int) -1; } (int) _sys_result; }); I found the error message in gcc-20030310/gcc/stmt.c. It's comment is: /* Conflicts between asm-declared register variables and the clobber list are not allowed. */ gcc-3.2 does not have this check, and it passes this source. Could anyone tell me how to correct the problem (or explain what is the problem exactly)? gertom -- ************************************************************************** * Gergely Tamás e-mail:gertom@rgai.hu * * ICQ:104783919 http://gertom.rgai.hu * **************************************************************************