[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-development
Subject:    [haiku-development] Re: [RFC] arm usb =?UTF-8?Q?bus=5Fmanager?=  =?UTF-8?Q?=20-fno-pic?=
From:       kallisti5 <kallisti5 () unixzen ! com>
Date:       2012-09-17 0:40:23
Message-ID: 6d35c221dca11ad05f5dafcb2214a662 () unixzen ! com
[Download RAW message or body]

On 2012-09-16 2:45 pm, Jérôme Duval wrote:
> 2012/9/16 kallisti5 <kallisti5@unixzen.com>:
>>>> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic