libbusybox is back; "individual" mode is introduced

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Tue Oct 9 21:35:09 UTC 2007


On Tuesday 09 October 2007 21:13:56 Denys Vlasenko wrote:
> In current svn:
> CONFIG_BUILD_LIBBUSYBOX works again,
> CONFIG_FEATURE_INDIVIDUAL now works too.
> Run-tested on i386 glibc only, try on other arches.

Breaks when cross-compiling (at least for ARM) on a x86_64:

[--SNIP--]
  CC      util-linux/switch_root.o
  CC      util-linux/umount.o
  AR      util-linux/lib.a
  LINK    busybox_unstripped
Trying libraries: crypt m
Library crypt is needed
Library m is needed
Final link with: crypt m
strip: Unable to recognise the format of the input file `0_lib/libbusybox.so.1.8.0.svn_unstripped'
chmod: cannot access `0_lib/libbusybox.so.1.8.0.svn': No such file or directory
libbusybox: 0_lib/libbusybox.so.1.8.0.svn
Linking 0_lib/busybox_unstripped failed
[--SNIP--]

The reason is that we should use the cross-strip, rather than the native one,
in scripts/trylink. Patch attached.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-trylink_libbusybox.patch
Type: text/x-diff
Size: 898 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20071009/8704c330/attachment-0002.bin 


More information about the busybox mailing list