Hi Sérgio, I don't have this problem in debian unstable...
but I remember some error like that before, could you look at the Debian packaging and tell me if it fixes your issue? (it might be in rules or LocalConfig.mk files, I'm on mobile sorry if I can't help) cheers, G. Sent from Yahoo Mail on Android From:"Sérgio Basto" <ser...@serjux.com> Date:Wed, 23 Sep, 2015 at 19:22 Subject:[vbox-dev] error: code model kernel does not support PIC mode Hi, I'm trying build VirtualBox-5.0.4 in Fedora 23 (Beta) , and I got this kind of errors : error: code model kernel does not support PIC mode I think F23 force hardened builds , so I added -fno-pic and this error passed but now I got a new error: g++ -shared -fPIC '-Wl,-rpath,/usr/lib64/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /builddir/build/BUILD/VirtualBox-5.0.4/obj/obj/VBoxSVCM/VBoxSVCM.so -Wl,-soname=VBoxSVCM.so /builddir/build/BUILD/VirtualBox-5.0.4/obj/obj/VBoxSVCM/src-server/xpcom/server_module.o -lpthread -lm -lrt /builddir/build/BUILD/VirtualBox-5.0.4/obj/bin/VBoxRT.so -ldl /builddir/build/BUILD/VirtualBox-5.0.4/obj/lib/VBoxCOM.a /builddir/build/BUILD/VirtualBox-5.0.4/obj/bin/VBoxXPCOM.so /usr/bin/ld: /builddir/build/BUILD/VirtualBox-5.0.4/obj/obj/VBoxCAPI/VBoxCAPI.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /builddir/build/BUILD/VirtualBox-5.0.4/obj/obj/VBoxCAPI/VBoxCAPI.o: error adding symbols: Bad value /usr/bin/ld: /builddir/build/BUILD/VirtualBox-5.0.4/obj/obj/VBoxSVCM/src-server/xpcom/server_module.o: relocation R_X86_64_32 against `_ZZN11IVirtualBox6GetIIDEvE3iid' can not be used when making a shared object; recompile with -fPIC /builddir/build/BUILD/VirtualBox-5.0.4/obj/obj/VBoxSVCM/src-server/xpcom/server_module.o: error adding symbols: Bad value Can someone help me find out what is happening ? Thanks -- Sérgio M. B. _______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev