This is the mail archive of the gcc@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]

Build failure on x86_64 following patch to add ix86_units_per_simd_word


/home/andrew/builder/gcj/./prev-gcc/xgcc
-B/home/andrew/builder/gcj/./prev-gcc/
-B/home/andrew/build/gcj/x86_64-unknown-linux-gnu/bin/
-B/home/andrew/build/gcj/x86_64-unknown-linux-gnu/bin/
-B/home/andrew/build/gcj/x86_64-unknown-linux-gnu/lib/ -isystem
/home/andrew/build/gcj/x86_64-unknown-linux-gnu/include -isystem
/home/andrew/build/gcj/x86_64-unknown-linux-gnu/sys-include    -c   -g
-O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Werror -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -I. -I.
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/.
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../include
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../libcpp/include
 -I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../libdecnumber
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../libdecnumber/bid
-I../libdecnumber  -DCLOOG_PPL_BACKEND  -I/usr/include/libelf
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c
-o tree-vect-stmts.o
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c:
In function âget_vectype_for_scalar_typeâ:
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c:4681:3:
error: implicit declaration of function âix86_units_per_simd_wordâ
[-Werror=implicit-function-declaration]
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c:4681:29:
error: comparison between signed and unsigned integer expressions
[-Werror=sign-compare]

This would seem to be due to:

2010-09-13  H.J. Lu  <hongjiu.lu@intel.com>

        * config/i386/i386-protos.h (ix86_units_per_simd_word): New.

        * config/i386/i386.c (initial_ix86_tune_features): Add
        X86_TUNE_VECTORIZE_DOUBLE.
        (ix86_units_per_simd_word): New.

        * config/i386/i386.h (ix86_tune_indices): Add
	X86_TUNE_VECTORIZE_DOUBLE.
        (TARGET_VECTORIZE_DOUBLE): New.
        (UNITS_PER_SIMD_WORD): Defined with ix86_units_per_simd_word.

Configured as:

$GCC_HOME/configure --prefix=$GCC_INSTALL --disable-multilib
--enable-languages=c,c++,java \
    --enable-java-awt=gtk,xlib,qt --enable-gconf-peer
--enable-gstreamer-peer --enable-gjdoc \
    --enable-java-maintainer-mode --with-java-home=$GCC_INSTALL
--enable-java-home \
    --with-jvm-root-dir=$GCC_INSTALL/jdk
--with-jvm-jar-dir=$GCC_INSTALL/jvm-exports \
    --with-ecj-jar=${GCJ_ECJ_JAR}

-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FAÂ 7927 142C 2591 94EF D9D8


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