Closed Bug 664143 Opened 13 years ago Closed 6 years ago

GCHeap Ubuntu Linux compile failure (gcc 4.4 + 4.5)

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P3)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Q1 12 - Brannan

People

(Reporter: pnkfelix, Unassigned)

References

Details

Adapted from an bug report email:

"""
I upgraded the ubuntu on my dev vm this morning and  found that GCHeap::Abort fails to compile.

I think it's pthreads. Looks like m_notificationThread is no longer an lvalue.

  % uname -a
  Linux ubuntu 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux

I tried gcc-4.4 (it comes with 4.5) and that didn't help.

    void GCHeap::Abort()
    {
    status = kMemAbort;
    EnterFrame *ef = enterFrame;
    
    // If we hit abort, we need to turn m_oomHandling back on so that listeners are guaranteed to get this signal
    // We also need to set m_notoficationThread to NULL in case we hit abort while we were processing another memory status change
    m_oomHandling = true;
=>  //(void*)m_notificationThread = NULL;
"""

I wouldn't be surprised if Bug 648249 and/or Bug 656008 are related.
Summary: GCHeap Ubuntu Linux compile failure → GCHeap Ubuntu Linux compile failure (gcc 4.4 + 4.5)
Almost certainly; newer gcc versions are pickier about NULL vs 0. Clearly we need to add a "VMPI_THREAD_NULL" type.
Blocks: 677350
Depends on: 656008
Flags: flashplayer-qrb?
Flags: flashplayer-injection-
Flags: flashplayer-bug-
Priority: -- → P3
Target Milestone: --- → Q1 12 - Brannan
Blocks: 559696
Blocks: 753029
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.