Closed Bug 34566 Opened 26 years ago Closed 25 years ago

Mozilla requires a dynamic libstdc++

Categories

(SeaMonkey :: Build Config, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: allmaier, Assigned: cls)

References

Details

Attachments

(1 file)

First, I tried to run the M14 binary downloaded at your webpage; however there was a link to the libstdc++-libc6.1-... that I don't have (I've got only a static libstdc++ 2.10 of my gcc 2.95.2) so the whole thing refused to work (failed selfregistering and such things). As consequence I downloaded the M14 sources and compiled them with the standard settings; it compiled cleanly. When starting mozilla the whole process seems to work correctly, but in the end I get only a segfault. I'm using glibc 2.1.3 and don't have Internet access on my machine, not even a network - is it possible to run mozilla only to view html-files on my local machine? hope so. however, due to system problems I cannot send you the logfile of the crash I created; send me an email adress where I can send it to. THANX hannes allmaier
I think this is a dupe of bug 15976 wich is a dupe of bug 15970 But I don't know enough to say for sure. Hannes or someone can you look at those two bugs? If so we can mark it a dupe and go on.
I wouldn't mark it as a dup, since this is probably a different issue than the ones so far brought up in 15970. We may need a tree of bugs for the various reasons it won't run on each specific distribution.
No it's definitely not a dup of bug 15976 or 15970. Yes I downloaded the binary tarballs and they didn't start because of these 2 bugs (actually because of this one bug - they're dupes). As a consequence I downloaded the sources and compiled them on my machine. I've no libstdc++-libc6.1... ;I've only the static 2.10 of the compiler itself, but that's not the problem (I think).
--> build config
Assignee: asadotzler → cls
Status: UNCONFIRMED → NEW
Component: Browser-General → Build Config
Ever confirmed: true
QA Contact: jelwell → cyeh
All I see in the attachment is garbage.
Based upon the comments in Bug 13202, it sounds like you can't statically link against libstdc++ (among other libs). Pav? Leaf? Dmose? Do you know if this is really the case?
I wouldn't be surprised. What's probably happening is that non-PIC code from libstdc++.a is getting pulled into a shared library, which is a no-no. I've got bug 35419 assigned to me, which, once fixed, will cause the compile to abort if non-PIC code gets linked into a shared library, rather than incorrectly succeeding. So I suspect the answer is that you need to install the shared version of libstdc++.
mass re-assign of all bugs where i was listed as the qa contact
QA Contact: cyeh → chofmann
Changing the summary to be more descriptive of the problem. dmose, your fix is solaris specific, right? By default, the build does use -shared to create shared libraries. Would a libstdc++.a compiled entirely with -fPIC (if possible) fix this problem?
Status: NEW → ASSIGNED
Summary: Mozilla M14 compiles cleanly, but segfaults on startup → Mozilla requires a dynamic libstdc++
Yes, my fix is Solaris only. And I suspect you're right, that a libstdc++ built entirely with -fPIC would be ok. Though it would add bloat to the browser, and perhaps a non-trivial amount.
Target Milestone: --- → M18
Depends on: 35419
I was not able to get a static libstdc++ working with linux. It keeps crashing in libdl. Marking WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: