Is gfortran-i686-linux supposed to work on x86_64 Linux?
Richard Guenther
richard.guenther@gmail.com
Fri Feb 9 13:01:00 GMT 2007
On 2/9/07, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
> Is gfortran-i686-linux supposed to work on x86_64 Linux?
>
> The question is triggered by the following compilation errors:
>
> /tmp/ccUet9Zg.s: Assembler messages:
> /tmp/ccUet9Zg.s:15: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:18: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:19: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:20: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:21: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:30: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:34: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:35: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:37: Error: suffix or operands invalid for `push'
> /tmp/ccUet9Zg.s:42: Error: suffix or operands invalid for `push'
>
> while compiling
>
> real pi
> data pi /3.1415926535897932385/
> print *, pi
> end
>
> with gfortran version 4.3.0 20070209 (fresh download from quatramaran...).
> 'as' is:
>
> GNU assembler 2.15.91.0.2 20040727 (SuSE Linux)
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License. This program has absolutely no warranty.
> This assembler was configured for a target of `x86_64-suse-linux'.
>
> Is this a known issue? Should I fill a bug report? Should I ask the person
> in charge of the machine to update the GNU tools?
Try passing -Wa,-32 as additional arguments.
Richard.
More information about the Fortran
mailing list