From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25518 invoked by alias); 2 Mar 2006 18:07:14 -0000 Received: (qmail 24994 invoked by uid 22791); 2 Mar 2006 18:07:13 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 02 Mar 2006 18:07:08 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k22I71mm029856; Thu, 2 Mar 2006 13:07:07 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k22I71117482; Thu, 2 Mar 2006 13:07:01 -0500 Received: from free.oliva.athome.lsd.ic.unicamp.br (vpn50-44.rdu.redhat.com [172.16.50.44]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k22I70xJ002027; Thu, 2 Mar 2006 13:07:01 -0500 Received: from free.oliva.athome.lsd.ic.unicamp.br (free.oliva.athome.lsd.ic.unicamp.br [127.0.0.1]) by free.oliva.athome.lsd.ic.unicamp.br (8.13.5/8.13.5) with ESMTP id k22I6w0j024390; Thu, 2 Mar 2006 15:06:58 -0300 Received: (from aoliva@localhost) by free.oliva.athome.lsd.ic.unicamp.br (8.13.5/8.13.5/Submit) id k22I6vPL024386; Thu, 2 Mar 2006 15:06:57 -0300 To: libc-alpha@sources.redhat.com, binutils@sources.redhat.com Subject: can't build x86-32 libc on x86-64 with mainline binutils From: Alexandre Oliva Date: Thu, 02 Mar 2006 18:07:00 -0000 Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00021.txt.bz2 Am I the only one having trouble assembling glibc/sysdeps/i386/fpu/e_atanh.S with -m32 with binutils mainline toplevel-bootstrapped along with GCC trunk on x86_64? I've hit this for several days now, maybe several weeks? (time flies) The assembler fails the sanity check for carry == 0 on gas/atof-generic.c:419 on line 40 of the preprocessed asm file. In fact, assembling that line by itself produces the same error. Here's how I configured the toolchain: ../configure amd64-linux-gnu --enable-languages=all and here's how I configured glibc: ../src/configure '--prefix=/usr' '--enable-add-ons=nptl' \ '--without-cvs' '--with-tls' '--with-headers=/usr/include' \ '--build=i686-pc-linux-gnu' 'CC=gcc -m32 -march=i686 -U__i686' \ 'CXX=g++ -m32 -march=i686 -U__i686' (the ugly -U__i686 was introduced months ago; IIRC without it we'd fail to assemble the GOT register set up routines that have __i686 in their names in such a way that the preprocessor would expand __i686 to 1. I haven't tried without it, I've only just realized it was still there) Using binutils-2.16.91.0.6-2 from the Fedora Core development tree works. -- Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/ Secretary for FSF Latin America http://www.fsfla.org/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}