From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file
Date: Sun, 12 Jul 2009 21:06:33 +0200 [thread overview]
Message-ID: <4A5A3439.9000208@googlemail.com> (raw)
In-Reply-To: <20090712182946.09A9F832E416@gemini.denx.de>
Dear Wolfgang,
Wolfgang Denk wrote:
> Dear Jean-Christophe PLAGNIOL-VILLARD,
>
> In message <20090712161700.GD21651@game.jcrosoft.org> you wrote:
>>> Right. And each of these is supposed to come with it's own version of
>>> libgcc, configured exactly for the requirements of this specific
>>> version and configuration of GCC.
>> the problem is that it's not really possible on arm
>> because you will need a toolchain for u-boot and an other for the userland
>> and in somecase an other for the kernel
>
> You mean it is impossible to build a tool chain for ARM that can be
> used to build U-Boot, Linux, and user space code? I can't believe
> that ARM support in GCC is that seriously broken.
>
>> We can not trust at all the libgcc provide by the toolchains we have see this
>> kind of problem thousand of times on the kernel and of course in U-Boot
>> and it's not the only arch to have this kind of problem the mips have too.
>
> What do you mean? Are there examples where the libgcc provided
> functions are incorrect? But then - isn't the Linux kernel code
> drived from the very same set of sources?
>
> The only problems that I have seen in the past is that for example
> libgcc code assumes hardware FP support (ironically even on
> processors that never had a FPU) while U-Boot uses "-msoft-float". In
> that case it would be sufficient if the GCC builders provided a
> version of libgcc configured for soft-float.
>
> Are you aware of problems that have a different nature, i. e. where
> the libgcc provided source code is actually incorrect for some
> system?
>
>> I can give 10's of toolchains which are correctly configured but never acheive
>> to build u-boot or the kernel just because of the libgcc.
>
> The questionhere is probably how you define "correctly". If these tool
> chains are supposed to be used for U-Boot and kenrel development, then
> they are probably at least not complete.
>
>> Btw it will not be a huge work for U-Boot at all as we do this job in the
>> kernel anyway
>
> You still have to keep both in sync.
>
> And as I mantioned before: I do not oppose the change itself. I agree
> that it is useful and actually a very good idea to support users who
> really need this. The only things I oppose are (1) making this the
> default (or even mandatory) for all tool chains and (2) making it
> architecture-dependent.
So to do in in positive logic, what do you propose how to enable it?
In the other mail you mentioned "The selection could be done by
passing some argument or environment variables to "make""?
Maybe you could give some (Makefile?) (pseudo?) code that
Jean-Christophe gets an idea how to do this correctly? Sorry if this
was given already in the Makefile discussion and I missed it.
Many thanks
Dirk
next prev parent reply other threads:[~2009-07-12 19:06 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 [this message]
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
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=4A5A3439.9000208@googlemail.com \
--to=dirk.behme@googlemail.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