Closed Bug 128844 Opened 24 years ago Closed 24 years ago

static build breakage for OpenVMS

Categories

(SeaMonkey :: Build Config, defect, P2)

DEC
OpenVMS
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.9

People

(Reporter: colin, Assigned: netscape)

Details

Attachments

(1 file, 1 obsolete file)

Recent changes to how static links are performed has broken the OpenVMS build. I have had to modify the following files: config/static-config.mk Remove TK_LIBS from STATIC_EXTRA_LIBS in config/static-config.mk (component Makefile always includes this and we don't want it twice). embedding/browser/gtk/tests/Makefile.in Move MOZ_COMPONENT_LIBS from LIBS to the end of EXTRA_LIBS. This is because in a static link only what is needed is loaded from a library, and therefore order is relevant. Since much of the code is brought in via the libraries in EXTRA_LIBS, we need to defer the loading NSPR and XPCOM until after these other libraries are loaded, otherwise we end up with unresolved symbols. Prefix -L$(DEPTH)/dist/lib/components to EXTRA_LIBS xpfe/bootstrap/Makefile.in Add -L../../../../dist/lib/components to EXTRA_DSO_LDOPTS I will attach a patch next, but maybe there's a better way to fix this? Colin.
Attached patch Fix build breakage for OpenVMS (obsolete) — Splinter Review
Attached patch v2Splinter Review
I had to make a couple of minor tweaks. I removed the 'colin' target & I made sure that MOZ_COMPONENT_LIBS was added to EXTRA_LIBS
Attachment #72404 - Attachment is obsolete: true
err, that was weird... Anyway, I made sure that MOZ_COMPONENT_LIBS was added to EXTRA_LIBS for the non-static build as well.
Status: NEW → ASSIGNED
Keywords: mozilla0.9.9
Priority: -- → P2
Target Milestone: --- → mozilla0.9.9
Comment on attachment 72773 [details] [diff] [review] v2 a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #72773 - Flags: approval+
Modified patch works for me. Thanks Chris.
The patch has been checked into the trunk.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: