This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strip problem in busybox


make ARCH=arm CROSS_COMPILE=<full_path_to_toolchain>/usr/bin/arm-unknown-linux-uclibc-gnueabi-

On Mon, Oct 25, 2010 at 5:51 PM, vamsi53 <vamsi53@gmail.com> wrote:
>
> Trying libraries: crypt m
> ÂLibrary crypt is needed, can't exclude it (yet)
> ÂLibrary m is not needed, excluding it
> ÂLibrary crypt is needed, can't exclude it (yet)
> Final link with: crypt
>
>
>
> Hello everyone,
> I am stuck with this problem for more than 3 days while running busybox(
> make CROSS_COMPILE= usr/bin/arm-unknown-linux-uclibc-gnueabi-
> Please help me with this issue.
>
> Thanks,
> Vamsi
>
> ng-8 wrote:
>>
>> ng@piments.com wrote:
>>> Hi,
>>>
>>> I am trying to compile busybox with my new cross compiler but it fails
>>> at the final post , stripping the object file.
>>>
>>> Â$ make CC="arm-unknown-linux-gnueabi-gcc"
>>>
>>> ...
>>>
>>> Â CC Â Â Âutil-linux/volume_id/util.o
>>> Â CC Â Â Âutil-linux/volume_id/volume_id.o
>>> Â CC Â Â Âutil-linux/volume_id/xfs.o
>>> Â AR Â Â Âutil-linux/volume_id/lib.a
>>> Â LINK Â Âbusybox_unstripped
>>> Trying libraries: crypt m
>>> ÂLibrary crypt is not needed, excluding it
>>> ÂLibrary m is needed, can't exclude it (yet)
>>> Final link with: m
>>> strip: Unable to recognise the format of the input file
>>> `busybox_unstripped'
>>> make: *** [busybox] Error 1
>>>
>>> I found a post on busybox ML that seems to address this precise problem.
>>>
>>> http://www.mail-archive.com/busybox@busybox.net/msg02146.html
>>>
>>> I did a fresh SVN pull but the issue remains.
>>>
>>> Is this a defect in ct-cg or in the BB Makefile?
>>>
>>> Any way around this?
>>>
>>> TIA.
>>>
>>>
>>>
>>
>> OK. Seems I forgot to run make menuconfig with CROSS_COMPILE set.
>> Now seems clean and I have an ARM executable.
>>
>>
>> make menuconfig CROSS_COMPILE="arm-unknown-linux-gnueabi-"
>> make ÂCROSS_COMPILE="arm-unknown-linux-gnueabi-"
>>
>> ...
>>
>> Â ÂLINK Â Âbusybox_unstripped
>> Trying libraries: crypt m
>> Â Library crypt is not needed, excluding it
>> Â Library m is needed, can't exclude it (yet)
>> Final link with: m
>>
>>
>> $ file busybox
>> busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
>> linked (uses shared libs), stripped
>>
>>
>> ;)
>>
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/strip-problem-in-busybox-tp23443431p30053205.html
> Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com.
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>



-- 
Bryan Hundven
bryanhundven@gmail.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]