public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
To: "david.hagood@gmail.com" <david.hagood@gmail.com>
Cc: "binutils@sourceware.org" <binutils@sourceware.org>
Subject: Re: Strange ARM issue: wrong exception table type?
Date: Thu, 02 Feb 2012 15:53:00 -0000	[thread overview]
Message-ID: <20120202155333.GR392@e103070-lin.arm.com> (raw)
In-Reply-To: <58812ad9faa9fdc03e086a586932dc91.squirrel@localhost>

On Thu, Feb 02, 2012 at 03:31:15PM +0000, david.hagood@gmail.com wrote:
> > David,
> > What toolchain are you using?  If it is not a current binutils can you try
> > with current HEAD?
> I've tried both the CodeSourcery version and 2.2.0:
> 
> CodeSourcery versions:
> 
> arm-none-linux-gnueabi-objdump --version; arm-none-linux-gnueabi-g++
> --version; arm-none-linux-gnueabi-as --version
> GNU objdump (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
> Copyright 2008 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or (at your option) any later
> version.
> This program has absolutely no warranty.
> arm-none-linux-gnueabi-g++ (Sourcery G++ Lite 2009q3-67) 4.4.1
> Copyright (C) 2009 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> GNU assembler (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
> Copyright 2008 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `arm-none-linux-gnueabi'.
> 
> Mainline versions:
> arm-linux-gnueabi-objdump --version; arm-linux-gnueabi-g++ --version;
> arm-linux-gnueabi-as --version
> GNU objdump (GNU Binutils) 2.20.1.20100303
> Copyright 2009 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or (at your option) any later
> version.
> This program has absolutely no warranty.
> arm-linux-gnueabi-g++ (GCC) 4.6.1
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> GNU assembler (GNU Binutils) 2.20.1.20100303
> Copyright 2009 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `arm-linux-gnueabi'.
> 

Can you try latest trunk or binutils 2.22?

> > If possible can you provide the assembler source and the output of readelf
> > -u on both object files?
> Sure - how best should I do this, as an attached tgz?

If it is very large please open a bug in BugZilla to attach the files to and
track this issue better: http://sourceware.org/bugzilla/

> 
> > Have you tried *exactly* the same as copied from one machine to another?
> If by that you mean "copy the toolchain" - yes, the toolchains are
> identical (at least the CodeSourcery chains are - the newer chain is part
> of an ongoing, but currently stalled, project to bring the tools more up
> to date).

OK.

> 
> >
> > The symptoms you describe sound like a use of uninitialised memory bug.
> > However we need more information (as requested above) to be able to
> > diagnose
> > the issue further.
> >
> That may be (I assume you mean "uninitialized memory bug in the
> assembler"), but it's odd that it is so consistently wrong on my machine
> and so consistently right on my coworkers.

I agree that the behaviour is odd - its why I need a bit more info please.

Thanks,

Matt

-- 
Matthew Gretton-Dann
Principal Engineer, PD Software, ARM Ltd.

  reply	other threads:[~2012-02-02 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 16:40 david.hagood
2012-02-02 10:45 ` Matthew Gretton-Dann
2012-02-02 15:31   ` david.hagood
2012-02-02 15:53     ` Matthew Gretton-Dann [this message]
2012-02-02 16:28   ` david.hagood
2012-02-02 17:07     ` Matthew Gretton-Dann
2012-02-02 17:23       ` david.hagood
2012-10-11 12:25         ` Guido Piasenza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120202155333.GR392@e103070-lin.arm.com \
    --to=matthew.gretton-dann@arm.com \
    --cc=binutils@sourceware.org \
    --cc=david.hagood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).