Closed
Bug 561236
Opened 15 years ago
Closed 15 years ago
push_back() causes dependency on libstdc++ from gcc4.5
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: taras.mozilla, Assigned: taras.mozilla)
References
Details
Attachments
(1 file, 1 obsolete file)
1.02 KB,
patch
|
Details | Diff | Splinter Review |
(list|vector)::push_back can't be used if we dynamically link libstdc++
Assignee | ||
Comment 1•15 years ago
|
||
We should move to gcc4.5 to make use of PGO and (eventually plugins), unfortunately 4.5 will accidentally drag in dependencies on newer stdc++. Luckily only a handful of places in the code used push_back(or list::insert).
Assignee | ||
Comment 2•15 years ago
|
||
Looks like the problem is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16896
Looks like so far the backward-compat of our Linux binaries was mostly due to luck. libstdc++ does not guarantee backward compatibility(just forward).
I have had luck with compiling using a libstdc++ from gcc 4.4. Trying to see if i can compile gcc 4.5 with stdc++ from 4.4.
Assignee | ||
Comment 3•15 years ago
|
||
This patch is the best option for making backward-compatible binaries with 4.5. Modifying code to avoid stl lists sucks. There are a couple more library calls, but i'd rather keep the changes small for now.
Assignee: nobody → tglek
Attachment #440913 -
Attachment is obsolete: true
Assignee | ||
Comment 4•15 years ago
|
||
-static-libstdc++ seems like a reasonable workaround
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•