I am using the latest CVS HEAD version of the gcc 3.4.4 branch, as well as the CVS HEAD version of binutils.
gcc failed to compile the process.c file in the 2.6.11.7 version of the Linux kernel. It turns out that gcc was able to produce valid assembly code, but gas was not able to create an object file. I asked gcc to produce an assembly file called capture.s. I then tried to use gas to create the object file. 0:$ /home/joshua/local/bin/as --version GNU assembler 2.16.90 20050426 Copyright 2005 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 `i686-pc-linux-gnu'. 0:$ /home/joshua/local/bin/as capture.s -o capture.o capture.s: Assembler messages: capture.s:862: Error: suffix or operands invalid for `mov' capture.s:863: Error: suffix or operands invalid for `mov' capture.s:1056: Error: suffix or operands invalid for `mov' capture.s:1057: Error: suffix or operands invalid for `mov' capture.s:1123: Error: suffix or operands invalid for `mov' capture.s:1124: Error: suffix or operands invalid for `mov' capture.s:1191: Error: suffix or operands invalid for `mov' capture.s:1192: Error: suffix or operands invalid for `mov' capture.s:1301: Error: suffix or operands invalid for `mov' capture.s:1313: Error: suffix or operands invalid for `mov' 0:$ /usr/bin/as --version GNU assembler 2.15.92.0.2 20040927 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 `i386-redhat-linux'. 0:$ /usr/bin/as capture.s -o capture.o Note that the earlier version of gas was able to produce the object file without error. The file capture.s is quite long, so I'll put it on my webserver for a while instead of pasting it in this report: http://www.neuheisel.us/tmp/capture.s If I can furnish any additional information that would be useful, please let me know. -- Summary: gas fails to assemble valid code Product: binutils Version: 2.17 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jneuheisel at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://sources.redhat.com/bugzilla/show_bug.cgi?id=879 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils