From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29794 invoked by alias); 14 Feb 2013 11:48:06 -0000 Received: (qmail 29565 invoked by uid 48); 14 Feb 2013 11:47:34 -0000 From: "szarpaj at grubelek dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris & Linux) Date: Thu, 14 Feb 2013 11:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libitm X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: szarpaj at grubelek dot pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-02/txt/msg01415.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 szarpaj at grubelek dot pl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |szarpaj at grubelek dot pl --- Comment #6 from szarpaj at grubelek dot pl 2013-02-14 11:47:31 UTC --- I think I got the same error. This is on Gentoo Linux (some parts of emerge --info below, maybe revelant). libtool: compile: /var/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/g++ -B/var/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/ -nostdinc++ -nostdinc++ -I/var/tmp/portag e/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v 3/include -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/libsupc++ -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/include/backward -I/v ar/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/testsuite/util -L/var/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/var/tmp /portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linu x-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm -I/var/tmp/portage/sys-devel/gcc-4 .7.1/work/gcc-4.7.1/libitm/config/linux/x86 -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/linux -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/lib itm/config/x86 -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/posix -I/var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/generic -I/var/tmp /portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm -Wall -pthread -Werror -mavx -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -fabi-version=4 -march=nocona -mno-sse3 -O2 -pipe -D_GNU_SOURCE -MT x86_avx.lo -MD -MP -MF .deps/x86_avx.Tpo -c /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc -fPIC -DPIC -o .libs/ x86_avx.o depbase=`echo printf/mul_1.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/ -B/usr/x86_64-p c-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/port age/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libquadmath -g -march=nocona -mno-sse3 -O2 -pipe -m32 -MT printf/mul_1.lo -MD -MP -MF $depbase.Tpo -c -o printf/mul_1.lo /var/tmp/p ortage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libquadmath/printf/mul_1.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: /var/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x 86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.7.1/work /gcc-4.7.1/libquadmath -g -march=nocona -mno-sse3 -O2 -pipe -m32 -MT printf/mul_1.lo -MD -MP -MF printf/.deps/mul_1.Tpo -c /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/ libquadmath/printf/mul_1.c -fPIC -DPIC -o printf/.libs/mul_1.o /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' does not name a type /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' does not name a type /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' does not name a type /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' does not name a type /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: variable or field '_ITM_WM256' declared void /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: 'ptr' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: variable or field '_ITM_WaRM256' declared void /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: 'ptr' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: variable or field '_ITM_WaWM256' declared void /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: 'ptr' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: '_ITM_TYPE_M256' was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:86:19: error: '_ITM_TYPE_M256' does not name a type /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:86:35: error: ISO C++ forbids declaration of 'ptr' with no type [-fpermissive] make[4]: *** [x86_avx.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... emerge --info: System uname: Linux-3.4.3-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.2 CFLAGS="-march=nocona -mno-sse3 -O2 -pipe"