From: Wolfgang Denk Date: Wed, 25 Oct 2006 21:58:02 +0200 Subject: [U-Boot-Users] [PATCH 1/6] AVR32: Use -g instead of -gstabs in AFLAGS_DEBUG In-Reply-To: Your message of "Wed, 25 Oct 2006 14:41:51 +0200." <20061025144151.7039c0e5@cad-250-152.norway.atmel.com> Message-ID: <20061025195802.6CCFB353C35@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20061025144151.7039c0e5@cad-250-152.norway.atmel.com> you wrote: > > Matthew McClintock wrote: > > > Commit 2da2d9a4766063b9848f3a35ad6025499cf87265 is causing build > > problems when building the latest MPC8540ADS with the follow tools > > installed: ... > Right. The 2.15 documentation doesn't seem to mention the -g option, > only -g. Ummm... This file is a user guide to the GNU assembler `as' version 2.15.94.0.2.2. ... 1 Overview ********** Here is a brief summary of how to invoke `as'. For details, *note Command-Line Options: Invoking. as [-a[cdhlns][=FILE]] [-alternate] [-D] [-defsym SYM=VAL] [-f] [-g] [-gstabs] [-gstabs+] [-gdwarf-2] [-help] [-I DIR] [-J] [-K] [-L] ... `-g' `--gen-debug' Generate debugging information for each assembler source line using whichever debug format is preferred by the target. This currently means either STABS, ECOFF or DWARF2. Am I missing something? > Wolfgang, please consider applying the patch below to fix this problem. I do, but I'd like to understand the problem first. Matthew's example looked to me as if the gcc driver was calling "as" as a result of a "gcc -g" command, and this should IMHO always work. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The C-shell doesn't parse. It adhoculates. - Casper.Dik at Holland.Sun.COM in <3ol96k$b2j@engnews2.Eng.Sun.COM>