* [U-Boot-Users] _udivsi3 and _umodsi3 from the compiler libraries instead of libarm.a
@ 2005-02-14 22:53 Robert Whaley
2005-02-14 23:35 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Robert Whaley @ 2005-02-14 22:53 UTC (permalink / raw)
To: u-boot
I had a problem linking u-boot for an IXP425 (ARM) board. The problem
was that _udivsi3 and _umodsi3 were being satisfied from the compiler
libraries instead of libarm.a.
One fix that works is to change this line in the top level Makefile:
--start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
To this:
--start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
I'm concerned that this might break other stuff. Is there a better way
to fix this?
Robert
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] _udivsi3 and _umodsi3 from the compiler libraries instead of libarm.a
2005-02-14 22:53 [U-Boot-Users] _udivsi3 and _umodsi3 from the compiler libraries instead of libarm.a Robert Whaley
@ 2005-02-14 23:35 ` Wolfgang Denk
2005-02-14 23:56 ` Robert Whaley
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2005-02-14 23:35 UTC (permalink / raw)
To: u-boot
In message <42112C01.9000003@applieddata.net> you wrote:
> I had a problem linking u-boot for an IXP425 (ARM) board. The problem
> was that _udivsi3 and _umodsi3 were being satisfied from the compiler
> libraries instead of libarm.a.
>
> One fix that works is to change this line in the top level Makefile:
>
> --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
>
> To this:
>
> --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
Yes, this is what we changed in recent versions of U-Boot.
> I'm concerned that this might break other stuff. Is there a better way
> to fix this?
Can you please explain your concerns? Why should this break "other
stuff"? Why should there be a "better way", i. e. what is it that you
dislike with this solution?
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 22 - 24, Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
America has been discovered before, but it has always been hushed up.
- Oscar Wilde
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] _udivsi3 and _umodsi3 from the compiler libraries instead of libarm.a
2005-02-14 23:35 ` Wolfgang Denk
@ 2005-02-14 23:56 ` Robert Whaley
2005-02-15 0:33 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Robert Whaley @ 2005-02-14 23:56 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> In message <42112C01.9000003@applieddata.net> you wrote:
>
>>I had a problem linking u-boot for an IXP425 (ARM) board. The problem
>>was that _udivsi3 and _umodsi3 were being satisfied from the compiler
>>libraries instead of libarm.a.
>>
>>One fix that works is to change this line in the top level Makefile:
>>
>>--start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
>>
>>To this:
>>
>>--start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
>
>
> Yes, this is what we changed in recent versions of U-Boot.
>
>
>>I'm concerned that this might break other stuff. Is there a better way
>>to fix this?
>
>
> Can you please explain your concerns? Why should this break "other
> stuff"? Why should there be a "better way", i. e. what is it that you
> dislike with this solution?
>
> Best regards,
>
> Wolfgang Denk
>
I was only concerned only because I wasn't sure that some system didn't
depend on the compiler libraries being searched twice.
Sorry, I'm reinventing the wheel (I just downloaded this 2 weeks ago).
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] _udivsi3 and _umodsi3 from the compiler libraries instead of libarm.a
2005-02-14 23:56 ` Robert Whaley
@ 2005-02-15 0:33 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-02-15 0:33 UTC (permalink / raw)
To: u-boot
In message <42113ACB.70208@applieddata.net> you wrote:
>
> I was only concerned only because I wasn't sure that some system didn't
> depend on the compiler libraries being searched twice.
They should not; I've never seen this in any default compiler
configuration.
> Sorry, I'm reinventing the wheel (I just downloaded this 2 weeks ago).
Close, but not close enough ;-)
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 22 - 24, Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"An open mind has but one disadvantage: it collects dirt."
- a saying at RPI
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-15 0:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-14 22:53 [U-Boot-Users] _udivsi3 and _umodsi3 from the compiler libraries instead of libarm.a Robert Whaley
2005-02-14 23:35 ` Wolfgang Denk
2005-02-14 23:56 ` Robert Whaley
2005-02-15 0:33 ` Wolfgang Denk
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.