Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10458 - Error: suffix or operands invalid for `movq'

Attached to Project: Arch Linux
Opened by Paweł Stankowski (Ambi) - Tuesday, 20 May 2008, 16:12 GMT
Last edited by Greg (dolby) - Wednesday, 21 May 2008, 14:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
On x86-64 (and i686?) environment there assembler does not accept some of inctructions.
For example when building kdebindings I got (full report in the attachment):
{standard input}: Assembler messages:
{standard input}:207279: Warning: end of file not at end of a line; newline inserted
{standard input}:208351: Error: suffix or operands invalid for `movq'
g++: Internal error: Killed (program cc1plus)

Possible solution may be found here: http://kerneltrap.org/node/5785

There are links to following patches:
http://www.kernel.org/pub/linux/devel/binutils/linux-2.4-seg-4.patch
http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch

Additional info:
binutils 2.18-6
gcc 4.3.0-1
gcc-libs-4.3.0-1

Steps to reproduce:
Build kdemod-kdebindings PKGBUILD from kdemod's svn: http://kdemod.ath.cx/svn/branches/kde3/kdebindings (version 980).
   output.log (192.2 KiB)
This task depends upon

Closed by  Greg (dolby)
Wednesday, 21 May 2008, 14:25 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Wednesday, 21 May 2008, 06:55 GMT
This is because you're trying to compile 32bit assembly code with a 64bit assembler.

Loading...