Closed Bug 385398 Opened 18 years ago Closed 18 years ago

breakpad build fails on x86_64 in dump_symbols.cc

Categories

(Toolkit :: Crash Reporting, defect)

x86
Linux
defect
Not set
blocker

Tracking

()

RESOLVED FIXED

People

(Reporter: karlt, Assigned: dcamp)

References

Details

Attachments

(1 file)

c++ -o dump_symbols.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DBUILD_ID=0000000000 -I/home/karl/moz/mozilla/toolkit/airbag/airbag/src/common/linux/../.. -I../../../../../../dist/include -I../../../../../../dist/include/breakpad_linux_common -I../../../../../../dist/include/nspr -I/usr/include -DMOZ_PNG_READ -DPNG_NO_MMX_CODE -DMOZ_PNG_WRITE -I/usr/include -I../../../../../../dist/sdk/include -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_ -DTRACING -g -fno-inline -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h -Wp,-MD,.deps/dump_symbols.pp /home/karl/moz/mozilla/toolkit/airbag/airbag/src/common/linux/dump_symbols.cc /home/karl/moz/mozilla/toolkit/airbag/airbag/src/common/linux/dump_symbols.cc: In function 'void<unnamed>::FixAddress(void*)': /home/karl/moz/mozilla/toolkit/airbag/airbag/src/common/linux/dump_symbols.cc:131: error: cast from 'void*' to 'Elf64_Word' loses precision /home/karl/moz/mozilla/toolkit/airbag/airbag/src/common/linux/dump_symbols.cc: In function 'void<unnamed>::FixAddress(void*)': /home/karl/moz/mozilla/toolkit/airbag/airbag/src/common/linux/dump_symbols.cc:131: error: cast from 'void*' to 'Elf64_Word' loses precision
I figured the build would break somewhere on x86_64. What we want is a patch to disable Breakpad on x86_64 Linux.
Summary: airbag build fails on x86_64 in dump_symbols.cc → breakpad build fails on x86_64 in dump_symbols.cc
Ted mentioned on IRC that 64bit builds should have breakpad disabled on all platforms, this patch does that.
Assignee: nobody → dcamp
Status: NEW → ASSIGNED
Attachment #269481 - Flags: review?(ted.mielczarek)
Severity: normal → blocker
The patch fixes the build for me, thanks. Please use "cvs diff -up8" to create patches so that bugzilla's patch viewer can link to the source files: http://developer.mozilla.org/en/docs/Creating_a_patch
Attachment #269481 - Flags: review?(ted.mielczarek) → review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: