bugGnash - The GNU Flash player - Bugs: bug #20853, make check fails with GCC 4.1.2

 
 

bug #20853: make check fails with GCC 4.1.2

Submitted by:  Udo Giacomozzi <udog>
Submitted on:  Tue 21 Aug 2007 04:10:43 PM UTC  
 
Category: NoneSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Aug 2007 03:45:49 PM UTC, comment #2:

I did the split, but wasn't enough.
Added a simple construction of a stringstream, which fixes the bug by itself, committed (commented and pointing to this bug item)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 21 Aug 2007 04:13:44 PM UTC, comment #1:

Udo, try to split the statements in inscribedRect() to store each intermediate value in a variable, the longer the body comes out the better.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 21 Aug 2007 04:10:43 PM UTC, original submission:

"make check" fails with various unexpected failures in DrawingApiTestRunner when using GCC 4.1.2. Other (older) GCC versions succeed without problems.

Note this is the default version included in Debian 4 and thus is probably widely used.

This seems to be a GCC bug because these tricks help avoiding the problem (but that's of course no solution):

- by adding any debug output: http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp?cvsroot=gnash&r1=1.20&r2=1.21

- by building gnash with CXXFLAGS="-g -O0"

Even tough it is probably a GCC bug we need some workaround or we risk many(?) useless bug reports.

Tested and confirmed by:

myself: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Sandro Santilli: gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Chad Musick: (gcc 4.1.2 afaik)

Udo Giacomozzi <udog>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by udog (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Nov 2007 04:22:42 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 22 Aug 2007 03:45:49 PM UTCstrkStatusConfirmed=>Ready For Test
      Assigned toNone=>strk

    Back to the top


    Powered by Savane 3.1-cleanup1