public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla@gcc.gnu.org> 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 [thread overview] Message-ID: <bug-51031-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031 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… (ps trans-mem need to be added to categories) /bin/sh ./libtool --tag=CXX --mode=compile /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++-v3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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++-v3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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../.././libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -Werror -Wc,-pthread -fabi-version=4 -g -msse4 -MT aatree.lo -MD -MP -MF .deps/aatree.Tpo -c -o aatree.lo ../.././libitm/aatree.cc libtool: compile: /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++-v3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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++-v3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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../.././libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -Werror -fabi-version=4 -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 ‘GTM::gtm_thread* GTM::gtm_thr()’: ../.././libitm/config/generic/tls.h:52:60: error: cannot convert ‘GTM::gtm_thread**’ to ‘GTM::gtm_thread*’ in return make[4]: *** [aatree.lo] Error 1 fixed this as svn diff libitm/config/generic/tls.h Index: libitm/config/generic/tls.h =================================================================== --- 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 = x; } #endif I get /bin/sh ./libtool --tag=CXX --mode=compile /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++-v3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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++-v3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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../.././libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -Werror -Wc,-pthread -fabi-version=4 -g -msse4 -MT local.lo -MD -MP -MF .deps/local.Tpo -c -o local.lo ../.././libitm/local.cc libtool: compile: /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++-v3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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++-v3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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../.././libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -Werror -fabi-version=4 -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 this configuration coming from this 113 void _ITM_LB (const void *ptr, size_t len) ITM_REGPARM 114 __attribute__((alias("GTM_LB"))); 115 and later on (doing make -k) I even get /libtool --tag=CXX --mode=compile /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++-v3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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++-v3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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../.././libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -Werror -Wc,-pthread -mavx -fabi-version=4 -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: /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++-v3/include/x86_64-apple-darwin11.2.0 -I/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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++-v3/src -L/Users/innocent/RealStuff/gcc-trunk/x86_64-apple-darwin11.2.0/libstdc++-v3/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../.././libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -Werror -mavx -fabi-version=4 -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)
next reply other threads:[~2011-11-08 14:29 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-11-08 14:52 vincenzo.innocente at cern dot ch [this message] 2011-11-08 14:57 ` [Bug bootstrap/51031] " dominiq at lps dot ens.fr 2011-11-09 8:58 ` vincenzo.innocente at cern dot ch 2011-11-09 11:48 ` fxcoudert at gcc dot gnu.org 2011-11-09 12:12 ` redi at gcc dot gnu.org 2011-11-09 12:38 ` torvald at gcc dot gnu.org 2011-11-09 13:43 ` vincenzo.innocente at cern dot ch 2011-11-09 13:55 ` dominiq at lps dot ens.fr 2011-11-09 17:03 ` howarth at nitro dot med.uc.edu 2011-11-09 21:38 ` howarth at nitro dot med.uc.edu 2011-11-09 21:45 ` howarth at nitro dot med.uc.edu 2011-11-10 0:38 ` howarth at nitro dot med.uc.edu 2011-11-10 1:49 ` kargl at gcc dot gnu.org 2011-11-10 2:28 ` rth at gcc dot gnu.org 2011-11-10 2:29 ` howarth at nitro dot med.uc.edu 2011-11-10 10:01 ` vincenzo.innocente at cern dot ch 2011-11-10 10:11 ` dominiq at lps dot ens.fr 2011-11-10 14:47 ` howarth at nitro dot med.uc.edu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-51031-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).