[gccsdk] Building OWB

Lee Noar leenoar at sky.com
Fri Nov 9 12:47:19 PST 2018


On 09/11/2018 14:26, Michael Grunditz wrote:
> Hi
> 
> I am trying to build Origyn Web Browser which uses webkit and SDL: It
> is all c++. I have problems with global variables and especially in
> the main client file. It crashes right on access and even more odd I
> need to malloc local class variables before I can give the,m objct
> values from the library.
> 
> I must miss something ..

Make sure that any source files that are a part of the executable
are *not* compiled with -fPIC, otherwise it will crash when accessing
global variables.

Lee.



More information about the gcc mailing list