Closed Bug 611126 Opened 14 years ago Closed 14 years ago

exception_handler.cc doesn't build in debug builds for android

Categories

(Toolkit :: Crash Reporting, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 633436

People

(Reporter: jrmuizel, Unassigned)

Details

exception_handler.cc In file included from /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc:95: /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2626:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2626:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2640:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2640:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2641:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2641:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2642:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2642:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2643:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2643:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2644:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2644:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2656:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2656:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2724:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2724:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2740:1: warning: ISO C99 requires rest arguments to be used /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2740:1: warning: invoking macro LSS_BODY argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 In file included from /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc:95: /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h: In function 'int sys_clone(int (*)(void*), void*, int, void*, int*, void*, int*)': /home/jrmuizel/src/mozilla-central/toolkit/crashreporter/google-breakpad/src/client/linux/handler/../../../common/linux/linux_syscall_support.h:2202: error: r7 cannot be used in asm here make[6]: *** [exception_handler.o] Error 1 make[5]: *** [libs] Error 2 make[4]: *** [crashreporter_libs] Error 2 make[3]: *** [libs_tier_platform] Error 2 make[2]: *** [tier_platform] Error 2 make[1]: *** [default] Error 2 make: *** [build] Error 2
Why won't it let you use r7? does that have some special purpose? That particular file actually has its own Google Code project: http://code.google.com/p/linux-syscall-support/ If you can patch this I can get it landed upstream.
bug 633436 has a patch.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.