From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Make linking against libgcc configurable
Date: Thu, 23 Jul 2009 17:33:43 +0200 [thread overview]
Message-ID: <4A6882D7.5040708@denx.de> (raw)
In-Reply-To: <4A68782B.3070401@esd.eu>
Hello Daniel,
Daniel Gorsulowski wrote:
> Sorry, it was my misstake.
>
> By c&p and applying yout patch I missed the changes in lib_arm/Makefile.
> But as i wrote, _lshrdi3.a does not compile.
Why do you use c&p, and not better tools?
Compiling the meesc board with actual u-boot and the patches
from Wolfgang, Dirk and me, works fine for me:
[hs at pollux u-boot]$ make mrproper
[hs at pollux u-boot]$ make meesc_config
Configuring for meesc board...
[hs at pollux u-boot]$ make USE_PRIVATE_LIBGCC=yes -s all
[hs at pollux u-boot]$
[hs at pollux u-boot]$ ls -al u-boot.bin
-rwxrwxr-x 1 hs hs 136820 23. Jul 17:25 u-boot.bin
[hs at pollux u-boot]$
[hs at pollux u-boot]$ git log
commit 21fd74874f0f7d95509c726162da213dcc6e7db1
Author: Heiko Schocher <hs@denx.de>
Date: Thu Jul 23 13:18:40 2009 +0200
arm: add _lshrdi3.S
Signed-off-by: Heiko Schocher <hs@denx.de>
commit de463168e15733fd1f66f472399f7b93758f6a9e
Author: Wolfgang Denk <wd@denx.de>
Date: Thu Jul 23 13:15:59 2009 +0200
Make linking against libgcc configurable
Many (especially ARM) tool chains seem to come with broken or
otherwise unusable (for the purposes of builing U-Boot) run-time
support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC"
setting we allow to use alternative libraries instead.
"USE_PRIVATE_LIBGCC" can either be set as an environment variable in
the shell, or as a command line argument when running "make", i. e.
$ make USE_PRIVATE_LIBGCC=yes
or
$ USE_PRIVATE_LIBGCC=yes
$ export USE_PRIVATE_LIBGCC
$ make
The value of "USE_PRIVATE_LIBGCC" is the name of the directory which
contains the alternative run-time support library `libgcc.a'. The
special value "yes" selects the directory $(OBJTREE)/lib_$(ARCH) .
Note that not all architectures provide an alternative `libgcc.a' in
their lib_$(ARCH) directories - so far, only ARM does.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Stefan Roese <sr@denx.de>
commit 6da36a407c7e0d48789f10338477a3a8f612301f
Author: Dirk Behme <dirk.behme@googlemail.com>
Date: Wed Jul 22 17:51:56 2009 +0200
Use do_div from div64.h for vsprintf
Use do_div from div64.h for vsprintf in case of 64bit division.
For 32bit division, do_div from div64.h can't be used as it
needs a 64bit parameter.
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: Simon Kagstrom <simon.kagstrom@netinsight.net>
commit 189eec77795553157c087cd45555695fb3ce2433
Merge: faca03c... 84efbf4...
Author: Wolfgang Denk <wd@denx.de>
Date: Thu Jul 23 01:00:17 2009 +0200
Merge branch 'master' of /home/wd/git/u-boot/custodians
commit 84efbf4d144ff8aaed3cca036aebb1fe69eff3f4
Merge: 49a7720... 57215cd...
Author: Wolfgang Denk <wd@denx.de>
Date: Thu Jul 23 00:59:37 2009 +0200
Merge branch 'master' of git://git.denx.de/u-boot-arm
bye
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2009-07-23 15:33 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-08 19:36 [U-Boot] [PATCH v3] libgcc inclusion from common Makefile overwritable from platform configs files Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 19:42 ` Scott Wood
2009-07-08 20:09 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 20:14 ` [U-Boot] [PATCH V4] " Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 20:26 ` Scott Wood
2009-07-08 20:33 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 20:38 ` [U-Boot] [PATCH V5] " Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 20:38 ` [U-Boot] [PATCH 2/2] netstar/voiceblue: remove no-need libgcc link for eeprom standalone Jean-Christophe PLAGNIOL-VILLARD
2009-07-20 22:03 ` Wolfgang Denk
2009-07-08 20:55 ` [U-Boot] [PATCH V5] libgcc inclusion from common Makefile overwritable from platform configs files Wolfgang Denk
2009-07-08 21:19 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 21:29 ` Wolfgang Denk
2009-07-08 20:30 ` [U-Boot] [PATCH V4] " Wolfgang Denk
2009-07-08 20:45 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-08 20:47 ` Mike Frysinger
2009-07-09 10:24 ` [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 7:54 ` Dirk Behme
2009-07-12 8:02 ` Stefan Roese
2009-07-12 8:15 ` Dirk Behme
2009-07-12 10:29 ` Wolfgang Denk
2009-07-12 12:06 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 12:13 ` Dirk Behme
2009-07-12 12:39 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 14:36 ` Wolfgang Denk
2009-07-12 14:55 ` Dirk Behme
2009-07-12 15:50 ` Wolfgang Denk
2009-07-12 16:12 ` Dirk Behme
2009-07-12 18:17 ` Wolfgang Denk
2009-07-12 19:22 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 19:35 ` Wolfgang Denk
2009-07-12 19:51 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 21:27 ` Wolfgang Denk
2009-07-12 16:17 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 18:29 ` Wolfgang Denk
2009-07-12 19:06 ` Dirk Behme
2009-07-12 19:30 ` Wolfgang Denk
2009-07-13 9:25 ` Mike Frysinger
2009-07-13 16:00 ` Dirk Behme
2009-07-15 22:18 ` Scott Wood
2009-07-15 22:43 ` Mike Frysinger
2009-07-15 23:03 ` Scott Wood
2009-07-15 23:54 ` Mike Frysinger
2009-07-16 15:36 ` Scott Wood
2009-07-16 15:42 ` Wolfgang Denk
2009-07-16 15:56 ` Scott Wood
2009-07-17 11:27 ` Detlev Zundel
2009-07-17 11:37 ` Wolfgang Denk
2009-07-17 11:41 ` Wolfgang Denk
2009-07-17 15:24 ` Scott Wood
2009-07-16 11:11 ` Wolfgang Denk
2009-07-13 7:36 ` Stefan Roese
2009-07-13 15:46 ` Dirk Behme
2009-07-13 18:16 ` Mike Frysinger
2009-07-23 9:36 ` Wolfgang Denk
2009-07-23 11:09 ` [U-Boot] [PATCH] Make linking against libgcc configurable Wolfgang Denk
2009-07-23 11:15 ` [U-Boot] [PATCH v2] " Wolfgang Denk
2009-07-23 11:27 ` [U-Boot] [PATCH] arm: add _lshrdi3.S Heiko Schocher
2009-07-23 11:41 ` Wolfgang Denk
2009-07-23 12:16 ` Heiko Schocher
2009-07-26 22:11 ` Wolfgang Denk
2009-07-23 13:28 ` [U-Boot] [PATCH v2] Make linking against libgcc configurable Daniel Gorsulowski
2009-07-23 14:12 ` Heiko Schocher
2009-07-23 14:43 ` Daniel Gorsulowski
2009-07-23 14:48 ` Daniel Gorsulowski
2009-07-23 15:33 ` Heiko Schocher [this message]
2009-07-24 6:07 ` Daniel Gorsulowski
2009-07-27 6:26 ` Heiko Schocher
2009-07-23 16:45 ` Wolfgang Denk
2009-07-26 22:11 ` 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=4A6882D7.5040708@denx.de \
--to=hs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox