Closed Bug 389507 Opened 17 years ago Closed 17 years ago

ActionMonkey build fails: ‘class MMgc::RCObject’ has no member named ‘DecrementRef’

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: anemitz, Assigned: jorendorff)

References

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20061201 Firefox/2.0.0.5 (Ubuntu-feisty)
Build Identifier: Trunk

After applying the patch for bug 389443, the build system fails: In destructor ‘MMgc::WriteBarrierRC<T>::~WriteBarrierRC()’:
/home/anemitz/actionmonkey/js/tamarin/MMgc/WriteBarrier.h:150: error: ‘class MMgc::RCObject’ has no member named ‘DecrementRef’


Reproducible: Always

Steps to Reproduce:
1. Apply patch for 389443
2. make -f Makefile.ref 

Actual Results:  
g++ -o MMgc/MMgc.o -DSOFT_ASSERTS  -DDEBUG -D_DEBUG   -fno-exceptions -fno-rtti -Werror -Wall -Wno-reorder -Wno-switch -Wno-invalid-offsetof -fmessage-length=0 -finline-functions -finline-limit=65536  -g    -I/home/anemitz/actionmonkey/js/tamarin -I/home/anemitz/actionmonkey/js/tamarin/MMGC -I/home/anemitz/actionmonkey/js/tamarin/core -I/home/anemitz/actionmonkey/js/tamarin/codegen -I/home/anemitz/actionmonkey/js/tamarin/pcre  -c MMgc/MMgc.ii
/home/anemitz/actionmonkey/js/tamarin/MMgc/WriteBarrier.h: In destructor ‘MMgc::WriteBarrierRC<T>::~WriteBarrierRC()’:
/home/anemitz/actionmonkey/js/tamarin/MMgc/WriteBarrier.h:150: error: ‘class MMgc::RCObject’ has no member named ‘DecrementRef’
Summary: ActionMonkey build system fails: ‘class MMgc::RCObject’ has no member named ‘DecrementRef’ → ActionMonkey build fails: ‘class MMgc::RCObject’ has no member named ‘DecrementRef’
anemitz reports that hacking the Makefile to add -DUNIX -DAVMPLUS_UNIX gets him past this problem.

These flags need to be added in 3 places:

1. js/tamarin/configure.py or one of the python scripts in js/tamarin/build

2. js/src/config/Linux_All.mk (the easy one) - see dup bug 389749 to see why we need to add these flags here as well

3. Makefile.in, for the same reason as #2 (bsmedberg?)

Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #274176 - Flags: review+
Attachment #274178 - Flags: review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
This is happening again for both Swaroop and Anthony.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I think a merge from upstream broke this.  The fix is trivial.  Pushed to actionmonkey branch, changeset f851780ab3d8.
Assignee: general → jorendorff
Status: REOPENED → ASSIGNED
Attachment #280344 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: