From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31613 invoked by alias); 3 Feb 2012 22:41:17 -0000 Received: (qmail 31604 invoked by uid 22791); 3 Feb 2012 22:41:15 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_LG X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Feb 2012 22:41:02 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 4210718000ED; Fri, 3 Feb 2012 23:41:00 +0100 (CET) X-Auth-Info: roResfGlXwzLRwz4ijxiyUnX1OsprAsewaC4whMGqrg= Received: from igel.home (ppp-93-104-140-35.dynamic.mnet-online.de [93.104.140.35]) by mail.mnet-online.de (Postfix) with ESMTPA id 8CF7A1C0009F; Fri, 3 Feb 2012 23:41:00 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 2FFA1CA29A; Fri, 3 Feb 2012 23:41:00 +0100 (CET) From: Andreas Schwab To: david.hagood@gmail.com Cc: binutils@sourceware.org Subject: Re: Weird error cross-compiling glibc with binutils 2.22 or head References: <0d51763ebe71ff5ddb7a9c241dce9a10.squirrel@localhost> X-Yow: OVER the undertow! UNDER the overpass! Around the FUTURE and BEYOND REPAIR!! Date: Fri, 03 Feb 2012 22:41:00 -0000 In-Reply-To: <0d51763ebe71ff5ddb7a9c241dce9a10.squirrel@localhost> (david hagood's message of "Fri, 3 Feb 2012 15:59:45 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00030.txt.bz2 david.hagood@gmail.com writes: > sed > Build/arm-linux-gnueabi/glibc_main/shlib.ldsT \ > -e '/^=========/,/^=========/!d;/^=========/d' \ > -e 's/^.*\.gnu\.hash[ ]*:.*$/ .note.ABI-tag : { > *(.note.ABI-tag) > } &/' -e '/^[ ]*\.hash[ ]*:.*$/{h;d;}' -e > '/DATA_SEGMENT_ALIGN/{H;g}' \ > -e 's/^.*\*(\.dynbss).*$/& \ > PROVIDE(__start___libc_freeres_ptrs = .); \ > *(__libc_freeres_ptrs) \ > PROVIDE(__stop___libc_freeres_ptrs = .);/'\ > -e 's@^.*\*(\.jcr).*$@& \ > PROVIDE(__start__es : {subfreeres = .);\ Here ----------------^ > __libc_subfreeres : { *(__libc_subfreeres) }\ > PROVIDE(__stop___libc_subfreeres = .);\ > PROVIDE(__start___libc_atexit = .);\ > __libc_atexit : { *(__libc_atexit) }\ > PROVIDE(__stop___libc_atexit = .);\ > PROVIDE(__start___libc_thread_subfreeres = .);\ > __libc_thread_subfreeres : { *(__libc_thread_subfreeres) }\ > PROVIDE(__stop___libc_thread_subfreeres = .);\ > /DISCARD/ : { *(.gnu.glibc-stub.*) }@' > mv -f Build/arm-linux-gnueabi/glibc_main/shlib.ldsT > Build/arm-linux-gnueabi/glibc_main/shlib.lds > > Build/arm-linux-gnueabi/glibc_main/elf/ld.so -lgcc > ld:Build/arm-linux-gnueabi/glibc_main/shlib.lds:149: syntax error > > The error is: > PROVIDE(__start__es : {subfreeres = .); > (note the unbalanced { and )) > > I have no idea where that is coming from: See above. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."