Hello,
the correct fix will be to use ElfW(Addr) instead of ElfW(Word).
the %x format specifiers should be replaced by %p.
inthe LinuxThread.cc:line 301
->ebp should be replaced by BP
Just before FindSigContext we should add
# if defined __x86_64__
#define BP rbp
#else
#define BP ebp
#endif
I think this will compile...
I'm not sure if it'll work though....
Thanks
Vadim
Roland Alton-Scheidl wrote:
> : There is a bug with googlebreakpad on 64 bits arch
> : http://code.google.com/p/google-breakpad/issues/detail?id=239
> : I have no 64 bits here to analyse the problem.
> : Maybe, try to replace word by Xword ....
>
> Thanks Laurent for the tip, I got compilation on 64 bit architecture one step
> further by replacing word with Xword in line 141
> of /libs/3rdparty/googlebreakpad/src/common/linux/dump_symbols.cc
>
>
Thanks bit
> But build process stopped again. Seems that we need some more effort here. I
> am not a build nor a c++ geek ;-/
>
> -RAS
>
>
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/minidump_file_writer.cc:
>
> In member function 'bool google_breakpad::MinidumpFileWriter::Copy(MDRVA,
> const void*, ssize_t)':
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/minidump_file_writer.cc:226:
>
> warning: comparison between signed and unsigned integer expressions
> [ 26%] Building CXX object
> libs/3rdparty/googlebreakpad/CMakeFiles/googlebreakpad.dir/src/client/linux/handler/linux_thread.o
> In file included
> from
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:48:
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.h:152:
>
> error: 'user_fpxregs_struct' has not been declared
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:238:
>
> error: 'user_fpxregs_struct' has not been declared
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:
>
> In member function 'int
> google_breakpad::LinuxThread::ListModules(google_breakpad::CallbackParam<bool
> (*)(const google_breakpad::ModuleInfo&, void*)>*) const':
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:311:
>
> warning: format '%x' expects type 'unsigned int*', but argument 3 has
> type 'uintptr_t*'
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:311:
>
> warning: format '%x' expects type 'unsigned int*', but argument 4 has
> type 'uintptr_t*'
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:
>
> In member function 'bool
> google_breakpad::LinuxThread::FindSigContext(uintptr_t, sigcontext**)':
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:405:
>
> error: 'struct sigcontext' has no member named 'ebp'
> /home/ras/Desktop/kvats/qutecom/qutecom-2.2/libs/3rdparty/googlebreakpad/src/client/linux/handler/linux_thread.cc:408:
>
> error: 'struct sigcontext' has no member named 'ebp'
> make[2]: ***
> [libs/3rdparty/googlebreakpad/CMakeFiles/googlebreakpad.dir/src/client/linux/handler/linux_thread.o]
>
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> [ 26%] Generating moc_idle.cxx
> make[1]: *** [libs/3rdparty/googlebreakpad/CMakeFiles/googlebreakpad.dir/all]
> Error 2
> make[1]: *** Waiting for unfinished jobs....
> Scanning dependencies of target psiidle
> [ 27%] [ 27%] Building CXX object
> libs/3rdparty/psiidle/psiidle/CMakeFiles/psiidle.dir/idle.o
> Building CXX object
> libs/3rdparty/psiidle/psiidle/CMakeFiles/psiidle.dir/idle_x11.o
> [ 27%] Building CXX object
> libs/3rdparty/psiidle/psiidle/CMakeFiles/psiidle.dir/moc_idle.o
> Linking CXX shared library libpsiidle.so
> [ 27%] Built target psiidle
> make: *** [all] Error 2
>
>
> _______________________________________________
> QuteCom-dev mailing list
> [email protected]
> http://lists.qutecom.org/mailman/listinfo/qutecom-dev
>
>
>
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev