Closed Bug 684293 Opened 13 years ago Closed 9 years ago

build failure in crashreporter.cpp on linux with gcc-4.4.5

Categories

(Toolkit :: Crash Reporting, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: terrence, Unassigned)

Details

On gentoo linux.
host: x86_64-pc-linux-gnu
gcc: 4.4.5

Gentoo does not apply any patches that touch these files.

Build failure is:
toolkit/crashreporter/client/crashreporter.cpp:49
    #include <memory>
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/memory:83
    #include <bits/shared_ptr.h>
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/shared_ptr.h:146
    { return __ti == typeid(_Deleter) ? &_M_del._M_del : 0; }

Since we build with -fno-rtti, use of typeid here generates a compile error.  Import of shared_ptr in memory is conditioned on defined __GXX_EXPERIMENTAL_CXX0X__ and not defined _GLIBCXX_INCLUDE_AS_CXX0X.
Is this still broken with a newer gcc on gentoo? I don't think we're supporting gcc 4.5 anymore.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.