This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
i686->arm cross gcc3.2.3 miscompilation of MICO.
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Fri, 4 Jul 2003 16:25:19 +0200 (CEST)
- Subject: i686->arm cross gcc3.2.3 miscompilation of MICO.
Hello,
while playing with crosscompiling MICO on i686 host for
arm-unknown-linux-gnu platform, we have found some problems with stability
of resulting binary when it was compiled with -O2 or -Os. When we used -O0
everything was stable as it is on i686 (fyi: on i686 it's stable even
with -O2 - -Os is not tested yet).
I would like to ask if there is any known bug in gcc3.2.3 for arm platform
especially such causing miscompilation with -O2 and/or -Os. (I've looked
into bugzilla, but haven't found any).
Reason: if there is known, then I will not play with it. If not, then I'll
try to report more info and/or simplify it in my spare time.
BTW: I've not tried gcc3.3 since I'm using crosstools-0.10.0 which
contains some notes about broken combination of gcc3.3+glibc2.x.x (here
it's glibc problem)
Thanks,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com