Riyadh Baghdadi writes:
> To configure GCC, I use : ./configure --disable-bootstrap
> --prefix=GCC_PREFIX_FOLDER --disable-multilib --enable-languages=c,c++
> --enable-shared --enable-threads
Since you are using x86, add --with-arch=pentium4 or whatever is
appropriate for your target.
Ian
When compiling a transactional program, the compiler doesn't recognize
"__sync_add_and_fetch_8", it shows the following error message :
libitm.so: undefined reference to `__sync_add_and_fetch_8'
I suppose that this is an interinsic function and doesn't need a
linker, is it a bug ?
To configure G
Thank you,
There is one more "link" problem (for an intrinsic function) :
libitm.so: undefined reference to `__sync_add_and_fetch_8'
I found on the Net that there was a bug related to this on GCC 4.2,
the solution was to specify the architecture (-march=i686) at compile
time, but this doesn't sol
On 01/11/2010 04:09 AM, Riyadh Baghdadi wrote:
I found in the testsuit that you are also using "__transaction { }",
but when compiling the testsuite example, it says :
"undefined reference to `_ITM_beginTransaction'", is there any library
that should be used to link ?
libitm, as built in that t
Hi,
I'm doing some experiments on the STM implementation on GCC, but I
need some info since the documentation is still not available,
What is the syntax currently adopted in STM_GCC, martin told me that
the old syntax "#pragma atomic" is not used in the current
implementation and that possibly it