public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* RE: 32-bit host vs 64-bit host
@ 2014-02-25 20:48 roman
  2014-02-25 21:00 ` Grant Edwards
  0 siblings, 1 reply; 7+ messages in thread
From: roman @ 2014-02-25 20:48 UTC (permalink / raw)
  To: Grant Edwards, crossgcc



Grant,

>What sort of differences did you find?

I could not compile the standard c library with the 32 bit toolchain on
a 64 bit host, when the same library would build fine on the 32 bit
host. I have ran into this issue many times during the second stage of
the toolchain build on a 64 bit host. Same gcc/glibc sources would
compile on a 32 bit host but would fail on a 64 bit. 

R




-------- Original Message --------
Subject: Re: 32-bit host vs 64-bit host
From: Grant Edwards <grant.b.edwards@gmail.com>
Date: Tue, February 25, 2014 1:31 pm
To: crossgcc@sourceware.org

On 2014-02-25, <roman@kolesnikov.mobi> <roman@kolesnikov.mobi> wrote:

> I found the difference in building the libraries and file systems.

What sort of differences did you find?

> Making 32 bit chroot on 64 bit system was an extra nuisance.

You don't need to do that to run an existing 32-bit-host toolchain,
but you might need to do that to build a 32-bit-host toolchain on a
64-bit.

-- 
Grant Edwards grant.b.edwards Yow! My haircut is totally
 at traditional!
 gmail.com 


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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: 32-bit host vs 64-bit host
@ 2014-02-25 19:59 roman
  2014-02-25 20:32 ` Grant Edwards
  0 siblings, 1 reply; 7+ messages in thread
From: roman @ 2014-02-25 19:59 UTC (permalink / raw)
  To: Grant Edwards, crossgcc


Hi Grant,

I found the difference in building the libraries and file systems.
Making 32 bit chroot on 64 bit system was an extra nuisance.

Roman



-------- Original Message --------
Subject: 32-bit host vs 64-bit host
From: Grant Edwards <grant.b.edwards@gmail.com>
Date: Mon, February 24, 2014 2:26 pm
To: crossgcc@sourceware.org

Let's say I build two copies of the "same" toolchain: one on a 32-bit
(i686) host and the other on a 64-bit (amd64) host: both are using the
same configuration, same sources files, for the same target (e.g. ARM).

Would you expect the two toolchains to produce identical code when
given identical sources?

Or are there certain optimizations or transformations that differ
depend on the _host_ machine word-size or architecture?

For example: for the past few years you've been building an embedded
linux linux system for an ARM9 target using a 32-bit hosted toolchain.
How much of a risk is there if you move development to a 64-bit host
and rebuild your toolchains as 64-bit apps?

[Yes, I know that if you have 32-bit compatibility libraries you can
continue to use the existing 32-bit toolchain binaries.]

-- 
Grant Edwards grant.b.edwards Yow! Make me look like
 at LINDA RONSTADT again!!
 gmail.com 


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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* 32-bit host vs 64-bit host
@ 2014-02-24 21:27 Grant Edwards
  2014-02-25  2:59 ` Ralf Corsepius
  2014-03-02  2:00 ` Bill Pringlemeir
  0 siblings, 2 replies; 7+ messages in thread
From: Grant Edwards @ 2014-02-24 21:27 UTC (permalink / raw)
  To: crossgcc

Let's say I build two copies of the "same" toolchain: one on a 32-bit
(i686) host and the other on a 64-bit (amd64) host: both are using the
same configuration, same sources files, for the same target (e.g. ARM).

Would you expect the two toolchains to produce identical code when
given identical sources?

Or are there certain optimizations or transformations that differ
depend on the _host_ machine word-size or architecture?

For example: for the past few years you've been building an embedded
linux linux system for an ARM9 target using a 32-bit hosted toolchain.
How much of a risk is there if you move development to a 64-bit host
and rebuild your toolchains as 64-bit apps?

[Yes, I know that if you have 32-bit compatibility libraries you can
continue to use the existing 32-bit toolchain binaries.]

-- 
Grant Edwards               grant.b.edwards        Yow! Make me look like
                                  at               LINDA RONSTADT again!!
                              gmail.com            


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

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

end of thread, other threads:[~2014-03-02  2:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-25 20:48 32-bit host vs 64-bit host roman
2014-02-25 21:00 ` Grant Edwards
  -- strict thread matches above, loose matches on Subject: below --
2014-02-25 19:59 roman
2014-02-25 20:32 ` Grant Edwards
2014-02-24 21:27 Grant Edwards
2014-02-25  2:59 ` Ralf Corsepius
2014-03-02  2:00 ` Bill Pringlemeir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).