Can no longer compile on Kubuntu 16.10 (recompile with -fPIC)
EDIT: Workaround: ./all clean && ./all compile -r -0
This started happening at least a month ago on both my computers (both kept up to date). Reverting all repos to the xonotic-v0.8.1
tag doesn't help so I think it might be related to my OS version. At least one more person on IRC has this issue as well.
./all clean
doesn't help.
Tried adding the -fPIC option to the makefile but nothing changed (though not sure if I did that correctly).
+ cd /home/martin/dev/xonotic/darkplaces
+ make -j4 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a STRIP=: sv-release
make bin-release \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
EXE='darkplaces-dedicated' CFLAGS_FEATURES='' LDFLAGS_COMMON='-lm -lz -ljpeg ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a -lrt -ldl' LEVEL=1
make[1]: Entering directory '/home/martin/dev/xonotic/darkplaces'
========== darkplaces-dedicated (release) ==========
make prepare BUILD_DIR=build-obj/release/darkplaces-dedicated
make[2]: Entering directory '/home/martin/dev/xonotic/darkplaces'
mkdir -p build-obj/release/darkplaces-dedicated
cp -f makefile.inc build-obj/release/darkplaces-dedicated/
cp -f makefile build-obj/release/darkplaces-dedicated/
make[2]: Leaving directory '/home/martin/dev/xonotic/darkplaces'
make -C build-obj/release/darkplaces-dedicated darkplaces-dedicated \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
CFLAGS='-MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -O3 -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math'\
LDFLAGS='-O3 -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`{ test -d .svn && svnversion; } || { test -d .git && git describe --always; } || echo -` -DBUILDTYPE=release -lm -lz -ljpeg ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a -lrt -ldl' LEVEL=2
make[2]: Entering directory '/home/martin/dev/xonotic/darkplaces/build-obj/release/darkplaces-dedicated'
gcc -DSUPPORTIPV6 -g -mtune=native -march=native -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -o ../../../darkplaces-dedicated ../../../builddate.c sys_linux.o vid_null.o thread_null.o snd_null.o bih.o crypto.o cl_collision.o cl_demo.o cl_dyntexture.o cl_input.o cl_main.o cl_parse.o cl_particles.o cl_screen.o cl_video.o clvm_cmds.o cmd.o collision.o common.o console.o csprogs.o curves.o cvar.o dpsoftrast.o dpvsimpledecode.o filematch.o fractalnoise.o fs.o ft2.o utf8lib.o gl_backend.o gl_draw.o gl_rmain.o gl_rsurf.o gl_textures.o hmac.o host.o host_cmd.o image.o image_png.o jpeg.o keys.o lhnet.o libcurl.o mathlib.o matrixlib.o mdfour.o meshqueue.o mod_skeletal_animatevertices_sse.o mod_skeletal_animatevertices_generic.o model_alias.o model_brush.o model_shared.o model_sprite.o netconn.o palette.o polygon.o portals.o protocol.o prvm_cmds.o prvm_edict.o prvm_exec.o r_explosion.o r_lerpanim.o r_lightning.o r_modules.o r_shadow.o r_sky.o r_sprites.o sbar.o sv_demo.o sv_main.o sv_move.o sv_phys.o sv_user.o svbsp.o svvm_cmds.o sys_shared.o vid_shared.o view.o wad.o world.o zone.o -O3 -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`{ test -d .svn && svnversion; } || { test -d .git && git describe --always; } || echo -` -DBUILDTYPE=release -lm -lz -ljpeg ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a -lrt -ldl
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a(libd0_blind_id_la-d0.o): relocation R_X86_64_32 against symbol `malloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a(libd0_blind_id_la-d0_iobuf.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a(libd0_blind_id_la-sha2.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a(libd0_blind_id_la-d0_bignum-gmp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mp_set_fns.o): relocation R_X86_64_32 against symbol `__gmp_default_allocate' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randclr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randmts.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randsd.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randsdui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt2-add.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt3-add_ui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(aorsmul_i.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(cfdiv_q_2exp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt4-clear.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(clrbit.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt6-cmp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(export.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(fdiv_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(fdiv_qr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(fdiv_r.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcd.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcdext.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt20-get_str.o): relocation R_X86_64_32S against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(import.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt22-init.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(invert.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt26-iset.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mod.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt31-mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt32-mul_2exp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(powm.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(pprime_p.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(realloc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt39-set.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt42-set_si.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt44-set_ui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(setbit.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sizeinbase.o): relocation R_X86_64_32S against symbol `__gmpn_bases' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt47-sub.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt48-sub_ui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tdiv_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tdiv_q_2exp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tdiv_qr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tdiv_r.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tdiv_r_2exp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tstbit.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt51-urandomb.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(urandomm.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mod_1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(pre_mod_1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mod_1_1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mod_1_2.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt82-mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mul_n.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sqr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(nussbaumer_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt87-get_str.o): relocation R_X86_64_32S against symbol `__gmpn_bases' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt96-gcd.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt97-gcdext.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcd_lehmer.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcd_subdiv_step.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcdext_lehmer.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcdext_subdiv_step.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(div_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt98-tdiv_qr.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(hgcd2.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(hgcd.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mullo_n.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mullo_basecase.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom22_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom32_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom42_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom33_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom43_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom53_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom63_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom44_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom6h_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom8h_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom8_sqr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_couple_handling.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom2_sqr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom3_sqr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom4_sqr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_eval_dgr3_pm1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_eval_dgr3_pm2.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_eval_pm1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_eval_pm2.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_eval_pm2exp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_eval_pm2rexp.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_interpolate_5pts.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_interpolate_6pts.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_interpolate_7pts.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_interpolate_8pts.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_interpolate_12pts.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(toom_interpolate_16pts.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(binvert.o): relocation R_X86_64_32S against symbol `__gmp_binvert_limb_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mulmod_bnm1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sqrmod_bnm1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sbpi1_div_q.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sbpi1_div_qr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sbpi1_divappr_q.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(dcpi1_div_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(dcpi1_div_qr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(dcpi1_divappr_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mu_div_qr.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mu_divappr_q.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mu_div_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sbpi1_bdiv_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(dcpi1_bdiv_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(dcpi1_bdiv_qr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt101-divexact.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt102-powm.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(powlo.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(assert.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(errno.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(memory.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randmt.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(tal-reent.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(lt9-cmp_ui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(cmpabs_ui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(millerrabin.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(powm_ui.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(scan1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mul_fft.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(gcdext_1.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(matrix22_mul.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(invertappr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(sbpi1_bdiv_qr.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(bdiv_q.o): relocation R_X86_64_32S against symbol `__gmp_binvert_limb_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(redc_2.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(redc_n.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randdef.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mu_bdiv_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a(libd0_rijndael_la-d0_rijndael.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a(libd0_blind_id_la-d0_blind_id.o): relocation R_X86_64_PC32 against symbol `memcmp@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
makefile.inc:523: recipe for target 'darkplaces-dedicated' failed
make[2]: *** [darkplaces-dedicated] Error 1
make[2]: Leaving directory '/home/martin/dev/xonotic/darkplaces/build-obj/release/darkplaces-dedicated'
makefile.inc:451: recipe for target 'bin-release' failed
make[1]: *** [bin-release] Error 2
make[1]: Leaving directory '/home/martin/dev/xonotic/darkplaces'
makefile.inc:391: recipe for target 'sv-release' failed
make: *** [sv-release] Error 2