This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: suse 10.3
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Yvan Notay" <ynotay at ulb dot ac dot be>
- Cc: fortran at gcc dot gnu dot org
- Date: Thu, 11 Oct 2007 15:40:25 +0200
- Subject: Re: suse 10.3
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Wve8E0OYNKffUrmKLLf6DDOrOGviqqe9YEOlStVnPLg=; b=eHjMZycYnWfJ9NBIxP1k9I2xxI+xIrQONOax1o3JKBZ3xVhmMsVLaHvPTrW4HFGNZYxuJxVDz3o4fSs1Ej4IrC7uDsyS4oL0BG7521Hhw7F5J+vj7qS7FRNDbdyDbtzi61jmCXy8YHiLTGZ8rBbSwMgMurNeZFCJC9oO09F6SQU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fDBU00ubnkFAMmHDS3BfzrRguvfMM/6PExuUD84mOEM2wI2vHoyqSoZitl3kWd2X8+YIry2oxfTf7RKtkKMnju44BNoK2lgIMP4ly1bE51xBVWZT0OiK+/oYn3tRjvLB2oLGbNxR8AWkL6Gh6UdZlYMEcVHBne4q202aiUXX4Dw=
- References: <200710111531.17386.ynotay@ulb.ac.be>
On 10/11/07, Yvan Notay <ynotay@ulb.ac.be> wrote:
> Hello,
>
> I have a program that works well with gfortran & suse 10.0
>
> I have now a new computer (64 bit OS) and suse version is 10.3
You seem to have installed gfortran for the i586 architecture instead
of x86_64 (you have a 64bit OS). That is, rpm -qi gcc42-fortran probably
shows
Distribution: openSUSE 10.3 (i586)
instead of
Distribution: openSUSE 10.3 (X86-64)
Richard.
> Trying to compile the program produces:
>
> gfortran -g -c -o main.o main.f90
> /tmp/ccCnqkfx.s: Assembler messages:
> /tmp/ccCnqkfx.s:45: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:49: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:51: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:53: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:681: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:682: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:683: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:684: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:693: Error: suffix or operands invalid for `push'
>
> the installed version is:
> gfortran -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured
> with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
> Thread model: posix
> gcc version 4.2.1 (SUSE Linux)
>
>
> Many thanks for your help
>
>
> Yvan Notay
>