Closed
Bug 369398
Opened 18 years ago
Closed 17 years ago
Java XPCOM glue doesn't work when built with gcc 4.x
Categories
(Core Graveyard :: Java to XPCOM Bridge, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: glandium, Assigned: jhpedemonte)
Details
Attachments
(1 file)
295 bytes,
patch
|
Details | Diff | Splinter Review |
The javaxpcom glue doesn't work when built with gcc 4.x because in such cases symbols are hidden by default and the JNI glue doesn't export the necessary symbols. I've been using a workaround, that I'll attach here for documentation purpose, with success for a few months.
Assignee | ||
Comment 1•17 years ago
|
||
Well, I've been building with GCC 4.1.2 on Ubuntu with no problems. There are only three methods in the glue lib that should be external, and all those are declared as NS_EXPORT, which makes them visibility == "default" (that is, not hidden).
Reporter | ||
Comment 2•17 years ago
|
||
on which branch ?
Assignee | ||
Comment 3•17 years ago
|
||
On the trunk and MOZILLA_1_8_BRANCH (1.8.1.x).
Reporter | ||
Comment 4•17 years ago
|
||
I can confirm this works on MOZILLA_1_8_BRANCH
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•