search for: __cleanup_fct_attribute

Displaying 10 results from an estimated 10 matches for "__cleanup_fct_attribute".

2011 Sep 16
3
[LLVMdev] help with an error message using clang ?
...linux x86 computer for a Sparc machine. I used: clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc -pthreads -lm -emit-llvm test.c -c -o -test.bc The following error messages are produced: /usr/include/pthread.h:665:6: error: 'regparm' is not valid on this platform __cleanup_fct_attribute; ^~~~~~~~~~~~~~~~~~~~~~~ In file included from TEST.C:46: In file included from /usr/include/stdlib.h:320: In file included from /usr/include/sys/types.h:271: /usr/include/bits/pthreadtypes.h:222:50: note: instantiated from: # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1)))...
2011 Sep 16
0
[LLVMdev] help with an error message using clang ?
...gt; I used: > >  clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc -pthreads > -lm  -emit-llvm test.c -c -o -test.bc > > The following error messages are produced: > > /usr/include/pthread.h:665:6: error: 'regparm' is not valid on this platform >      __cleanup_fct_attribute; >      ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from TEST.C:46: > In file included from /usr/include/stdlib.h:320: > In file included from /usr/include/sys/types.h:271: > /usr/include/bits/pthreadtypes.h:222:50: note: instantiated from: > # define __cleanup_fct_attribute __attr...
2011 Sep 17
1
[LLVMdev] help with an error message using clang ?
...riple sparc-unknown-linux -ccc-clang-archs sparc > -pthreads > > -lm -emit-llvm test.c -c -o -test.bc > > > > The following error messages are produced: > > > > /usr/include/pthread.h:665:6: error: 'regparm' is not valid on this > platform > > __cleanup_fct_attribute; > > ^~~~~~~~~~~~~~~~~~~~~~~ > > In file included from TEST.C:46: > > In file included from /usr/include/stdlib.h:320: > > In file included from /usr/include/sys/types.h:271: > > /usr/include/bits/pthreadtypes.h:222:50: note: instantiated from: > > # define...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
.../CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o -c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c In file included from /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c:41: /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform __cleanup_fct_attribute; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/pthreadtypes-arch.h:103:50: note: expanded from macro '__cleanup_fct_attribute' # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) ^ ~ In file included from /home/...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ins-armhf.dir/emutls.c.o -c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c >> In file included from /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c:41: >> /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform >> __cleanup_fct_attribute; >> ^~~~~~~~~~~~~~~~~~~~~~~ >> /usr/include/bits/pthreadtypes-arch.h:103:50: note: expanded from macro '__cleanup_fct_attribute' >> # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) >> ^...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...s-armhf.dir/emutls.c.o -c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c > > In file included from /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c:41: > > /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform > > __cleanup_fct_attribute; > > ^~~~~~~~~~~~~~~~~~~~~~~ > > /usr/include/bits/pthreadtypes-arch.h:103:50: note: expanded from macro '__cleanup_fct_attribute' > > # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) > > ^...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...-c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c > >>> In file included from /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c:41: > >>> /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform > >>> __cleanup_fct_attribute; > >>> ^~~~~~~~~~~~~~~~~~~~~~~ > >>> /usr/include/bits/pthreadtypes-arch.h:103:50: note: expanded from macro '__cleanup_fct_attribute' > >>> # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) > >>>...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ang_rt.builtins-armhf.dir/emutls.c.o -c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c > In file included from /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c:41: > /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform > __cleanup_fct_attribute; > ^~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/bits/pthreadtypes-arch.h:103:50: note: expanded from macro '__cleanup_fct_attribute' > # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) > ^ ~ > In fi...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ang_rt.builtins-armhf.dir/emutls.c.o -c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c > In file included from /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/emutls.c:41: > /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform > __cleanup_fct_attribute; > ^~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/bits/pthreadtypes-arch.h:103:50: note: expanded from macro '__cleanup_fct_attribute' > # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) > ^ ~ > In fi...
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello, on the problems cross-building compiler-rt: Tried to follow https://llvm.org/docs/HowToCrossCompileBuiltinsOnArm.html which lead to this cmake: cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF