[Bug c++/48867] New: Using the compilation flag -mfpmath=sse breaks Snes9x build.
j.russell.moore at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 4 09:37:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48867
Summary: Using the compilation flag -mfpmath=sse breaks Snes9x
build.
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: j.russell.moore@gmail.com
Created attachment 24179
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24179
Compilation output.
Adding -mfpmath=sse to the compilation flags when building Snes9x generates the
following messages when compiling filters/hq2x.cpp:
{standard input}: Assembler messages:
{standard input}:59302: Warning: end of file not at end of a line; newline
inserted
{standard input}:60006: Error: no such instruction: `m'
{standard input}:60006: Error: open CFI at the end of file; missing
.cfi_endproc directive
g++: internal compiler error: Killed (program cc1plus)
The system I was using is a 64-bit Archlinux.
Compilation flags: -march=core2 -mfpmath=sse -O3 -pipe -fomit-frame-pointer
(although the configure script added some more)
gcc-v: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.6-20110429/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object
--enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto
--enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold
--disable-multilib --disable-libstdcxx-pch --enable-checking=release
Thread model: posix
gcc version 4.6.0 20110429 (prerelease) (GCC)
Compilation output: http://pastebin.com/TjqtN8sS
I've left the preprocessed files (the one that triggers the bug should be
hq2x.ii) along with the sources I used here:
http://dl.dropbox.com/u/2431380/snes9x-1.53-src.tar.xz
They're in the "unix" directory, that's where the makefile is too.
More information about the Gcc-bugs
mailing list