This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/57017] ÂError: expecting string instruction after `rep'Â in code w/o inline assembly
- From: "aaversa at optics dot arizona.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Apr 2013 06:22:54 +0000
- Subject: [Bug target/57017] ÂError: expecting string instruction after `rep'Â in code w/o inline assembly
- Auto-submitted: auto-generated
- References: <bug-57017-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57017
Alan Aversa <aaversa at optics dot arizona.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aaversa at optics dot
| |arizona.edu
--- Comment #7 from Alan Aversa <aaversa at optics dot arizona.edu> 2013-04-24 06:22:54 UTC ---
(In reply to comment #5)
> What binutils version are you using? You can find out by doing "as --version".
>
> I think this is a bug in the version of binutils you are using the generated
> assembly is:
> " rep; ret " which is a valid assembly for x86_64.
GNU assembler (Linux/GNU Binutils) 2.22.52.0.2.20120424
(In reply to comment #6)
> Can't reproduce, perhaps misconfigured compiler?
> HAVE_AS_IX86_REP_LOCK_PREFIX test in particular. You haven't said what target
> it is and how you've configured the compiler...
../gcc-4.8.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man
--infodir=/usr/info --enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix
--enable-checking=release --enable-objc-gc --with-system-zlib
--with-python-dir=/lib64/python2.7/site-packages --disable-libunwind-exceptions
--enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose
--enable-java-home --with-java-home=/usr/lib64/jvm/jre
--with-jvm-root-dir=/usr/lib64/jvm
--with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64
--with-antlr-jar=/home/slackware/slackbuilds/gcc/antlr-runtime-3.4.jar
--enable-multilib --target=x86_64-slackware-linux
--build=x86_64-slackware-linux --host=x86_64-slackware-linux