Re: Problems with ARM/thumb-crosscompiler and 64-bit systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/14/2011 02:21 PM, sarah@xxxxxxxxxxxxxxxx wrote:

> I have a problem related to cross-compilation to ARM and 64-bit systems.
> 
> The developers at our office uses mainly Ubuntu Linux, but some uses
> 32-bit and some 64-bit versions.
> 
> We all use the same script to build the cross-compiler toolchain for
> 'arm-elf-gcc-4.5.1'.  The funny is that an arm-toolchain built on a
> 64-bit Linux system does not produce same target ARM/thumb-binary as
> an arm-toolchain built on a 32-bit Linux system.
> 
> All sources we build are exactly the same, both
> gcc-4.5.1-toolchain-sources and target-sources, the only difference
> is the 32/64-bit system we use.  How can that be? I understand the
> cross-compiler binary might eg. link with other libs, but shouldnt
> the ARM/thumb cross-compiled target code be the same?

This is normal.  Hash table ordering can be different, and some
optimizations (e.g. constant folding) can very depending on the
capabilities of the host.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux