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

[Bug middle-end/49363] [feature request] multiple target attribute (and runtime dispatching based on cpuid)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49363

--- Comment #16 from Sriraman Tallam <tmsriram at google dot com> 2012-05-09 19:03:01 UTC ---
Bug fixed, patch here: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00694.html

Thanks for trying,
-Sri.


On Tue, May 8, 2012 at 2:18 AM, vincenzo.innocente at cern dot ch
<gcc-bugzilla@gcc.gnu.org> wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49363
>
> --- Comment #14 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-08 09:18:01 UTC ---
> added your patch on top of
> c++ -v
> Using built-in specs.
> COLLECT_GCC=c++
> COLLECT_LTO_WRAPPER=/afs/cern.ch/user/i/innocent/w2/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
> Target: x86_64-unknown-linux-gnu
> Configured with: ./configure --prefix=/afs/cern.ch/user/i/innocent/w2
> --enable-languages=c,c++,fortran -enable-gold=yes --enable-lto
> --with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64
> --with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64
> --enable-cloog-backend=isl --with-cloog=/usr/local
> --with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC'
> CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native'
> -enable-libitm -disable-multilib : (reconfigured) ./configure
> --prefix=/afs/cern.ch/user/i/innocent/w2 -enable-gold=yes --enable-lto
> --with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64
> --with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64
> --enable-cloog-backend=isl --with-cloog=/usr/local
> --with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC'
> CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native'
> -enable-libitm -disable-multilib CC=gcc CXX=g++
> --enable-languages=c,c++,fortran,lto --no-create --no-recursion
> Thread model: posix
> gcc version 4.8.0 20120508 (experimental) [trunk revision 187276] (GCC)
>
> configured as above
>
> ad got
>
> ../.././gcc/multiversion.c:613: error: undefined reference to
> 'cgraph_add_to_same_comdat_group'
> collect2: ld returned 1 exit status
> make[3]: *** [lto1] Error 1
> make[3]: *** Waiting for unfinished jobs....
> ../.././gcc/multiversion.c:613: error: undefined reference to
> 'cgraph_add_to_same_comdat_group'
> collect2: ld returned 1 exit status
> make[3]: *** [cc1] Error 1
> ../.././gcc/multiversion.c:613: error: undefined reference to
> 'cgraph_add_to_same_comdat_group'
> collect2: ld returned 1 exit status
> make[3]: *** [cc1plus] Error 1
> rm gcov.pod cpp.pod gfdl.pod fsf-funding.pod gcc.pod
> make[3]: Leaving directory
> `/home/data/newsoft/gcc-trunk/host-x86_64-unknown-linux-gnu/gcc'
> make[2]: *** [all-stage1-gcc] Error 2
> make[2]: Leaving directory `/home/data/newsoft/gcc-trunk'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/data/newsoft/gcc-trunk'
> make: *** [all] Error 2
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.


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