On Jul 4, 12:42 am, jjds...@yahoo.com wrote:
> On Jul 3, 1:40 pm, "contactmayankj...@gmail.com"<contactmayankj...@gm ail.com> wrote:
> > Can you explain what a non-virtual thunk is? I have been getting
> > this error when trying to link libraries that I have built with
> > optimization.
>
> By any chance, does this happen specifically when you change -Os to -
> O3 when building
> the libraries? Just a shot in the dark...
Hi
Thanks a lot for the try
When I was building on 64-bit machine I got the error "Non virtual
thunk".
So we added an optimization flag "-O2" to our makefiles, compiled all
the libraries as well as the code again and we got rid of this error.
But JI got a new error of "virtual memory exhausted: Cannot allocate
memory".
Then we added "-O1" flag after "-O2" (-O2 -O1) flag in the makefiles,
rebuild everything and we were able to build out code as well as the
package.
Now the binaries that I have build are running fine but when I try to
debug these binaries with gdb , the gdb gives the error
warning: Unable to get location for thread creation breakpoint:
generic
error [New LWP 100106] Cannot find thread, Thread ID=1, generic error
Regards
Mayank Jain
Niksun
9818390836
www.mayankjain.110mb.com