public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???)
@ 2011-11-08 14:52 vincenzo.innocente at cern dot ch
2011-11-08 14:57 ` [Bug bootstrap/51031] " dominiq at lps dot ens.fr
` (16 more replies)
0 siblings, 17 replies; 18+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-11-08 14:52 UTC (permalink / raw)
To: gcc-bugs
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)
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
@ 2011-11-08 14:57 ` dominiq at lps dot ens.fr
2011-11-09 8:58 ` vincenzo.innocente at cern dot ch
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-11-08 14:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-08
Ever Confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-08 14:52:35 UTC ---
Confirmed on x86_64-apple-darwin10 (I did not check the third failure, but I
got the second with the fix for the first one).
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
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
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-11-09 8:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
vincenzo Innocente <vincenzo.innocente at cern dot ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |i686-apple-darwin11
Host| |host-x86_64-apple-darwin11.
| |2.0
--- Comment #2 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-11-09 08:48:52 UTC ---
progressing
now build stop at
make[4]: Nothing to be done for `all'.
/bin/sh ./libtool --mode=compile
/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/xgcc
-B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/
-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/posix
-I../.././libitm/config/generic -I../.././libitm -Wall -Werror -Wc,-pthread
-g -O2 -MT sjlj.lo -MD -MP -MF .deps/sjlj.Tpo -c -o sjlj.lo
../.././libitm/config/x86/sjlj.S
libtool: compile:
/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/xgcc
-B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/
-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/posix
-I../.././libitm/config/generic -I../.././libitm -Wall -pthread -Werror -g -O2
-MT sjlj.lo -MD -MP -MF .deps/sjlj.Tpo -c ../.././libitm/config/x86/sjlj.S
-fno-common -DPIC -o .libs/sjlj.o
../.././libitm/config/x86/sjlj.S:28:Unknown pseudo-op: .type
../.././libitm/config/x86/sjlj.S:28:Rest of line ignored. 1st junk character
valued 95 (_).
../.././libitm/config/x86/sjlj.S:31:Unknown pseudo-op: .cfi_startproc
../.././libitm/config/x86/sjlj.S:36:Unknown pseudo-op: .cfi_def_cfa_offset
../.././libitm/config/x86/sjlj.S:36:Rest of line ignored. 1st junk character
valued 56 (8).
../.././libitm/config/x86/sjlj.S:48:Unknown pseudo-op: .cfi_def_cfa_offset
../.././libitm/config/x86/sjlj.S:48:Rest of line ignored. 1st junk character
valued 56 (8).
../.././libitm/config/x86/sjlj.S:65:Unknown pseudo-op: .cfi_endproc
../.././libitm/config/x86/sjlj.S:66:Unknown pseudo-op: .size
../.././libitm/config/x86/sjlj.S:66:Rest of line ignored. 1st junk character
valued 95 (_).
../.././libitm/config/x86/sjlj.S:70:Unknown pseudo-op: .type
../.././libitm/config/x86/sjlj.S:70:Rest of line ignored. 1st junk character
valued 71 (G).
../.././libitm/config/x86/sjlj.S:71:Unknown pseudo-op: .hidden
../.././libitm/config/x86/sjlj.S:71:Rest of line ignored. 1st junk character
valued 71 (G).
../.././libitm/config/x86/sjlj.S:74:Unknown pseudo-op: .cfi_startproc
../.././libitm/config/x86/sjlj.S:85:Unknown pseudo-op: .cfi_def_cfa
../.././libitm/config/x86/sjlj.S:85:Rest of line ignored. 1st junk character
valued 37 (%).
../.././libitm/config/x86/sjlj.S:86:Unknown pseudo-op: .cfi_register
../.././libitm/config/x86/sjlj.S:86:Rest of line ignored. 1st junk character
valued 37 (%).
../.././libitm/config/x86/sjlj.S:102:Unknown pseudo-op: .cfi_endproc
../.././libitm/config/x86/sjlj.S:103:Unknown pseudo-op: .size
../.././libitm/config/x86/sjlj.S:103:Rest of line ignored. 1st junk character
valued 71 (G).
../.././libitm/config/x86/sjlj.S:105:unknown section type: @progbits
make[4]: *** [sjlj.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libitm] Error 2
make: *** [all] Error 2
I configure with
./configure --enable-languages=c,c++,fortran --disable-multilib
--disable-bootstrap --enable-lto
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
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
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-09 11:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot
| |gnu.org
--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-09 11:22:14 UTC ---
*** Bug 51053 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (2 preceding siblings ...)
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
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2011-11-09 12:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dave@boost-consulting.com
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-09 12:04:35 UTC ---
*** Bug 51054 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (3 preceding siblings ...)
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
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: torvald at gcc dot gnu.org @ 2011-11-09 12:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #5 from torvald at gcc dot gnu.org 2011-11-09 12:28:28 UTC ---
The weak alias issue has been resolved in rev 181182. The TLS thingy in 181163.
Regarding the vector loads/stores and your assembler not knowing about .cfi, I
don't know. Perhaps we just disable TM on Darwin, or can you provide a patch?
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (4 preceding siblings ...)
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
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-11-09 13:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #6 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-11-09 13:32:52 UTC ---
For what concern AVX:
I'm not sure what done elsewhere in gcc
I think that configure should check that the "as" supports avx independently of
the architecture one is building on or for.
For the other error, I'm not an expert.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (5 preceding siblings ...)
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
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-11-09 13:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-09 13:49:18 UTC ---
> I think that configure should check that the "as" supports avx independently of
> the architecture one is building on or for.
I don't think the failure in comment #2 has anything to do with avx: it is due
to pseudo-op (elf ones according rth on IRC) and I see it on x86_64-darwin10 as
well (AFAIK gcc is tune for Core2).
Note that I am now bootstrapping with
--- /opt/gcc/_clean/libitm/configure.tgt 2011-11-08 20:06:30.000000000 +0100
+++ /opt/gcc/work/libitm/configure.tgt 2011-11-09 00:42:05.000000000 +0100
@@ -94,6 +94,7 @@ case "${target}" in
| *-*-netbsd* | *-*-freebsd* | *-*-openbsd* \
| *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11* \
| *-*-darwin* | *-*-aix*)
+ UNSUPPORTED=1
# POSIX system. The OS is supported.
;;
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (6 preceding siblings ...)
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
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-09 17:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
Jack Howarth <howarth at nitro dot med.uc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |howarth at nitro dot
| |med.uc.edu
--- Comment #8 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-09 16:49:28 UTC ---
(In reply to comment #2)
Isn't this error in sjlj.S due to the absence of a .text opcode?
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (7 preceding siblings ...)
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
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-09 21:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #9 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-09 21:22:17 UTC ---
The build failure on x86_64-apple-darwin11 has moved to...
libtool: compile: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/g++
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/ -nostdinc++ -nostdinc++
-I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/include/x86_64-apple-darwin11.2.0
-I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/testsuite/util
-L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/src
-L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/ -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc-4.7-20111109/libitm
-I../../../gcc-4.7-20111109/libitm/config/x86
-I../../../gcc-4.7-20111109/libitm/config/posix
-I../../../gcc-4.7-20111109/libitm/config/generic
-I../../../gcc-4.7-20111109/libitm -std=gnu++0x -funwind-tables -fno-exceptions
-fno-rtti -Wall -pthread -Werror -msse -fabi-version=4 -g -O2 -MT x86_sse.lo
-MD -MP -MF .deps/x86_sse.Tpo -c
../../../gcc-4.7-20111109/libitm/config/x86/x86_sse.cc -fno-common -DPIC -o
.libs/x86_sse.o
/var/tmp//ccwqWOLd.s:3:Unknown pseudo-op: .pushsection
/var/tmp//ccwqWOLd.s:3:Rest of line ignored. 1st junk character valued 46 (.).
/var/tmp//ccwqWOLd.s:6:Unknown pseudo-op: .hidden
/var/tmp//ccwqWOLd.s:6:Rest of line ignored. 1st junk character valued 71 (G).
/var/tmp//ccwqWOLd.s:7:Unknown pseudo-op: .type
/var/tmp//ccwqWOLd.s:7:Rest of line ignored. 1st junk character valued 71 (G).
/var/tmp//ccwqWOLd.s:84:Unknown pseudo-op: .size
/var/tmp//ccwqWOLd.s:84:Rest of line ignored. 1st junk character valued 71 (G).
/var/tmp//ccwqWOLd.s:85:Unknown pseudo-op: .popsection
make[2]: *** [x86_sse.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
in libitm. Is...
asm(".pushsection .text\n\
in libitm/config/x86/x86_sse.cc correct? Isn't .pushsection ELF-specific?
http://sourceware.org/binutils/docs/as/PushSection.html
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (8 preceding siblings ...)
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
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-09 21:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #10 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-09 21:26:40 UTC ---
Looking at llvm, when pushsection and popsection support was added, it is only
part of the ELFAsmParser...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110214/116525.html
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (9 preceding siblings ...)
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
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-10 0:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #11 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-10 00:30:08 UTC ---
At r181241, x86_64-apple-darwin11, bootstrap now fails at...
libtool: compile: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/g++
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/ -nostdinc++ -nostdinc++
-I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/include/x86_64-apple-darwin11.2.0
-I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/testsuite/util
-L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/src
-L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/ -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc-4.7-20111109/libitm
-I../../../gcc-4.7-20111109/libitm/config/x86
-I../../../gcc-4.7-20111109/libitm/config/posix
-I../../../gcc-4.7-20111109/libitm/config/generic
-I../../../gcc-4.7-20111109/libitm -std=gnu++0x -funwind-tables -fno-exceptions
-fno-rtti -Wall -pthread -Werror -mavx -fabi-version=4 -g -O2 -MT x86_avx.lo
-MD -MP -MF .deps/x86_avx.Tpo -c
../../../gcc-4.7-20111109/libitm/config/x86/x86_avx.cc -fno-common -DPIC -o
.libs/x86_avx.o
/var/tmp//ccBoRKx4.s:44:no such instruction: `vmovaps 16(%rsp), %ymm0'
/var/tmp//ccBoRKx4.s:92:no such instruction: `vmovaps 16(%rsp), %ymm0'
/var/tmp//ccBoRKx4.s:140:no such instruction: `vmovaps 16(%rsp), %ymm0'
/var/tmp//ccBoRKx4.s:188:no such instruction: `vmovaps 16(%rsp), %ymm0'
/var/tmp//ccBoRKx4.s:215:no such instruction: `vmovaps %ymm0, 32(%rsp)'
/var/tmp//ccBoRKx4.s:217:no such instruction: `vzeroupper'
/var/tmp//ccBoRKx4.s:263:no such instruction: `vmovaps %ymm0, 32(%rsp)'
/var/tmp//ccBoRKx4.s:265:no such instruction: `vzeroupper'
/var/tmp//ccBoRKx4.s:311:no such instruction: `vmovaps %ymm0, 32(%rsp)'
/var/tmp//ccBoRKx4.s:313:no such instruction: `vzeroupper'
make[2]: *** [x86_avx.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (10 preceding siblings ...)
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
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-11-10 1:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #12 from kargl at gcc dot gnu.org 2011-11-10 00:35:29 UTC ---
(In reply to comment #11)
> At r181241, x86_64-apple-darwin11, bootstrap now fails at...
>
>
> libtool: compile: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/g++
> -B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/ -nostdinc++ -nostdinc++
> -I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/include/x86_64-apple-darwin11.2.0
> -I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/include
> -I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/libsupc++
> -I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/include/backward
> -I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111109/libstdc++-v3/testsuite/util
> -L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/src
> -L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/src/.libs
> -B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/
> -B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/ -isystem
> /sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include -isystem
> /sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include -DHAVE_CONFIG_H -I.
> -I../../../gcc-4.7-20111109/libitm
> -I../../../gcc-4.7-20111109/libitm/config/x86
> -I../../../gcc-4.7-20111109/libitm/config/posix
> -I../../../gcc-4.7-20111109/libitm/config/generic
> -I../../../gcc-4.7-20111109/libitm -std=gnu++0x -funwind-tables -fno-exceptions
> -fno-rtti -Wall -pthread -Werror -mavx -fabi-version=4 -g -O2 -MT x86_avx.lo
> -MD -MP -MF .deps/x86_avx.Tpo -c
> ../../../gcc-4.7-20111109/libitm/config/x86/x86_avx.cc -fno-common -DPIC -o
> .libs/x86_avx.o
> /var/tmp//ccBoRKx4.s:44:no such instruction: `vmovaps 16(%rsp), %ymm0'
> /var/tmp//ccBoRKx4.s:92:no such instruction: `vmovaps 16(%rsp), %ymm0'
> /var/tmp//ccBoRKx4.s:140:no such instruction: `vmovaps 16(%rsp), %ymm0'
> /var/tmp//ccBoRKx4.s:188:no such instruction: `vmovaps 16(%rsp), %ymm0'
> /var/tmp//ccBoRKx4.s:215:no such instruction: `vmovaps %ymm0, 32(%rsp)'
> /var/tmp//ccBoRKx4.s:217:no such instruction: `vzeroupper'
> /var/tmp//ccBoRKx4.s:263:no such instruction: `vmovaps %ymm0, 32(%rsp)'
> /var/tmp//ccBoRKx4.s:265:no such instruction: `vzeroupper'
> /var/tmp//ccBoRKx4.s:311:no such instruction: `vmovaps %ymm0, 32(%rsp)'
> /var/tmp//ccBoRKx4.s:313:no such instruction: `vzeroupper'
> make[2]: *** [x86_avx.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
me too. :(
Doing a full bootstrap on i686-*-freebsd ends at the same error.
Using --disable-bootstrap and a simple gmake ends with libitm
using the system C++ instead to the newly built C++ compiler?
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (11 preceding siblings ...)
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
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rth at gcc dot gnu.org @ 2011-11-10 2:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #13 from Richard Henderson <rth at gcc dot gnu.org> 2011-11-10 00:36:05 UTC ---
Should be fixed as of r181246
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (12 preceding siblings ...)
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
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-10 2:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #14 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-10 01:47:30 UTC ---
Build on x86_64-apple-darwin11 now fails at...
/bin/sh ./libtool --tag=CC --mode=link
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/ -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include -Wall -Werror
-Wc,-pthread -g -O2 -pthread -o libitm.la -rpath /sw/lib/gcc4.7/lib
aatree.lo alloc.lo alloc_c.lo alloc_cpp.lo barrier.lo beginend.lo clone.lo
eh_cpp.lo local.lo query.lo retry.lo rwlock.lo useraction.lo util.lo sjlj.lo
tls.lo method-serial.lo method-gl.lo x86_sse.lo x86_avx.lo
libtool: link: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/ -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include -dynamiclib
-Wl,-undefined -Wl,dynamic_lookup -o .libs/libitm.0.dylib .libs/aatree.o
.libs/alloc.o .libs/alloc_c.o .libs/alloc_cpp.o .libs/barrier.o
.libs/beginend.o .libs/clone.o .libs/eh_cpp.o .libs/local.o .libs/query.o
.libs/retry.o .libs/rwlock.o .libs/useraction.o .libs/util.o .libs/sjlj.o
.libs/tls.o .libs/method-serial.o .libs/method-gl.o .libs/x86_sse.o
.libs/x86_avx.o -pthread -pthread -pthread -install_name
/sw/lib/gcc4.7/lib/libitm.0.dylib -compatibility_version 1 -current_version 1.0
-Wl,-single_module
collect2: error: ld terminated with signal 11 [Segmentation fault: 11]
which appears as...
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/ -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include -isystem
/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include -dynamiclib
-Wl,-undefined -Wl,dynamic_lookup -o .libs/libitm.0.dylib .libs/aatree.o
.libs/alloc.o .libs/alloc_c.o .libs/alloc_cpp.o .libs/barrier.o
.libs/beginend.o .libs/clone.o .libs/eh_cpp.o .libs/local.o .libs/query.o
.libs/retry.o .libs/rwlock.o .libs/useraction.o .libs/util.o .libs/sjlj.o
.libs/tls.o .libs/method-serial.o .libs/method-gl.o .libs/x86_sse.o
.libs/x86_avx.o -pthread -pthread -pthread -install_name
/sw/lib/gcc4.7/lib/libitm.0.dylib -compatibility_version 1 -current_version 1.0
-Wl,-single_module -v
Reading specs from /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/specs
COLLECT_GCC=/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc
COLLECT_LTO_WRAPPER=/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/lto-wrapper
Target: x86_64-apple-darwin11.2.0
Configured with: ../gcc-4.7-20111109/configure --prefix=/sw
--prefix=/sw/lib/gcc4.7 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.7/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.7 --enable-checking=yes --enable-cloog-backend=isl
Thread model: posix
gcc version 4.7.0 20111110 (experimental) (GCC)
COMPILER_PATH=/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/
LIBRARY_PATH=/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/:/usr/lib/
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.7.2' '-B'
'/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/' '-B'
'/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/bin/' '-B'
'/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/lib/' '-isystem'
'/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/include' '-isystem'
'/sw/lib/gcc4.7/x86_64-apple-darwin11.2.0/sys-include' '-Zdynamiclib' '-o'
'.libs/libitm.0.dylib' '-pthread' '-pthread' '-pthread' '-Zinstall_name'
'/sw/lib/gcc4.7/lib/libitm.0.dylib' '-compatibility_version' '1'
'-current_version' '1.0' '-v' '-mtune=core2'
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/collect2 -dynamic -dylib
-dylib_compatibility_version 1 -dylib_current_version 1.0 -arch x86_64
-dylib_install_name /sw/lib/gcc4.7/lib/libitm.0.dylib -macosx_version_min
10.7.2 -weak_reference_mismatches non-weak -o .libs/libitm.0.dylib
-ldylib1.10.5.o -L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc
-undefined dynamic_lookup .libs/aatree.o .libs/alloc.o .libs/alloc_c.o
.libs/alloc_cpp.o .libs/barrier.o .libs/beginend.o .libs/clone.o .libs/eh_cpp.o
.libs/local.o .libs/query.o .libs/retry.o .libs/rwlock.o .libs/useraction.o
.libs/util.o .libs/sjlj.o .libs/tls.o .libs/method-serial.o .libs/method-gl.o
.libs/x86_sse.o .libs/x86_avx.o -single_module -no_compact_unwind -lSystem
-lgcc_ext.10.5 -lgcc -lSystem -v
collect2 version 4.7.0 20111110 (experimental)
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/collect-ld -dynamic -dylib
-dylib_compatibility_version 1 -dylib_current_version 1.0 -arch x86_64
-dylib_install_name /sw/lib/gcc4.7/lib/libitm.0.dylib -macosx_version_min
10.7.2 -weak_reference_mismatches non-weak -o .libs/libitm.0.dylib
-ldylib1.10.5.o -L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc
-undefined dynamic_lookup .libs/aatree.o .libs/alloc.o .libs/alloc_c.o
.libs/alloc_cpp.o .libs/barrier.o .libs/beginend.o .libs/clone.o .libs/eh_cpp.o
.libs/local.o .libs/query.o .libs/retry.o .libs/rwlock.o .libs/useraction.o
.libs/util.o .libs/sjlj.o .libs/tls.o .libs/method-serial.o .libs/method-gl.o
.libs/x86_sse.o .libs/x86_avx.o -single_module -no_compact_unwind -lSystem
-lgcc_ext.10.5 -lgcc -lSystem -v
collect2: error: ld terminated with signal 11 [Segmentation fault: 11]
@(#)PROGRAM:ld PROJECT:ld64-127.2
Library search paths:
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
which when executed under gdb shows ld crashing at...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008
0x0000000100092eb7 in ld::tool::OutputFile::noteTextReloc ()
(gdb) bt
#0 0x0000000100092eb7 in ld::tool::OutputFile::noteTextReloc ()
#1 0x00000001000921b5 in ld::tool::OutputFile::addDyldInfo ()
#2 0x000000010008b35e in ld::tool::OutputFile::generateLinkEditInfo ()
#3 0x0000000100084d38 in ld::tool::OutputFile::write ()
#4 0x000000010001159b in main ()
Oddly this seems to happen for any combination of object files in this linkage.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (13 preceding siblings ...)
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
16 siblings, 0 replies; 18+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-11-10 10:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #15 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-11-10 09:35:53 UTC ---
this morning segfault in ld!
svn update
At revision 181250.
./configure --enable-languages=c,c++,fortran --disable-multilib
--disable-bootstrap --enable-lto
I get
Making all in testsuite
make[4]: Nothing to be done for `all'.
/bin/sh ./libtool --tag=CC --mode=link
/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/xgcc
-B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/
-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 -Wall -Werror -Wc,-pthread
-g -O2 -o libitm.la -rpath /usr/local/lib aatree.lo alloc.lo alloc_c.lo
alloc_cpp.lo barrier.lo beginend.lo clone.lo eh_cpp.lo local.lo query.lo
retry.lo rwlock.lo useraction.lo util.lo sjlj.lo tls.lo method-serial.lo
method-gl.lo x86_sse.lo x86_avx.lo
libtool: link:
/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/xgcc
-B/Users/innocent/RealStuff/gcc-trunk/host-x86_64-apple-darwin11.2.0/gcc/
-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 -dynamiclib -Wl,-undefined
-Wl,dynamic_lookup -o .libs/libitm.0.dylib .libs/aatree.o .libs/alloc.o
.libs/alloc_c.o .libs/alloc_cpp.o .libs/barrier.o .libs/beginend.o
.libs/clone.o .libs/eh_cpp.o .libs/local.o .libs/query.o .libs/retry.o
.libs/rwlock.o .libs/useraction.o .libs/util.o .libs/sjlj.o .libs/tls.o
.libs/method-serial.o .libs/method-gl.o .libs/x86_sse.o .libs/x86_avx.o
-pthread -install_name /usr/local/lib/libitm.0.dylib -compatibility_version
1 -current_version 1.0 -Wl,-single_module
collect2: error: ld terminated with signal 11 [Segmentation fault: 11]
make[4]: *** [libitm.la] Error 1
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (14 preceding siblings ...)
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
16 siblings, 0 replies; 18+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-11-10 10:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-10 09:51:03 UTC ---
On x86_64-apple-darwin10 at revision 181249, the link error is
ld: codegen problem, can't use rel32 to external symbol
___emutls_v._ZN3GTM12_gtm_thr_tlsE in __ITM_malloc from .libs/alloc_c.o
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug bootstrap/51031] build error in libitm (how to disable trans-mem???)
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
` (15 preceding siblings ...)
2011-11-10 10:11 ` dominiq at lps dot ens.fr
@ 2011-11-10 14:47 ` howarth at nitro dot med.uc.edu
16 siblings, 0 replies; 18+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-10 14:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51031
--- Comment #17 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-10 14:39:22 UTC ---
(In reply to comment #16)
> On x86_64-apple-darwin10 at revision 181249, the link error is
>
>
> ld: codegen problem, can't use rel32 to external symbol
> ___emutls_v._ZN3GTM12_gtm_thr_tlsE in __ITM_malloc from .libs/alloc_c.o
This resembles the failure we saw in PR44146. While there isn't a specific
change mentioned there that fixed it, the comment at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146#c21 as it suggests that
darwin's PIC default may be the origin of the problem.
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2011-11-10 14:40 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 14:52 [Bug bootstrap/51031] New: build error in libitm (how to disable trans-mem???) vincenzo.innocente at cern dot ch
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
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).