From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11870 invoked by alias); 19 Apr 2006 18:14:35 -0000 Received: (qmail 11818 invoked by uid 22791); 19 Apr 2006 18:14:34 -0000 X-Spam-Check-By: sourceware.org Received: from thelemkes.ca (HELO shoal.thelemkes.ca) (66.96.18.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Apr 2006 18:14:30 +0000 Received: from winch.thelemkes.ca (unknown [192.168.62.33]) by shoal.thelemkes.ca (Postfix) with ESMTP id E71E840B416 for ; Wed, 19 Apr 2006 14:14:22 -0400 (EDT) Subject: intermittent 0-length for .note.gnu.arm.ident From: James Lemke To: "binutils@sourceware.org" Content-Type: text/plain Date: Thu, 20 Apr 2006 01:47:00 -0000 Message-Id: <1145470462.6397.89.camel@winch.thelemkes.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1 Content-Transfer-Encoding: 7bit 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-04/txt/msg00268.txt.bz2 I've been looking at an oddball problem and I'm wondering if anyone here has some ideas. I'm building a mingw x xscale-elf toolchain and some of the objects have normal .note.gnu.arm.ident sections (length 0x1c) and others have those section with length 0. The objects with 0-length sections seem to be normal otherwise. If I ignore linker warnings the DejaGNU tests run OK. I never get 0-length sections for cygwin x xscale-elf from the same sources. One place the 0-length note sections show up often is: /xscale-elf/libstdc++-v3/libsupc++/*.o If I manually re-compile one of the 0-length .o's, it always produces a section with 0x1c length. As does a make in that directory. But a top-level make gives the random sometimes 0-length note sections. arm_add_note() gets called with the same parms for both zero & non-zero cases. So what would cause the contents to disappear? I've tried various versions of MinGW packages without making a difference. I'm currently using the latest mingw binary packages and my sources are: gcc-4.0 binutils-2.15 plus local mods. Any ideas or suggestions? TIA, Jim. -- Jim Lemke jwlemke@wasabisystems.com Orillia, Ontario