Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created May 9, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/c5d7694d5c0c74047324 to your computer and use it in GitHub Desktop.
Save tadzik/c5d7694d5c0c74047324 to your computer and use it in GitHub Desktop.
> panda install Inline::Perl5
==> Fetching Inline::Perl5
==> Building Inline::Perl5
gcc -Wall p5helper.c `perl -MExtUtils::Embed -e ccopts -e ldopts` -shared -o /home/tadzik/src/github.com/perl6-community-modules/uri/.panda-work/1431180714_1/blib/lib/Inline/p5helper.so -fPIC -g
/usr/bin/ld: /home/tadzik/.plenv/versions/5.20.2/lib/perl5/5.20.2/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC
/home/tadzik/.plenv/versions/5.20.2/lib/perl5/5.20.2/x86_64-linux/CORE/libperl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:6: recipe for target '/home/tadzik/src/github.com/perl6-community-modules/uri/.panda-work/1431180714_1/blib/lib/Inline/p5helper.so' failed
make: *** [/home/tadzik/src/github.com/perl6-community-modules/uri/.panda-work/1431180714_1/blib/lib/Inline/p5helper.so] Error 1
Compiling lib/Inline/Perl5.pm6 to mbc
==> Testing Inline::Perl5
^C
> perl -V
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
Platform:
osname=linux, osvers=4.0.1-1-arch, archname=x86_64-linux
uname='linux yavin 4.0.1-1-arch #1 smp preempt wed apr 29 12:00:26 cest 2015 x86_64 gnulinux '
config_args='-Dprefix=/home/tadzik/.plenv/versions/5.20.2 -de -Dusedevel -Dcccdlflags=-fPIC -A'eval:scriptdir=/home/tadzik/.plenv/versions/5.20.2/bin''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.9.2 20150304 (prerelease)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed /usr/lib /lib/../lib /usr/lib/../lib /lib /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.21.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.21'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
Devel::PatchPerl 1.30
Built under linux
Compiled at May 9 2015 16:09:01
@INC:
/home/tadzik/.plenv/versions/5.20.2/lib/perl5/site_perl/5.20.2/x86_64-linux
/home/tadzik/.plenv/versions/5.20.2/lib/perl5/site_perl/5.20.2
/home/tadzik/.plenv/versions/5.20.2/lib/perl5/5.20.2/x86_64-linux
/home/tadzik/.plenv/versions/5.20.2/lib/perl5/5.20.2
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment