[Buildroot] [PATCH v2,1/1] gnuchess: needs -fPIC

Peter Korsgaard peter at korsgaard.com
Mon Feb 4 17:55:34 UTC 2019


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 >> I'm sorry but this doesn't make sense to me. -fPIC is for Position
 >> Independent Code, which is needed when building shared libraries. Here
 >> we are building with -static on Cortex-M which doesn't even have
 >> support for shared libraries. So building with -fPIC doesn't make sense
 >> I believe. It seems to be more a workaround than a real fix.
 >> 
 >> Perhaps this should be discussed with upstream binutils, or at least a
 >> proper investigation be done about those relocation types ?

 >  Or we could argue that gnuchess on Cortex-M probably isn't that essential, and
 > just put an architecture dependency...

That is also OK with me.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list