bugGnash - The GNU Flash player - Bugs: bug #38217, Testsuite build fails with...

 
 
Show feedback again

bug #38217: Testsuite build fails with undefined symbols with --enable-visibility

Submitted by:  Sandro Santilli <strk>
Submitted on:  Fri Feb 1 06:04:29 2013  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri Feb 1 08:58:50 2013, comment #4:

The only difference I see in dumpconfig output is that the broken build has '-fvisibility=hidden'.

It could really be that MovieTester lacks a DSOEXPORT...

Sandro Santilli <strk>
Project Member
Fri Feb 1 07:39:16 2013, comment #3:

with --enable-visibility the build still fails as of commit:118600cd59d4ebfc6b557b162cfe25e9f510da53

make[2]: Entering directory `/home/src/gnash/build/head/vanilla/testsuite/samples'
CXX clip_as_button2_TestRunner-clip_as_button2-TestRunner.o
CXXLD clip_as_button2-TestRunner
../../testsuite/.libs/libtestsuite.a(libtestsuite_la-MovieTester.o): In function `gnash::MovieTester::findDisplayItemByName(gna
sh::MovieClip const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/src/gnash/build/head/vanilla/testsuite/../../../../gnash-head/testsuite/MovieTester.cpp:337: undefined reference to `gnash
::getStringTable(gnash::as_object const&)'

make dumpconfig extract:

CXXFLAGS: -g -O2 -W -Wall -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -fvisibility=hidden -fPIE -fstack-protector --param ssp-buffer-size=4 -Wformat -Werror=format-security
LDFLAGS: -Wl,--as-needed -fPIE -pie -Wl,-z,relro -Wl,-z,now

Configure line:

configure --enable-visibility

Sandro Santilli <strk>
Project Member
Fri Feb 1 06:38:40 2013, comment #2:

I confirm it's the --enable-visibility flag breaking this.
Now trying with latest commit

Sandro Santilli <strk>
Project Member
Fri Feb 1 06:07:42 2013, comment #1:

I see commits of Rob about visibility and flags.
Will try again after pulling 118600cd59d4ebfc6b557b162cfe25e9f510da53

Sandro Santilli <strk>
Project Member
Fri Feb 1 06:04:29 2013, original submission:

While the core builds all fine, running "make check" fails to build some MovieTester based things in some kind of conditions.

I'm still debugging the conditions.
What I know is that a vanilla ./configure works fine.

I'm not sure which ./configure switches or FLAGS overriding break it. Still debugging. See bug #36642 for previous talk about this.

Sandro Santilli <strk>
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 (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Feb 1 07:39:16 2013strkSummaryTestsuite build fails with undefined symbols=>Testsuite build fails with undefined symbols with --enable-visibility
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup