From: Matthew McClintock <msm@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/6] AVR32: Use -g instead of -gstabs in AFLAGS_DEBUG
Date: Tue, 24 Oct 2006 19:44:35 -0500 [thread overview]
Message-ID: <1161737075.5011.8.camel@localhost> (raw)
In-Reply-To: <20061024144736.9DB563535EE@atlas.denx.de>
On Tue, 2006-10-24 at 16:47 +0200, Wolfgang Denk wrote:
> >
> > Not 100% identical...this one only makes a difference on AVR32, while
> > the other one changes everyone to use -g. Ulf reported build problems
> > on ARM with the other patch, so I made it conditional.
> >
> > Sure you don't want this patch instead of the other one?
>
> I'm not sure. Which sort of problems was this exactly? Whic boards /
> platforms, and which toolchains?
>
Commit 2da2d9a4766063b9848f3a35ad6025499cf87265 is causing build
problems when building the latest MPC8540ADS with the follow tools
installed:
$ powerpc-unknown-linux-gnu-as
[r56630 at cde-tx32-ldt330 u-boot]$ powerpc-unknown-linux-gnu-as -v
GNU assembler version 2.15 (powerpc-unknown-linux-gnu) using BFD version 2.15
$ powerpc-unknown-linux-gnu-gcc -v
Reading specs from /_TOOLS_/.dist0/gnu-gcc-3.4.3-binutils-2.15-powerpc-unknown-linux-gnu/i686-pc-linux2.4/bin/../lib/gcc/powerpc-unknown-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/_TOOLS_/dist/gnu-gcc-3.4.3-binutils-2.15-powerpc-unknown-linux-gnu/i686-pc-linux2.4 --with-local-prefix=/_TOOLS_/dist/gnu-gcc-3.4.3-binutils-2.15-powerpc-unknown-linux-gnu/i686-pc-linux2.4 --enable-languages=c,c++,f77 --target=powerpc-unknown-linux-gnu --enable-threads
Thread model: posix
gcc version 3.4.3
The error is:
powerpc-unknown-linux-gnu-gcc -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xfff80000 -I/temp/u-boot.work/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /_TOOLS_/.dist0/gnu-gcc-3.4.3-binutils-2.15-powerpc-unknown-linux-gnu/i686-pc-linux2.4/bin/../lib/gcc/powerpc-unknown-linux-gnu/3.4.3/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500 -msoft-float -mno-string -DCONFIG_MPC85xx=1 -DCONFIG_MPC8540=1 -DCONFIG_E500=1 -Wall -Wstrict-prototypes -c -o sched.o sched.c
powerpc-unknown-linux-gnu-gcc -Wa,-g -D__ASSEMBLY__ -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xfff80000 -I/temp/u-boot.work/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /_TOOLS_/.dist0/gnu-gcc-3.4.3-binutils-2.15-powerpc-unknown-linux-gnu/i686-pc-linux2.4/bin/../lib/gcc/powerpc-unknown-linux-gnu/3.4.3/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500 -msoft-float -mno-string -DCONFIG_MPC85xx=1 -DCONFIG_MPC8540=1 -DCONFIG_E500=1 -c -o ppc_longjmp.o ppc_longjmp.S
/_TOOLS_/.dist0/gnu-gcc-3.4.3-binutils-2.15-powerpc-unknown-linux-gnu/i686-pc-linux2.4/bin/../lib/gcc/powerpc-unknown-linux-gnu/3.4.3/../../../../powerpc-unknown-linux-gnu/bin/as: option `-g' is ambiguous
make[1]: *** [ppc_longjmp.o] Error 2
make[1]: Leaving directory `/temp/u-boot.work/u-boot/examples'
make: *** [examples] Error 2
I am not immediately sure what is going on but reverting the commit
fixes the problem.
-Matthew
next prev parent reply other threads:[~2006-10-25 0:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060906155724.5e836336@cad-250-152.norway.atmel.com>
2006-09-06 14:22 ` [U-Boot-Users] [PATCH 1/6] AVR32: Use -g instead of -gstabs in AFLAGS_DEBUG Haavard Skinnemoen
2006-10-24 12:59 ` Wolfgang Denk
2006-10-24 13:13 ` Haavard Skinnemoen
2006-10-24 14:47 ` Wolfgang Denk
2006-10-24 15:37 ` Haavard Skinnemoen
2006-10-25 0:44 ` Matthew McClintock [this message]
2006-10-25 12:41 ` Haavard Skinnemoen
2006-10-25 19:58 ` Wolfgang Denk
2006-10-25 20:15 ` Haavard Skinnemoen
2006-10-25 21:20 ` Wolfgang Denk
2006-10-25 21:52 ` Haavard Skinnemoen
2006-10-26 15:55 ` Haavard Skinnemoen
2006-10-25 19:27 ` Wolfgang Denk
2006-09-06 14:22 ` [U-Boot-Users] [PATCH 2/6] Support uImage files for the AVR32 architecture Haavard Skinnemoen
2006-09-06 14:23 ` [U-Boot-Users] [PATCH 3/6] AVR32 architecture support Haavard Skinnemoen
2006-10-24 12:59 ` Wolfgang Denk
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=1161737075.5011.8.camel@localhost \
--to=msm@freescale.com \
--cc=u-boot@lists.denx.de \
/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