Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make abi-gcc fails on Mac OSX #1

Open
vschiavoni opened this issue Aug 8, 2014 · 0 comments
Open

make abi-gcc fails on Mac OSX #1

vschiavoni opened this issue Aug 8, 2014 · 0 comments

Comments

@vschiavoni
Copy link

Fails on Mac OSX 10.9.4.

CC version:

cc -v
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix

Error is the following:

make abi-gcc
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C abi gcc
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C gcc
cc -fPIC -I../../include -I../../src -DNDEBUG -U_FORTIFY_SOURCE -D_REENTRANT -I../../src/atomic_ops -DTM_GCC -I. -O2 -march=native -fno-strict-aliasing -fno-stack-protector -Wall -Wno-unused-function -Wno-unused-label -DDESIGN=WRITE_THROUGH -DCM=CM_SUICIDE -UEPOCH_GC -DTM_STATISTICS -UTM_STATISTICS2 -DIRREVOCABLE_ENABLED -UPTHREAD_WRAPPER -DTLS_COMPILER -UHYBRID_ASF -c -o abi.do ../abi.c
In file included from ../abi.c:36:
./libitm.h:132:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:135:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:138:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:141:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:147:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:151:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:154:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
./libitm.h:158:8: warning: unknown attribute 'transaction_pure' ignored [-Wattributes]
extern _ITM_TRANSACTION_PURE
       ^
./libitm.h:54:46: note: expanded from macro '_ITM_TRANSACTION_PURE'
#define _ITM_TRANSACTION_PURE __attribute__((transaction_pure))
                                             ^
In file included from ../abi.c:61:
In file included from ../../src/stm.c:35:
../../src/stm_internal.h:1355:10: warning: incompatible pointer types returning 'jmp_buf *' (aka 'int (*)[37]') from a function with result type 'sigjmp_buf *' (aka 'int (*)[38]')
      [-Wincompatible-pointer-types]
  return &tx->env;
         ^~~~~~~~
../../src/stm_internal.h:1523:10: warning: incompatible pointer types returning 'jmp_buf *' (aka 'int (*)[37]') from a function with result type 'sigjmp_buf *' (aka 'int (*)[38]')
      [-Wincompatible-pointer-types]
  return tx->nesting == 0 ? &tx->env : NULL;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
cc -I../../include -I../../src -DNDEBUG -U_FORTIFY_SOURCE -D_REENTRANT -I../../src/atomic_ops -DTM_GCC -I. -O2 -march=native -fno-strict-aliasing -fno-stack-protector -Wall -Wno-unused-function -Wno-unused-label -DDESIGN=WRITE_THROUGH -DCM=CM_SUICIDE -UEPOCH_GC -DTM_STATISTICS -UTM_STATISTICS2 -DIRREVOCABLE_ENABLED -UPTHREAD_WRAPPER -DTLS_COMPILER -UHYBRID_ASF -c -o arch.o arch.S
arch.S:4:3: error: This file is linux specific.
# error This file is linux specific.
  ^
1 error generated.
make[2]: *** [arch.o] Error 1
make[1]: *** [gcc] Error 2
make: *** [abi-gcc] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant