All of lore.kernel.org
 help / color / mirror / Atom feed
From: DENX Support System <support@denx.de>
To: u-boot@lists.denx.de
Subject: [DNX#2006040142001409] [U-Boot-Users] PATCH - Coldfire gcc3.4 compiling f [...]
Date: Sat, 1 Apr 2006 02:00:09 +0200	[thread overview]
Message-ID: <1143849609.731824.309514446@castor.denx.de> (raw)

Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142001409] was created:

<snip>
> I have been searching the archives for the solution to this problem when
> compiling u-boot for the M5282EVB with GCC 3.4.0:
> 
> /home/jate/tim-firmware/u-boot/cpu/mcf52x2/start.S:345: Fatal error:
> Tried to convert PC relative conditional branch to absolute jump
> 
> Turning on the -S option fixes this. This led to this error:
> 
> flash.c: In function `flash_print_info':
> flash.c:69: error: label at end of compound statement
> 
> This is also fixed below. I do not have an M5282EVB board, so I cannot
> test the binaries generated. Can anyone help test?
> 
> - Jate S.
> 
> Index: config.mk
> ===================================================================
> RCS file: /cvsroot/u-boot/u-boot/config.mk,v
> retrieving revision 1.14
> diff -u -r1.14 config.mk
> --- config.mk	4 Oct 2005 21:11:34 -0000	1.14
> +++ config.mk	6 Dec 2005 16:57:10 -0000
> @@ -139,7 +139,14 @@
>  endif
>  endif
>  
> +# turn jbsr into jsr for m68k
> +ifeq ($(ARCH),m68k)
> +ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4)
> +AFLAGS_DEBUG := -Wa,-gstabs,-S
> +endif
> +else
>  AFLAGS_DEBUG := -Wa,-gstabs
> +endif
>  AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
>  
>  LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE)
> $(PLATFORM_LDFLAGS)
> 
> Index: flash.c
> ===================================================================
> RCS file: /cvsroot/u-boot/u-boot/board/m5282evb/flash.c,v
> retrieving revision 1.1
> diff -u -r1.1 flash.c
> --- flash.c 8 Dec 2003 01:34:37 -0000 1.1
> +++ flash.c 6 Dec 2005 16:30:08 -0000
> @@ -65,6 +65,7 @@
>   printf ("\n");
>  
>        Done:
> +       ; /* for gcc3.4.0 compiling */
>  }
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
</snip>

Your U-Boot support team

                 reply	other threads:[~2006-04-01  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1143849609.731824.309514446@castor.denx.de \
    --to=support@denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.