similar to: make fails with "recompile with -fPIC"

Displaying 20 results from an estimated 10000 matches similar to: "make fails with "recompile with -fPIC""

2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
(cross-posted on SO: https://stackoverflow.com/questions/78022766) Hi all, I'm trying to compile R as a static library with the -fPIC flag so I can use it within java+JNI (is it only possible ?), but I cannot find the right flags in '.configure' to compile R this way. I tested various flags but I cannot find the correct syntax. for now, my latest attempt was ``` rm -rvf?
2013 Sep 23
3
[LLVMdev] [lld] ELF needs type for SharedLibraryAtom.
The following code currently links incorrectly when linking against a dynamic libc on Ubuntu 12.10 unless -fpic is specified. #include <stdio.h> int main() { fputs("hi\n", stdout); } The reason is that stdout gets a R_X86_64_PC32 relocation, but is of type Object. The ELF writer can't see this, and assumes all R_X86_64_PC32 relocations in dynamic outputs are to functions
2018 May 22
3
Trouble building R 3.5.0 under Ubuntu 18.04
I would love to hear from anyone who has successfully built 3.5.0 under Ubuntu 18.04 (Bionic Beaver). My attempts have failed, including: export LDFLAGS="$LDFLAGS -fPIC" export CXXFLAGS="$CXXFLAGS -fPIC" export CFLAGS="$CFLAGS -fPIC" ./configure --enable-R-shlib --prefix=/usr/lib/R/3.5.0 #### Configure completes normally without errors or warnings make #### make
2013 Jul 29
1
[LLVMdev] llvm-g++ 4.6.4 unable to compile simple shared library on Ubuntu 12.04 x86_64
Hi, I am trying to release a Makefile for building my company's software that will be flexible enough to use the llvm suite of compilers to build shared libraries for talking to USB peripherals. The problem that I am having is that while I am able to build a shared library using llvm-gcc , the llvm-g++ compiler is giving me error messages saying " relocation R_X86_64_PC32 against
2013 May 20
1
Where did yum install monodevelop?
Hello all, I'm running CentOS 6.4. Today I tried installing monodevelop and this is the result of the installation: http://bin.cakephp.org/view/258829139 Now. When I went to my terminal and ran monodevelop... nothing. When I tried to locate the actual executable by running find . -name "*monodevelop*" (kinda overkill, but figured that I'd get this option out of the way), I
2017 Feb 04
2
Wrong relocation emitted when building shared libraries with Control Flow Integrity
Hello, I am encountering a linking failure when using Control Flow Integrity while building a shared library. It looks like the wrong relocation type is being emitted for functions referenced via the PLT. I am using clang 3.9. The error message I get is: /usr/bin/ld.gold: error: /tmp/lto-llvm-df723d.o: requires dynamic R_X86_64_PC32 reloc against 'free' which may overflow at runtime;
2010 Aug 17
3
libxl build failure in latest xen
I always failed to build the xen in my enironment, with following error (my gcc version is 4.1.2): > gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value > -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD > -MF .libxenlight.so.1.0.0.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > -Werror
2013 Sep 24
4
[LLVMdev] [lld] ELF needs type for SharedLibraryAtom.
On 9/23/2013 7:07 PM, Nick Kledzik wrote: > On Sep 23, 2013, at 4:52 PM, Michael Spencer <bigcheesegs at gmail.com> wrote: > >> The following code currently links incorrectly when linking against a dynamic libc on Ubuntu 12.10 unless -fpic is specified. >> >> #include <stdio.h> >> >> int main() { >> fputs("hi\n", stdout); >>
2006 Sep 11
2
Making shared object on 64bit machine
I want to make a shared object from Fortran code to be loaded with dyn.load(), but have the following messages: # g77 -c kerimp1.f # R CMD SHLIB kerimp1.o gcc -shared -L/usr/local/lib64 -o kerimp1.so kerimp1.o -L/usr/lib64/R/lib -lR /usr/bin/ld: kerimp1.o: relocation R_X86_64_PC32 against `qweight_' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link
2020 Nov 02
2
[llvm-mc] FreeBSD kernel module performance impact when upgrading clang
Hi, I'm in the process of migrating from clang5 to clang10. Unfortunately clang10 introduced a negative performance impact. The cause is an increase of PLT entries from this patch (first released in clang7): https://bugs.llvm.org/show_bug.cgi?id=36370 https://reviews.llvm.org/D43383 If I revert that clang patch locally, the additional PLT entries and the performance impact disappear. This
2018 May 23
0
Trouble building R 3.5.0 under Ubuntu 18.04
On Tue, May 22, 2018 at 6:47 PM, Steve Gutreuter <sgutreuter at gmail.com> wrote: > I would love to hear from anyone who has successfully built 3.5.0 under > Ubuntu 18.04 (Bionic Beaver). This is the wrong list, see R-sig-debian. That said, apt-get update apt-get build-dep r-base wget https://cran.r-project.org/src/base/R-3/R-3.5.0.tar.gz tar -xvf R-3.5.0.tar.gz cd R-3.5.0
2013 Sep 24
0
[LLVMdev] [lld] ELF needs type for SharedLibraryAtom.
On Sep 23, 2013, at 4:52 PM, Michael Spencer <bigcheesegs at gmail.com> wrote: > The following code currently links incorrectly when linking against a dynamic libc on Ubuntu 12.10 unless -fpic is specified. > > #include <stdio.h> > > int main() { > fputs("hi\n", stdout); > } > > The reason is that stdout gets a R_X86_64_PC32 relocation, but is
2018 May 23
1
Trouble building R 3.5.0 under Ubuntu 18.04
I suspect the main difficulty the OP is having is building R with shlib support. Steve, can you build from source without the --enable-R-shlib flag on configure? Kevin On 05/23/2018 01:58 PM, Ista Zahn wrote: > On Tue, May 22, 2018 at 6:47 PM, Steve Gutreuter <sgutreuter at gmail.com> wrote: >> I would love to hear from anyone who has successfully built 3.5.0 under >>
2013 Feb 25
4
mixing MX and CNAME
Hi, Has any one had problems with mail clients were your DNS is like this; doman.com MX 50 mail.domain.com domain.com MX 100 mail2.domain.com domain.com CNAME www.domain.com -aurf
2015 Jun 24
2
[LLVMdev] buildbot failure in LLVM on clang-x86_64-ubuntu-gdb-75
This bot seems kind of flaky. In the last 100 builds, it has failed "gdb-75-check" 22 times with what is either a linker error or a missing header (or both?): gdb compile failed, /usr/bin/ld: error: /home/buildslave/osuosl_slave/clang-x86_64-ubuntu-gdb-75/clang-tests/build/gdb/testsuite/gdb.trace/pendshr1.c.o: requires dynamic R_X86_64_PC32 reloc against 'pendfunc1' which
2010 Jan 21
2
trouble shooting slow ssh logins
Hi all, I noticed that my ssh logins to a particular server were taking up to 5 seconds to finally login. My tcpdump -vv weren't producing much output (not good) and my pings to and from that host were normal and almost identical to other hosts on my subnet that had no ssh login delay issues. Log files also showed nothing alarming. My hosts file was missing this at the very end of
2013 Apr 27
2
Directory Server vs just plain old LDAP server
Hi all, I'm migrating from my Cent 5.x LDAP server to Cent 6.x. But wondering if there are any advantages to the Directory Server package itself? Been using regular old LDAP server for years now. I manage it both via Webmin and command line as well as some tweaks to a Drupal module. The fail over has always sort of bothered me as the secondary LDAP servers pull vs being pushed to, at
2013 Jun 07
2
qemu-img resize
Hi, I've been using qemu-img resize for a few days now, seems fine. But if I du the VMs image file, it still shows the size before resizing. Inside that VM, the new size shows correctly. Is qemu-img resize the right tool for this? Once I qemu-img resize, I then use various fdisk/ LVM tools, etc... to resize within the VM just incase you all were wondering. - aurf
2012 Sep 05
2
802.3ad + Centos 6 + KVM (bridging)
Hi all, Don't mean to double post as I sent this to the general Centos list. But, does any one have 802.3ad (mode 4) working on there Centos6 KVM setup? This would be a bridge+bond setup of course. If not possible, would I still bond the interfaces on the switch and then bond them in the guest rather then from within the hypervisor? - aurf
2013 May 24
2
Very odd mouse issue
Hi, I'm VNCing into my KVM server and opening virt-manager. When trying to manage a newly created guest, I'm finding the mouse pointer stays on the outside of its virtual machine window. Any insight as to why its tracking so oddly? Thanks in advance, - aurf