public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jens Scharsig <esw@bus-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Compiling u-boot for coldfire
Date: Tue, 07 Nov 2006 15:46:16 +0100	[thread overview]
Message-ID: <eiq67o$78b$1@sea.gmane.org> (raw)
In-Reply-To: <200611071455.02977.aitor@garper-teleco.es>

Hello,

I use gcc 3.4.x with uboot. But If you prefer version 4.x, you sould 
modify the config.mk near line 173 to:

# turn jbsr into jsr for m68k
ifeq ($(ARCH),m68k)
ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4)
AFLAGS_DEBUG := -Wa,-gstabs,-S
endif
ifeq ($(findstring 4.1,$(shell $(CC) --version)),4.1)
AFLAGS_DEBUG := -Wa,-gstabs,-S
endif
endif

A missing option -S will generate this error.

Regards Jens Scharsig

Aitor Calder?n schrieb:
> Hi there.
> 
> I am trying to build u-boot for coldfire mcf52x2 CPU.
> I have run "make M5282EVB_config" and "make all" but I get this error:
> 
> make[1]: Entering directory `/tmp/u-boot-1.1.6/cpu/mcf52x2'
> m68k-elf-gcc  -D__ASSEMBLY__ -g  -Os   -ffixed-d7 -msep-data -D__KERNEL__ 
> -DTEXT_BASE=0x20000  -I/tmp/u-boot-1.1.6/include -fno-builtin -ffreestanding 
> -nostdinc -isystem /usr/local/lib/gcc/m68k-uclinux/4.1.1/include -pipe  
> -DCONFIG_M68K -D__M68K__ -m5307 -c -o start.o start.S
> start.S: Mensajes del ensamblador:
> start.S:442: Error fatal: Se intent? convertir una ramificaci?n condicional 
> relativa al PC a un salto absoluto
> make[1]: *** [start.o] Error 1
> make[1]: Leaving directory `/tmp/u-boot-1.1.6/cpu/mcf52x2'
> make: *** [cpu/mcf52x2/start.o] Error 2
> 
> the start.S message translated:
> 
> start.S: Assembler messages:
> start.S:442: Fatal error: attempted to convert a conditional tree relative to 
> PC into an absolut jump
> 
> I was not sure about which compiler to use, so I am using m68k-elf-gcc 4.1.1 
> from last m68k-uclinux-tools. Should I use other?
> 
> I am using u-boot 1.1.6
> 
>   Thanks,
>   Aitor.
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

      reply	other threads:[~2006-11-07 14:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 13:55 [U-Boot-Users] Compiling u-boot for coldfire Aitor Calderón
2006-11-07 14:46 ` Jens Scharsig [this message]

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='eiq67o$78b$1@sea.gmane.org' \
    --to=esw@bus-elektronik.de \
    --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