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

RESOLVED INVALID

Status

()

Toolkit
Crash Reporting
RESOLVED INVALID
6 years ago
2 years ago

People

(Reporter: terrence, Unassigned)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.