This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC[trunk version 193646] error: impossible constrai nt in ‘asm’


Hi,
  I tried to build GCC (193646) with the following configuration:

../gcc-trunk/configure -v --with-pkgversion='ubuntu12.04-64'
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu

But, I got the following error:

In file included from /usr/include/fenv.h:58:0,
                 from ../../../../gcc-trunk/libquadmath/math/ccoshq.c:23:
../../../../gcc-trunk/libquadmath/math/ccoshq.c: In function ‘ccoshq’:
/usr/include/bits/fenv.h:116:4: error: impossible constraint in ‘asm’
    __asm__ __volatile__ ("divss %0, %0 " : : "x" (__f));
    ^
/usr/include/bits/fenv.h:116:4: error: impossible constraint in ‘asm’
    __asm__ __volatile__ ("divss %0, %0 " : : "x" (__f));
    ^

I know nothing about assembler assembly :(
Can anyone help me? Thank you.


Regards,
Yao Yuan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]