Compile U-boot: _ udivsi3.s: 67: Relocation truncated to fit: r_arm_plt32 _ div0

Source: Internet
Author: User
Tags truncated

This error occurs when you compile the U-boot1.2.0 with the cross-compilation tool arm-linuc-GCC 3.4.1:

Lib_arm/_ udivsi3.s: 67: Relocation truncated to fit: r_arm_plt32 _ div0
Lib_arm/_ umodsi3.s: 79: Relocation truncated to fit: r_arm_plt32 _ div0

I found many such problems on the Internet!

It is mainly about "Soft-float". There are two solutions:

1. Because 3.4.1 supports hard floating point, you can use 3.3.2 or 2.95.3!

Copy the tool chain of version 3.3.2 to/usr/local/arm.

Extract tar to the current directory

Modify the environment variable export path: =! This method is simple.

2. Create a soft-float cross-compilation tool by yourself. It looks very troublesome!

There are a lot of online, here not much to say, give a link: http://blog.csdn.net/dengxin123/article/details/2919807

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.