Linux MIPS Architecture development
 help / color / mirror / Atom feed
* busybox / ELDK fails to run.
@ 2007-09-17 22:23 Paul Marciano
  2007-09-17 23:12 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Marciano @ 2007-09-17 22:23 UTC (permalink / raw)
  To: linux-mips

First, apologies if this is an inappropriate list for
this question, but there doesn't seem to be a list for
ELDK, and there doesn't seem to be much MIPS traffic
in the busybox list...  so I thought this would be the
best place to find help.


I've been using DENX/ELDK-4.0 for a while and recently
upgraded to 4.1.  The version of busybox included
(1.3.0) fails to run with the ld.so error:

symbol lookup error: busybox: undefined symbol:
xsocket_stream_ip4or6

Turning on ld.so debugging, xsocket_stream_ip4or6 is
one of five or so functions not found.  'objdump -T'
shows them all as *ABS* symbols, yet they come from
functions that are included, but unused, in the
busybox source.  Some functions are preceeded in the
source by comments that state they are not compiled
(yet not bracketed by #if, #endif).  Presumably
they're expected to be disposed of by the linker.

The latest, 1.7.1 version of busybox reduces the list
down to one such function (xstrtol_range_sfx) - but
that's enough to make ld.so unhappy.

I noticed while digging around, that the ELDK linker
(gcc-4.0.0, ld-2.16.1) includes many busybox symbols
in the final object's dynamic symbol table, whereas
the i386 build only lists fully external, unresolved
symbols (to be obtained from libc and other external
shared libraries).  I don't know if that's relevant or
if it's just a difference in architecture.


Is anyone else here using the ELDK and busybox?  If
so, I'd be interested in knowing if you've seen the
same problem, or if you think there's something wrong
with my setup.  

As I said, the unknown symbols come from within
busybox itself - the required shared libraries (libc,
libm and libcrypt) are all in place.

I could #if 0 the offending functions, but then I'm
assuming it's an ELDK fault and not my own -
especially given that I can't successfully build
runnable busybox version.  I'd like a second opinion.


I doubt the kernel version is relevant, but it's
2.6.18.

Thanks,
Paul.



      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: busybox / ELDK fails to run.
  2007-09-17 22:23 busybox / ELDK fails to run Paul Marciano
@ 2007-09-17 23:12 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2007-09-17 23:12 UTC (permalink / raw)
  To: Paul Marciano; +Cc: linux-mips

In message <446032.91533.qm@web54007.mail.re2.yahoo.com> you wrote:
> First, apologies if this is an inappropriate list for
> this question, but there doesn't seem to be a list for
> ELDK, and there doesn't seem to be much MIPS traffic

You can always ask us directly...

> Is anyone else here using the ELDK and busybox?  If

We are, obviously.

> so, I'd be interested in knowing if you've seen the
> same problem, or if you think there's something wrong
> with my setup.  

It works fine in our tests...

Did you try using the NFS root file system for these  tests,  or  the
included ramdisk images? Which of these is giving you the problems?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"There is such a fine line between genius and stupidity."
- David St. Hubbins, "Spinal Tap"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-17 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-17 22:23 busybox / ELDK fails to run Paul Marciano
2007-09-17 23:12 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox