search for: lgmp

Displaying 20 results from an estimated 33 matches for "lgmp".

Did you mean: lamp
2008 Jun 18
4
[LLVMdev] Ответ: using dynamic libraries from bytecode?
...dio.h> #include <gmp.h> static void check_ui_range (void) { mpz_t x; mpz_init_set_ui (x, 111111L); mpz_mul_2exp (x, x, 1L); mpz_clear (x); } int main() { check_ui_range(); printf("All works!\n"); return 0; } $ llvm-gcc.exe -I/mingw/include gcd_ui.c -L/mingw/lib -lgmp -o gcd_ui.exe $ ./gcd_ui.exe All works! $ llvm-gcc.exe -I/mingw/include gcd_ui.c -L/mingw/lib -lgmp -o gcd_ui.ll -emit-llvm -S llvm-gcc.exe: -lgmp: linker input file unused because linking not done How determine library for `-emit-llvm` option? Next: $ cat gcd_ui.ll ; ModuleID = 'gcd_ui.c&...
2011 Nov 15
1
[LLVMdev] Pass options to the linker
.... >> LIBRARYNAME=MyAnalysis >> LOADABLE_MODULE=1 >> SHARED_LIBRARY=1 >> include $(LEVEL)/Makefile.common >> >> # These two lines are new: >> CXX.Flags += -I/home/jorge/include -fexceptions -Wno-variadic-macros >> LD.Flags += -L/home/jorge/lib -lppl -lgmp >> Ciao, Duncan. >> >> > >> > Let me explain how I get to this point. >> > >> > To make simpler my explanation I took the "Hello World" pass provided >> > in the directory llvm/lib/Transforms/Hello/Hello.cpp. >> > >&...
2011 Nov 15
2
[LLVMdev] Pass options to the linker
...as follows: > LEVEL=../../../.. > LIBRARYNAME=MyAnalysis > LOADABLE_MODULE=1 > SHARED_LIBRARY=1 > include $(LEVEL)/Makefile.common > # These two lines are new: > CXX.Flags += -I/home/jorge/include -fexceptions -Wno-variadic-macros > LD.Flags += -L/home/jorge/lib -lppl -lgmp Then, it's when I get the above error: > Error opening > '/home/jorge/SvnReps/Systems/llvm/build/Debug+Asserts/lib/MyAnalysis.so': > /home/jorge/SvnReps/Systems/llvm/build/Debug+Asserts/lib/MyAnalysis.so: >undefined symbol: _ZNK23Parma_Polyhedra_Library13PIP_Tree_Node2OK...
2008 Jun 18
0
[LLVMdev] Ответ: using dynamic libraries from bytecode?
On Jun 18, 2008, at 12:27 PM, Yaroslav Kavenchuk wrote: > $ llvm-gcc.exe -I/mingw/include gcd_ui.c -L/mingw/lib -lgmp -o > gcd_ui.ll -emit-llvm -S Use > $ llvm-as gcd_ui.ll -o gcd_ui.bc Use llc gcd_ui.bc and then llvm-gcc.exe gcd_ui.s -L/mingw/lib -lgmp?
2011 Nov 15
0
[LLVMdev] Pass options to the linker
.../../.. >> LIBRARYNAME=MyAnalysis >> LOADABLE_MODULE=1 >> SHARED_LIBRARY=1 >> include $(LEVEL)/Makefile.common > >> # These two lines are new: >> CXX.Flags += -I/home/jorge/include -fexceptions -Wno-variadic-macros >> LD.Flags += -L/home/jorge/lib -lppl -lgmp > > Then, it's when I get the above error: > >> Error opening >> '/home/jorge/SvnReps/Systems/llvm/build/Debug+Asserts/lib/MyAnalysis.so': >> /home/jorge/SvnReps/Systems/llvm/build/Debug+Asserts/lib/MyAnalysis.so: > >undefined symbol: _ZNK23Parma_Polyh...
2006 Jun 14
2
package compile error on RHEL x86_64
...e same problem with other packages (eg. MCMCpack) as well. I am running Red Hat Enterprise Linux 4.1. I get the following error: g++ -shared -L/usr/local/lib64 -o gmp.so biginteger.o biginteger_operator.o bigintegerR.o bigrational.o bigrational_operator.o bigrationalR.o factor.o -L/usr/local/lib/ -lgmp /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `std::bad_exception::~bad_exception()' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libstdc++.a: could not read symbols: Bad...
2008 Jun 18
0
[LLVMdev] using dynamic libraries from bytecode?
On Jun 18, 2008, at 6:48 AM, Yaroslav Kavenchuk wrote: > Is it possible to use dynamic library (*.so *.dll) from bytecode? > If "yes" - how? dlopen? That's be one way. Also, most systems have shared libraries in /usr/lib and these routines are meant to be linked against and used. For example, on darwin, there sinf is resolved from a shared library, you declare it and
2008 Jun 18
2
[LLVMdev] using dynamic libraries from bytecode?
Is it possible to use dynamic library (*.so *.dll) from bytecode? If "yes" - how? -- WBR, Yaroslav Kavenchuk.
2014 Apr 23
3
error al instalar paquete
...#39;application/x-gzip' length 328199 bytes (320 Kb) URL abierta ================================================== downloaded 320 Kb * installing *source* package ‘gmp’ ... ** package ‘gmp’ successfully unpacked and MD5 sums checked creating cache ./config.cache checking for __gmpz_ui_sub in -lgmp... no configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org ERROR: configuration failed for package ‘gmp’ * removing ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/gmp’ Warning in install.packages : installation of package ‘gmp’ had non-zero exit status ERROR: dependenc...
2016 Apr 04
2
RFC: Constant folding math functions for long double
...the implications of the license MPFR is under, and at the moment I'm sticking my head in the sand until and unless we want to go down this path. My expectation is that we would use their exposed API - so we'd #include <mpfr.h> and use functions from there, linking against -lmpfr and -lgmp. I admit that this option would indeed add another dimension to the testing matrix. Do you have an alternative solution or a preferred solution of those I enumerated earlier? Cheers, James On Mon, 4 Apr 2016 at 15:24 Neil Henning <llvm at duskborn.com> wrote: > Hey James, > > I...
2010 Oct 16
1
Rmpfr question
...0000000000000000000000000000000e-11 Which does not correspond to the value reported by Ghazi et al. Could any one give me some some hint on how to obtain a value closer to the one of ?1.341818958e?12 please. (Yes, I have reproduce the 'd' value from Ghazi et al. using 'gcc -lmpfr -lgmp' on linux boxes). ################# Session info: R version 2.11.1 (2010-05-31) x86_64-apple-darwin9.8.0 locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] Rmpfr_0.2-3 loaded via a namespace (and not attac...
2000 Jul 25
2
Problems with tinc configure with gmp 3.0.1
I can't get tinc to complete the configure script. It can't find the gmp 3.0.1 libraries even though they are installed. I saw a fix mentioned in the list archives, but it didn't work. Can anyone else help me out? Thanks John - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
2020 Jun 17
1
Compile gnutls yo install samba-4.12.3
Hello all; Has anyone installed samba4 from sources (samba-4.12.3.tar.gz) on CentOS 7? I explain the problem: to install samba-4.12.3 you need to install a version equal to or greater than 3.4.7 of gnutls; this (gnutls) depends on nettle and gmp. I am trying to install gnutls-3.6.14; I already have gmp (gmp-6.2.0) and nettle (nettle-3.6) installed (compiled from sources), but gnutls
2008 Jul 30
3
[LLVMdev] llvm-gcc fortran bootstrap broken
...jects/Debug/lib/libLLVMAnalysis.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMTarget.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMCore.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMSupport.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMSystem.a attribs.o stub-objc.o stub-c.o -lmpfr -lgmp ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/duncan/LLVM/llvm-objects/Debug/lib -lpthread -ldl -lm libbackend.a(dwarf2out.o): In function `add_type_attribute': (.text+0x1ffb3): undefined reference to `invoke_impl_ptr_type' libbackend.a(llvm-backend.o...
2012 Oct 23
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
Hi Jack, > It is interesting though that LLVMPolly.so shows the linkage... > > /sw/opt/llvm-3.2/lib/LLVMPolly.so: > /sw/lib/libisl.10.dylib (compatibility version 11.0.0, current version 11.0.0) > /sw/lib/gmp5/libgmp.10.dylib (compatibility version 11.0.0, current version 11.5.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0) >
2010 Apr 04
1
[LLVMdev] _gt_ggc_r_gt_darwin_c_h undefined
...llvm/lib/libLLVMipa.a /sw/lib/llvm/lib/libLLVMAnalysis.a /sw/lib/llvm/lib/libLLVMTarget.a /sw/lib/llvm/lib/libLLVMMC.a /sw/lib/llvm/lib/libLLVMCore.a /sw/lib/llvm/lib/libLLVMX86Info.a /sw/lib/llvm/lib/libLLVMSupport.a /sw/lib/llvm/lib/libLLVMSystem.a attribs.o stub-objc.o stub-c.o -L/sw/lib -lmpfr -lgmp ../libcpp/libcpp.a -lintl -L/sw/lib -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/sw/lib/llvm/lib -lpthread -lm Undefined symbols: "_gt_ggc_r_gt_darwin_c_h", referenced from: _gt_ggc_rtab in f95-lang.o ld: symbol(s) not found collect2: ld returned 1 exit st...
2008 Jul 30
0
[LLVMdev] llvm-gcc fortran bootstrap broken
...jects/Debug/lib/libLLVMAnalysis.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMTarget.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMCore.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMSupport.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMSystem.a attribs.o stub-objc.o stub-c.o -lmpfr -lgmp ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/duncan/LLVM/llvm-objects/Debug/lib -lpthread -ldl -lm > libbackend.a(dwarf2out.o): In function `add_type_attribute': > (.text+0x1ffb3): undefined reference to `invoke_impl_ptr_type' > libbackend.a...
2008 Aug 11
5
[LLVMdev] gfortran link failure in current llvm svn
...ink.build/llvm-gcc42-2.3.999-20080810/llvm_objdir/Release/lib/libLLVMCore.a /sw/src/fink.build/llvm-gcc42-2.3.999-20080810/llvm_objdir/Release/lib/libLLVMSupport.a /sw/src/fink.build/llvm-gcc42-2.3.999-20080810/llvm_objdir/Release/lib/libLLVMSystem.a attribs.o stub-objc.o stub-c.o -L/sw/lib -lmpfr -lgmp ../libcpp/libcpp.a ./../intl/libintl.a /usr/lib/libiconv.dylib ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/sw/src/fink.build/llvm-gcc42-2.3.999-20080810/llvm_objdir/Release/lib -lpthread -lm Undefined symbols: "_create_init_utf16_var", referenced from: _darwin_bu...
2006 Jun 21
0
package compile error on RHEL x86_64 - FIXED
...kages (eg. MCMCpack) as well. > I am running Red Hat Enterprise Linux 4.1. > I get the following error: > > g++ -shared -L/usr/local/lib64 -o gmp.so biginteger.o > biginteger_operator.o bigintegerR.o bigrational.o > bigrational_operator.o bigrationalR.o factor.o -L/usr/local/lib/ -lgmp > /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libstdc++.a(functexcept.o): > relocation R_X86_64_32 against `std::bad_exception::~bad_exception()' > can not be used when making a shared object; recompile with -fPIC > /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libstdc++.a: could n...
2008 Jun 19
0
[LLVMdev] Ответ: using dynamic libraries from bytecode?
...ibrary, you declare it and call it, as normal. You should be able >> to >> use llvm-gcc to see the bytecode of such a use of a routine from a >> dynamic library. >> > > Thanks! But... small example (mingw): > $ llvm-gcc.exe -I/mingw/include gcd_ui.c -L/mingw/lib -lgmp -o > gcd_ui.exe > > $ ./gcd_ui.exe > All works! > > $ lli gcd_ui.bc > ERROR: Program used external function '__gmpz_init_set_ui' which could > not be resolved! > > This application has requested the Runtime to terminate it in an > unusual way. > Pleas...