search for: __sync_val_compare_and_swap_4

Displaying 15 results from an estimated 15 matches for "__sync_val_compare_and_swap_4".

2011 Jan 11
2
[LLVMdev] VMKit link
...all, I am trying to build VMKit on Linux/x86 and I got error messages like below, llvm[1]: Linking Debug+Asserts executable vmjc /root/llvm/vmkit/tools/vmjc/Debug+Asserts/vmjc.o: In function `mvm::SpinLock::acquire()': /root/llvm/vmkit/include/mvm/Threads/Locks.h:164: undefined reference to `__sync_val_compare_and_swap_4' /root/llvm/vmkit/include/mvm/Threads/Locks.h:168: undefined reference to `__sync_val_compare_and_swap_4' /root/llvm/vmkit/Debug+Asserts/lib/libJ3.a(JavaClass.o): In function `j3::Class::resolveClass()': /root/llvm/vmkit/lib/J3/VMCore/JavaClass.cpp:941: undefined reference to `__sync_va...
2009 Jun 30
3
[LLVMdev] build failure on ARM linux
...home/nlewycky/llvm/Debug/lib -o > /home/nlewycky/llvm/Debug/bin/llvmc > /home/nlewycky/llvm/tools/llvmc/driver/Debug/Main.o -lplugin_llvmc_Base > -lplugin_llvmc_Clang \ > > -lpthread -ldl -lm > > /usr/bin/ld: /home/nlewycky/llvm/Debug/bin/llvmc: hidden symbol > `__sync_val_compare_and_swap_4' in > /usr/lib/gcc/arm-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) is referenced > by DSO > > /usr/bin/ld: final link failed: Nonrepresentable section on output > > collect2: ld returned 1 exit status > > make[3]: *** [/home/nlewycky/llvm/Debug/bin/llvmc] Error 1 > &...
2009 Jun 30
0
[LLVMdev] build failure on ARM linux
Nick Lewycky wrote: > 2009/6/30 Andrew Haley <aph at redhat.com <mailto:aph at redhat.com>> > > Nick Lewycky wrote: > > I'm seeing this new build failure, starting some time yesterday on > ARM: > > Yes. It's just a matter of defining __sync_val_compare_and_swap_4: > > http://gcc.gnu.org/svn/gcc/trunk/gcc/config/arm/linux-atomic.c > > > The program is supposed to define it? LLVM doesn't directly call > __sync_val_compare_and_swap_4, so either the system headers #define > something else to it or gcc lowers another call to that....
2009 Jul 01
2
[LLVMdev] build failure on ARM linux
llvm/lib/System/Atomic.cpp contains the call to __sync_val_compare_and_swap that lowers to the missing __sync_val_compare_and_swap_4 GCC intrinsic. The same file contains several other __sync_* calls and all these has to be implemented if we want to be able to compile llvm on linux/ARM with GCC versions below < 4.4 xerxes at labbserver:~/llvm$ grep _sync lib/*/* lib/System/Atomic.cpp: __sync_synchronize(); lib/System/At...
2009 Jul 01
0
[LLVMdev] build failure on ARM linux
...inkability of these functions on the target arch, and should be detecting their absence if that is actually the case. --Owen On Jul 1, 2009, at 12:50 AM, Xerxes RĂ„nby wrote: > llvm/lib/System/Atomic.cpp contains the call to > __sync_val_compare_and_swap that lowers to the missing > __sync_val_compare_and_swap_4 GCC intrinsic. > > The same file contains several other __sync_* calls and all these has > to be implemented if we want to be able to compile llvm on linux/ARM > with GCC versions below < 4.4 > > xerxes at labbserver:~/llvm$ grep _sync lib/*/* > lib/System/Atomic.cpp: __sy...
2009 Jun 30
0
[LLVMdev] build failure on ARM linux
...e/nlewycky/llvm/Debug/lib -L/home/nlewycky/llvm/Debug/lib -o /home/nlewycky/llvm/Debug/bin/llvmc /home/nlewycky/llvm/tools/llvmc/driver/Debug/Main.o -lplugin_llvmc_Base -lplugin_llvmc_Clang \ > -lpthread -ldl -lm > /usr/bin/ld: /home/nlewycky/llvm/Debug/bin/llvmc: hidden symbol `__sync_val_compare_and_swap_4' in /usr/lib/gcc/arm-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) is referenced by DSO > /usr/bin/ld: final link failed: Nonrepresentable section on output > collect2: ld returned 1 exit status > make[3]: *** [/home/nlewycky/llvm/Debug/bin/llvmc] Error 1 > > This is with LLVM be...
2009 Jun 30
3
[LLVMdev] build failure on ARM linux
...namic -L/home/nlewycky/llvm/Debug/lib -L/home/nlewycky/llvm/Debug/lib -o /home/nlewycky/llvm/Debug/bin/llvmc /home/nlewycky/llvm/tools/llvmc/driver/Debug/Main.o -lplugin_llvmc_Base -lplugin_llvmc_Clang \ -lpthread -ldl -lm /usr/bin/ld: /home/nlewycky/llvm/Debug/bin/llvmc: hidden symbol `__sync_val_compare_and_swap_4' in /usr/lib/gcc/arm-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) is referenced by DSO /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[3]: *** [/home/nlewycky/llvm/Debug/bin/llvmc] Error 1 This is with LLVM being built by the system c...
2009 Jul 01
1
[LLVMdev] build failure on ARM linux
...;> 2009/6/30 Andrew Haley <aph at redhat.com <mailto:aph at redhat.com>> >> >> Nick Lewycky wrote: >> > I'm seeing this new build failure, starting some time yesterday on >> ARM: >> >> Yes. It's just a matter of defining __sync_val_compare_and_swap_4: >> >> http://gcc.gnu.org/svn/gcc/trunk/gcc/config/arm/linux-atomic.c >> >> >> The program is supposed to define it? LLVM doesn't directly call >> __sync_val_compare_and_swap_4, so either the system headers #define >> something else to it or gcc low...
2009 Nov 13
2
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
...9; > llvm[4]: Linking Release executable c-index-test (without symbols) > /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: > /home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm-obj/Release/bin/c-index-test: > hidden symbol `__sync_val_compare_and_swap_4' in > /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) > is referenced by DSO > /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: > final link failed: Nonrepresentable...
2009 Nov 13
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue
...ools/c-index-test' llvm[4]: Linking Release executable c-index-test (without symbols) /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: /home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm-obj/Release/bin/c-index-test: hidden symbol `__sync_val_compare_and_swap_4' in /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) is referenced by DSO /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output co...
2009 Nov 09
1
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue
Prasanth J skrev: > Hi, > > i am a newbie to llvm architecture. i have been trying to port llvm on > ARM target. i am using the following configuration for cross compiling > llvm. > > ../llvm/configure --host=arm-linux --target=arm-linux > --build=i686-linux --prefix=/opt/llvm-arm/ --enable-optimized > --disable-debug \ > --disable-expensive-checks --disable-doxygen
2009 Nov 14
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
...Release executable c-index-test (without symbols) > > > /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: > > > /home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm-obj/Release/bin/c-index-test: > > hidden symbol `__sync_val_compare_and_swap_4' in > > > /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) > > is referenced by DSO > > > /home/prasanth/arm-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: > > final...
2011 May 29
1
Where is the Centos Linux 5.5 kernel syscall handler for mmap? (Keith Roberts)
...ome/frankc/DQTTest5/libc_pic.os:/home/frankc/DQT1/glibc-2.9/nscd/nscd_gethst_r.c:400: more undefined references to `__sync_fetch_and_add_4' follow /home/frankc/DQTTest5/libc_pic.os: In function `__nscd_get_map_ref': /home/frankc/DQT1/glibc-2.9/nscd/nscd_helper.c:431: undefined reference to `__sync_val_compare_and_swap_4' /home/frankc/DQTTest5/libc_pic.os: In function `*__GI___libc_freeres': /home/frankc/DQT1/glibc-2.9/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status : In function `__nscd_drop_map_ref': /home/frankc/DQT1/glibc-2.9/n...
2009 Feb 05
0
[LLVMdev] Linking with OpenMP support
...function `gomp_team_end': (.text+0x48d): undefined reference to `__sync_bool_compare_and_swap_4' /afs/ cs.wisc.edu/p/vertical/tools/llvm-gcc-4.2/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../../../libgomp.a(mutex.o): In function `gomp_mutex_lock_slow': (.text+0x20): undefined reference to `__sync_val_compare_and_swap_4' /afs/ cs.wisc.edu/p/vertical/tools/llvm-gcc-4.2/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../../../libgomp.a(mutex.o): In function `gomp_mutex_lock_slow': (.text+0x4e): undefined reference to `__sync_bool_compare_and_swap_4' /afs/ cs.wisc.edu/p/vertical/tools/llvm-gcc-4.2/bin/../lib/gcc/i...
2009 Nov 09
2
[LLVMdev] Compilation error while cross compiling LLVM for ARM
Hi, i am a newbie to llvm architecture. i have been trying to port llvm on ARM target. i am using the following configuration for cross compiling llvm. ../llvm/configure --host=arm-linux --target=arm-linux --build=i686-linux --prefix=/opt/llvm-arm/ --enable-optimized --disable-debug \ --disable-expensive-checks --disable-doxygen \ --disable-threads --enable-targets=cbe,cpp,arm using this