systembugtj / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Solaris 8 compile error - src/common/solaris/dump_symbols.cc includes stab.h which does not exist #250

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile on Solaris 8
2.
3.

What is the expected output? What do you see instead?

It should compile.

I get this output:

c++ -o guid_creator.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS
-I/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/commo
n/solaris/../..
-I/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/commo
n/solaris
-I.  -I../../../../../../dist/include  
-I../../../../../../dist/include/breakpad_solaris_common
-I../../../../../../dist/include/nspr    
-I../../../../../../dist/sdk/include -I/usr/openwin/include   -fPIC 
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2
-Wno-unknown-pragmas -mcpu=ultrasparc
-I/gorbag/exta/cad/externals/SOLARIS/include  -I/usr/openwin/include
-fno-rtti -fno-exceptions -Wno-long-long -pedantic
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2
-fomit-frame-pointer -fno-exceptions -Wno-unknown-pragmas -mcpu=ultrasparc
-I/gorbag/exta/cad/externals/SOLARIS/include -fno-strict-aliasing
-fshort-wchar -pthreads  -DNDEBUG -DTRIMMED -O 
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2
-Wno-unknown-pragmas -mcpu=ultrasparc
-I/gorbag/exta/cad/externals/SOLARIS/include  -I/usr/openwin/include
-DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h
-Wp,-MD,.deps/guid_creator.pp
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/guid_creator.cc
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:37:18:
stab.h: No such file or directory
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:37:18:
stab.h: No such file or directory

What version of the product are you using? On what operating system?

The version that is included with firefox 3 beta 5

On Solaris/sparc version 8

Please provide any additional information below.

Original issue reported on code.google.com by gor...@gmail.com on 7 Apr 2008 at 11:44

GoogleCodeExporter commented 9 years ago
If you want to build breakpad on Solaris 8 with gcc, the dump_syms tool need to 
be
reworked. The stab format is different between the binary generated by Sun 
Studio and
GCC I think.

Original comment by alfred.p...@gmail.com on 7 Apr 2008 at 1:28