Duncan,
Is this expected for x86_64-apple-darwin12 under Xcode 5? Using current
llvm/compiler-rt/clang/polly/testsuite with dragonegg 3.4 branch, I see
the warnings...
% /sw/lib/gcc4.8/bin/gcc-4 -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so
-specs=/sw/lib/gcc4.8/lib/integrated-as.specs
-fplugin-arg-dragonegg-enable-gcc-optzns -Ofast himenoBMTxpa.c
himenoBMTxpa.c: In function ‘main’:
himenoBMTxpa.c:79:5: warning: incompatible implicit declaration of built-in
function ‘strcpy’ [enabled by default]
strcpy(size,argv[1]);
^
himenoBMTxpa.c: In function ‘set_param’:
himenoBMTxpa.c:226:5: warning: incompatible implicit declaration of built-in
function ‘exit’ [enabled by default]
exit(6);
^
himenoBMTxpa.c: In function ‘newMat’:
himenoBMTxpa.c:239:5: warning: incompatible implicit declaration of built-in
function ‘malloc’ [enabled by default]
malloc(mnums * mrows * mcols * mdeps * sizeof(float));
^
himenoBMTxpa.c: In function ‘clearMat’:
himenoBMTxpa.c:248:5: warning: incompatible implicit declaration of built-in
function ‘free’ [enabled by default]
free(Mat->m);
^
'-cmpxchg16b' is not a recognized feature for this target (ignoring
feature)
'-cmpxchg16b' is not a recognized feature for this target (ignoring
feature)
'-cmpxchg16b' is not a recognized feature for this target (ignoring
feature)
Are these warnings for...
'-cmpxchg16b' is not a recognized feature for this target (ignoring
feature)
expected? The resulting executable runs fine but I don't recall seeing this
warning before.
Jack
On Thu, Nov 21, 2013 at 07:37:46PM -0500, Jack Howarth wrote:> Duncan, > Is this expected for x86_64-apple-darwin12 under Xcode 5? Using current > llvm/compiler-rt/clang/polly/testsuite with dragonegg 3.4 branch, I see > the warnings... > > % /sw/lib/gcc4.8/bin/gcc-4 -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -specs=/sw/lib/gcc4.8/lib/integrated-as.specs -fplugin-arg-dragonegg-enable-gcc-optzns -Ofast himenoBMTxpa.c > himenoBMTxpa.c: In function ‘main’: > himenoBMTxpa.c:79:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default] > strcpy(size,argv[1]); > ^ > himenoBMTxpa.c: In function ‘set_param’: > himenoBMTxpa.c:226:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default] > exit(6); > ^ > himenoBMTxpa.c: In function ‘newMat’: > himenoBMTxpa.c:239:5: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] > malloc(mnums * mrows * mcols * mdeps * sizeof(float)); > ^ > himenoBMTxpa.c: In function ‘clearMat’: > himenoBMTxpa.c:248:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] > free(Mat->m); > ^ > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > > Are these warnings for... > > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > > expected? The resulting executable runs fine but I don't recall seeing this warning before.The cmpxchg16b feature was renamed to cx16 in LLVM. I've made the corresponding change to DragonEgg in r195404. Thanks, -- Peter
On Thu, Nov 21, 2013 at 05:53:46PM -0800, Peter Collingbourne wrote:> On Thu, Nov 21, 2013 at 07:37:46PM -0500, Jack Howarth wrote: > > Duncan, > > Is this expected for x86_64-apple-darwin12 under Xcode 5? Using current > > llvm/compiler-rt/clang/polly/testsuite with dragonegg 3.4 branch, I see > > the warnings... > > > > % /sw/lib/gcc4.8/bin/gcc-4 -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -specs=/sw/lib/gcc4.8/lib/integrated-as.specs -fplugin-arg-dragonegg-enable-gcc-optzns -Ofast himenoBMTxpa.c > > himenoBMTxpa.c: In function ‘main’: > > himenoBMTxpa.c:79:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default] > > strcpy(size,argv[1]); > > ^ > > himenoBMTxpa.c: In function ‘set_param’: > > himenoBMTxpa.c:226:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default] > > exit(6); > > ^ > > himenoBMTxpa.c: In function ‘newMat’: > > himenoBMTxpa.c:239:5: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] > > malloc(mnums * mrows * mcols * mdeps * sizeof(float)); > > ^ > > himenoBMTxpa.c: In function ‘clearMat’: > > himenoBMTxpa.c:248:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] > > free(Mat->m); > > ^ > > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > > > > Are these warnings for... > > > > '-cmpxchg16b' is not a recognized feature for this target (ignoring feature) > > > > expected? The resulting executable runs fine but I don't recall seeing this warning before. > > The cmpxchg16b feature was renamed to cx16 in LLVM. I've made the > corresponding change to DragonEgg in r195404.Peter, Please don't forget to also apply this change to the dragonegg 3.4 release branch as well. Thanks in advance. Jack> > Thanks, > -- > Peter
Maybe Matching Threads
- [LLVMdev] new dragonegg 3.4 warning on darwin12
- [LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
- [LLVMdev] dragonegg polly support broken?
- [LLVMdev] dragonegg polly support broken?
- [LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range