Install symbol_convert binary on dm-symbolpush01

RESOLVED INCOMPLETE

Status

mozilla.org Graveyard
Server Operations
RESOLVED INCOMPLETE
7 years ago
3 years ago

People

(Reporter: ted, Unassigned)

Tracking

Details

(Reporter)

Description

7 years ago
In order for the post-symbol-upload script in bug 607961 to do symbol conversion, it requires a tool I wrote called symbol_convert. I need a copy of this tool installed on dm-symbolpush01 in /usr/local/bin. I have a pre-built x86 binary that I compiled on Ubuntu here:
http://people.mozilla.com/~tmielczarek/symbol_convert.bz2

Or you can build it from source using the repo here along with a pre-built copy of the Breakpad libraries:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/symboltests/
See steps 1 and 2 in the README:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/symboltests/file/d740e80c1477/README#l11

Updated

7 years ago
Assignee: server-ops → aravind
[root@dm-symbolpush01 symboltests]# make
g++ -O2 -I../google-breakpad/src -I.   -c -o fast_symbol_supplier.o fast_symbol_supplier.cc
g++ -O2 -I../google-breakpad/src -I. -o symbol_convert symbol_convert.cc ../google-breakpad/src/processor/module_serializer.o ../google-breakpad/src/libbreakpad.a ../google-breakpad/src/third_party/libdisasm/libdisasm.a fast_symbol_supplier.o
g++: ../google-breakpad/src/processor/module_serializer.o: No such file or directory
make: *** [symbol_convert] Error 1
[root@dm-symbolpush01 symboltests]#
(Reporter)

Comment 2

7 years ago
Huh. This worked last time I tried it. I'll double-check.
(In reply to comment #2)
> Huh. This worked last time I tried it. I'll double-check.

Ted, can you take a look at this?
(Reporter)

Comment 4

7 years ago
I'm PTO this week, I'll check it out on Monday.
Ted,

Can we get some direction or close this out?  thanks!
(Reporter)

Comment 6

7 years ago
Sorry, I kept getting caught up in other things, I finally took a look at this.

Bleh, the Breakpad build wasn't building those files for some reason, blowing away my build dir completely gives me the same error. (Make clean wasn't enough...) I patched this upstream and also fixed some bitrot in the symbol_convert source, can you update both your Breakpad tree and your symboltests tree and try again? It seems to build ok on a fresh checkout now.

My changes:
http://code.google.com/p/google-breakpad/source/detail?r=759
http://hg.mozilla.org/users/tmielczarek_mozilla.com/symboltests/rev/fcc495ea8cd0
Tried this again, now I get this error.

[root@dm-symbolpush01 symboltests]# make
g++ -m32 -O2 -I../google-breakpad/src -I. -o symbol_convert symbol_convert.cc ../obj-breakpad-32/src/processor/module_serializer.o ../obj-breakpad-32/src/libbreakpad.a ../obj-breakpad-32/src/third_party/libdisasm/libdisasm.a fast_symbol_supplier.o
g++: ../obj-breakpad-32/src/processor/module_serializer.o: No such file or directory
g++: ../obj-breakpad-32/src/libbreakpad.a: No such file or directory
g++: ../obj-breakpad-32/src/third_party/libdisasm/libdisasm.a: No such file or directory
make: *** [symbol_convert] Error 1
[root@dm-symbolpush01 symboltests]#
(Reporter)

Comment 8

7 years ago
You updated both trees and rebuilt in both places?
This is what I did,

hg clone http://hg.mozilla.org/users/tmielczarek_mozilla.com/symboltests
svn co -r759 http://google-breakpad.googlecode.com/svn/trunk google-breakpad

cd symboltests; make
Please re-open it when stuff is ready.
Assignee: aravind → server-ops
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.