Anna, On Friday 13 February 2015 15:07:39 Frank Mehnert wrote: > On Friday 13 February 2015 14:37:03 Frank Mehnert wrote: > > I'm quite sure the -nopie compiler switch of the Gentoo patches is > > responsible for these TEXTRELs. I didn't find such TEXTRELs in our > > official > > packages which you find on www.virtualbox.org. I checked the 64-bit Linux > > universal .run installer as well as our latest Ubuntu package. > > > > 050_virtualbox-4.3.14-nopie.patch from the Gentoo patches adds -nopie. > > That > > option prevents generating of position-independent code, therefore the > > .text sections needs to be patched. > > > > I propose you ask the Gentoo folks why they add this parameter to gcc. > > thinking again -nopie shouldn't be responsible for the TEXTRELS, actually > this switch should remove the requirement for relocations at all. So I guess > it's some undesired side effect of this switch. > > Which gcc compiler are you using to compile VirtualBox?
I'm using gcc 4.9.2 on Debian and don't get any of these TEXTRELs with or without the 050_virtualbox-4.3.14-nopie.patch patch applied. The other patches can't IMO not be responsible. Could you send me the actual VBoxRT.so binary by private email? Unstripped please, taken from the bin/ directory. Frank -- Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
