[haiku-development] Re: [RFC] arm usb bus_manager -fno-pic

  • From: kallisti5 <kallisti5@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 16 Sep 2012 19:40:23 -0500

On 2012-09-16 2:45 pm, Jérôme Duval wrote:
2012/9/16 kallisti5 <kallisti5@xxxxxxxxxxx>:
Does anyone know if there was a reason for the usb bus_manager always
getting -fno-pic? I'm not seeing any


Still need info on this as well if anyone has it.

This flag was probably used on BeOS R5. It appeared in r222 (
http://svn.berlios.de/viewcvs/haiku?view=revision&revision=222 ) for
R5 kernel add-ons and appeared on r7620 (
http://svn.berlios.de/viewcvs/haiku?view=revision&revision=7620 ) for
Haiku kernel add-ons.

Hmm.. i wonder is calling -fno-pic only on gcc2 builds would be a good compromise?

That way the older gcc2 code would keep better BeOS compat, while the newer gcc4
code (that runs on multiple platforms) could use -fPIC (or -fPIE?)

 -- Alex

Other related posts: