sleroux / google-breakpad

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

Compile error on Solaris 8 - google-breakpad/src/common/solaris/dump_symbols.cc contains many compile errors #252

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Remove or comment out <stab.h> as it is not available (see bug 250)
2. Compile on Solaris 8
3.

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

It should compile

I get these compile errors, must of which do *not* appear to be due to the
missing stab.h file:

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:
In function `std::string <unnamed>::Demangle(const char*)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:195:
error: jump to label `out'
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:188:
error:   from here
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:191:
error:   crosses initialization of `std::string str'
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:195:
error: jump to label `out'
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:182:
error:   from here
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:191:
error:   crosses initialization of `std::string str'
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:
In function `bool <unnamed>::WriteFormat(int, const char*, ...)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:200:
error: `va_list' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:200:
error: expected `;' before "list"
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:203:
error: `list' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:203:
error: `va_start' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:207:
error: `va_end' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:
In function `int <unnamed>::LoadStackParamSize(<unnamed>::slist*,
<unnamed>::slist*, <unnamed>::FuncInfo*)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:252:
error: `N_PSYM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:
In function `int <unnamed>::LoadLineInfo(<unnamed>::slist*,
<unnamed>::slist*, <unnamed>::FuncInfo*)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:267:
error: `N_SLINE' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:269:
error: `N_FUN' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:269:
error: `N_SO' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:270:
error: `N_ENDM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:276:
error: `N_SLINE' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:283:
error: `N_ENDM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:
In function `int <unnamed>::LoadFuncSymbols(<unnamed>::slist*,
<unnamed>::slist*, char*, GElf_Word, <unnamed>::SourceFileInfo*)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:302:
error: `N_FUN' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:303:
error: `N_SO' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:307:
error: `N_ENDM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:311:
error: `N_FUN' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:319:
error: `N_ENDM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:321:
error: `N_ESYM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:321:
error: `N_ISYM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:328:
error: `N_ENDM' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:
In function `bool <unnamed>::LoadAllSymbols(const GElf_Shdr*, const
GElf_Shdr*, GElf_Word, <unnamed>::SymbolInfo*)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:412:
error: `N_SO' was not declared in this scope
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:
In function `bool <unnamed>::WriteModuleInfo(int, GElf_Half, const
std::string&)':
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc:485:
error: `EM_X86_64' was not declared in this scope
distcc[13265] ERROR: compile
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
solaris/dump_symbols.cc
on gandalf/3 failed

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

The one included with firefox 3 beta 5

OS:
SunOS gandalf 5.8 Generic_117350-39 sun4u sparc SUNW,Sun-Blade-1500

Please provide any additional information below.

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