Nicholas Clark (via RT) wrote:
# New Ticket Created by Nicholas Clark # Please include the string: [perl #31209]
# in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31209 >



---
osname= linux
osvers= 2.6.6
arch= x86_64-linux-thread-multi
cc= cc ---
Flags:
category=core
severity=high
ack=no
---
Attempting to build the nci test dynamic library on an Opteron fails:


cc -shared -L/usr/local/lib -fPIC  -L/usr/local/lib -g  \
    -o runtime/parrot/dynext/libnci.so src/nci_test.o
    /usr/bin/ld: src/nci_test.o: relocation R_X86_64_32 can not be used when making a 
shared object; recompile with -fPIC
    src/nci_test.o: could not read symbols: Bad value
    collect2: ld returned 1 exit status


I infer that the code for nci_test.o needs to be compiled with the appropriate position independent code flag, but I don't know how to this portably.

Hi,

currently I'm looking into 'libtool' for turning 'libsyck.a' into a shared library.

This brings me to the idea, wether it would it be an option to use 'libtool' for library building stuff within parrot.

'libtool' from the commandline seems to have unexpectedly little cruftiness. However I don't know about Win32 support.

CU, Bernhard


-- ************************************************** Dipl. Phys. Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **************************************************



Reply via email to