From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19759 invoked by alias); 8 Nov 2011 14:29:48 -0000 Received: (qmail 19748 invoked by uid 22791); 8 Nov 2011 14:29:44 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_AV X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Nov 2011 14:29:30 +0000 From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) Date: Tue, 08 Nov 2011 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincenzo.innocente at cern dot ch 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: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: 2011-11/txt/msg00781.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51031 Bug #: 51031 Summary: build error in libitm (how to disable trans-mem???) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: vincenzo.innocente@cern.ch latest update (for trans-mem I suppose) broke the trunk=E2=80=A6 (ps trans-mem need to be added to categories) /bin/sh ./libtool --tag=3DCXX --mode=3Dcompile /Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/g++ -B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/ -nostdinc++ -nostdinc++ -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/libsupc++ -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/include/backward -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/testsuite/util -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src/.libs -B/usr/local/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin11.2.0/include -isystem /usr/local/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I. -I../.././libitm -I../.././libitm/config/x86 -I../.././libitm/config/bsd -I../.././libitm/config/posix -I../.././libitm/config/generic -I../.././lib= itm=20 -std=3Dgnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -Werror=20 -Wc,-pthread -fabi-version=3D4 -g -msse4 -MT aatree.lo -MD -MP -MF .deps/aatree.Tpo -c -o aatree.lo ../.././libitm/aatree.cc libtool: compile:=20 /Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/g++ -B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/ -nostdinc++ -nostdinc++ -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/libsupc++ -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/include/backward -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/testsuite/util -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src/.libs -B/usr/local/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin11.2.0/include -isystem /usr/local/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I. -I../.././libitm -I../.././libitm/config/x86 -I../.././libitm/config/bsd -I../.././libitm/config/posix -I../.././libitm/config/generic -I../.././lib= itm -std=3Dgnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -We= rror -fabi-version=3D4 -g -msse4 -MT aatree.lo -MD -MP -MF .deps/aatree.Tpo -c ../.././libitm/aatree.cc -fno-common -DPIC -o .libs/aatree.o In file included from ../.././libitm/libitm_i.h:273:0, from ../.././libitm/aatree.cc:28: ../.././libitm/config/generic/tls.h: In function =E2=80=98GTM::gtm_thread* GTM::gtm_thr()=E2=80=99: ../.././libitm/config/generic/tls.h:52:60: error: cannot convert =E2=80=98GTM::gtm_thread**=E2=80=99 to =E2=80=98GTM::gtm_thread*=E2=80=99 i= n return make[4]: *** [aatree.lo] Error 1 fixed this as=20 svn diff libitm/config/generic/tls.h Index: libitm/config/generic/tls.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- libitm/config/generic/tls.h (revision 181161) +++ libitm/config/generic/tls.h (working copy) @@ -49,7 +49,7 @@ #ifndef HAVE_ARCH_GTM_THREAD // If the target does not provide optimized access to the thread-local // data, simply access the TLS variable defined above. -static inline gtm_thread *gtm_thr() { return &_gtm_thr_tls.thr; } +static inline gtm_thread *gtm_thr() { return _gtm_thr_tls.thr; } static inline void set_gtm_thr(gtm_thread *x) { _gtm_thr_tls.thr =3D x; } #endif I get /bin/sh ./libtool --tag=3DCXX --mode=3Dcompile /Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/g++ -B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/ -nostdinc++ -nostdinc++ -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/libsupc++ -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/include/backward -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/testsuite/util -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src/.libs -B/usr/local/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin11.2.0/include -isystem /usr/local/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I. -I../.././libitm -I../.././libitm/config/x86 -I../.././libitm/config/bsd -I../.././libitm/config/posix -I../.././libitm/config/generic -I../.././lib= itm=20 -std=3Dgnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -Werror=20 -Wc,-pthread -fabi-version=3D4 -g -msse4 -MT local.lo -MD -MP -MF .deps/loc= al.Tpo -c -o local.lo ../.././libitm/local.cc libtool: compile:=20 /Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/g++ -B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/ -nostdinc++ -nostdinc++ -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/libsupc++ -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/include/backward -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/testsuite/util -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src/.libs -B/usr/local/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin11.2.0/include -isystem /usr/local/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I. -I../.././libitm -I../.././libitm/config/x86 -I../.././libitm/config/bsd -I../.././libitm/config/posix -I../.././libitm/config/generic -I../.././lib= itm -std=3Dgnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -We= rror -fabi-version=3D4 -g -msse4 -MT local.lo -MD -MP -MF .deps/local.Tpo -c ../.././libitm/local.cc -fno-common -DPIC -o .libs/local.o ../.././libitm/local.cc:113:6: error: only weak aliases are supported in th= is configuration coming from this=20 113 void _ITM_LB (const void *ptr, size_t len) ITM_REGPARM 114 __attribute__((alias("GTM_LB"))); 115=20=20=20=20 and later on (doing make -k) I even get /libtool --tag=3DCXX --mode=3Dcompile /Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/g++ -B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/ -nostdinc++ -nostdinc++ -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/libsupc++ -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/include/backward -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/testsuite/util -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src/.libs -B/usr/local/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin11.2.0/include -isystem /usr/local/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I. -I../.././libitm -I../.././libitm/config/x86 -I../.././libitm/config/bsd -I../.././libitm/config/posix -I../.././libitm/config/generic -I../.././lib= itm=20 -std=3Dgnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -Werror=20 -Wc,-pthread -mavx -fabi-version=3D4 -g -msse4 -MT x86_avx.lo -MD -MP -MF .deps/x86_avx.Tpo -c -o x86_avx.lo ../.././libitm/config/x86/x86_avx.cc libtool: compile:=20 /Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/g++ -B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/ -nostdinc++ -nostdinc++ -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/include -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/libsupc++ -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/include/backward -I/Users/innocent/RealStuff/gcc-trunk/libstdc++-v3/testsuite/util -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v= 3/src/.libs -B/usr/local/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin11.2.0/include -isystem /usr/local/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I. -I../.././libitm -I../.././libitm/config/x86 -I../.././libitm/config/bsd -I../.././libitm/config/posix -I../.././libitm/config/generic -I../.././lib= itm -std=3Dgnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -We= rror -mavx -fabi-version=3D4 -g -msse4 -MT x86_avx.lo -MD -MP -MF .deps/x86_avx.= Tpo -c ../.././libitm/config/x86/x86_avx.cc -fno-common -DPIC -o .libs/x86_avx.o /var/folders/hd/vml6pgj48xjfkp006s6djxf80000gq/T//ccYpUzui.s:47:no such instruction: `vmovaps 48(%rsp), %ymm0' because it is well known that darwin11 as does not support AVX yet (please = fix config)