On 10/25/22 05:10, Vadim Galitsin wrote:
There was no recent changes in our environment which we use for building 
OpenSUSE 15.3 / 15.4 packages. VBox builds as usual. Must be something on your 
side. What is the error message?

Hi Vadim,

The error is as follows:

[ 3313s] /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: warning: setjmp.o: missing .note.GNU-stack section implies executable stack [ 3313s] /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker [ 3313s] /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/VirtualBox-7.0.2/out/linux.amd64/release/lib/RuntimeR0.a(timesup.o): warning: relocation against `g_SUPGlobalInfoPage' in read-only section `.text' [ 3313s] /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/VirtualBox-7.0.2/out/linux.amd64/release/obj/VMMR0/VMMAll/IEMAllAImpl.o: relocation R_X86_64_PC32 against symbol `g_afParity' can not be used when making a shared object; recompile with -fPIC [ 3313s] /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: final link failed: bad value
[ 3313s] collect2: error: ld returned 1 exit status
[ 3313s] kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:776: /home/abuild/rpmbuild/BUILD/VirtualBox-7.0.2/out/linux.amd64/release/obj/VMMR0/VMMR0.r0] Error 1

That symbol g_SUPGlobalInfoPage occurs in a .asm file that has the following 
header:

===================================
; $Id: timesupA.asm $
;; @file
; IPRT - Time using SUPLib, the Assembly Implementation.
;
--snip--

;
; Use the C reference implementation for now.
;
%error "This is out of date, use C code. Not worth it for a couple of ticks in some functions and equal or worse performance in others."
======================================

I have searched for that C reference implementation, but cannot find it.

Thanks,

Larry

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to