<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>93487</bug_id>
          
          <creation_ts>2012-08-08 08:27:35 -0700</creation_ts>
          <short_desc>[CMAKE][EFL] Fix build break with --tiled-backing-store</short_desc>
          <delta_ts>2012-08-13 19:09:36 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryuan Choi">ryuan.choi</reporter>
          <assigned_to name="Ryuan Choi">ryuan.choi</assigned_to>
          <cc>gyuyoung.kim</cc>
    
    <cc>jnetterfield</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>rakuco</cc>
    
    <cc>rwlbuis</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>youngtaeck.song</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>690351</commentid>
    <comment_count>0</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-08-08 08:27:35 -0700</bug_when>
    <thetext>I got below compile errors when compiled with --tiled-backing-store.

CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yy_flush_buffer(yy_buffer_state*, void*)&apos;:
glslang_lex.cpp:(.text+0x2e0): multiple definition of `yy_flush_buffer(yy_buffer_state*, void*)&apos;
CMakeFiles/webcore_efl.dir/__/__/DerivedSources/WebCore/glslang.cpp.o:glslang.cpp:(.text+0x2e0): first defined here
CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yyget_extra(void*)&apos;:
glslang_lex.cpp:(.text+0x360): multiple definition of `yyget_extra(void*)&apos;
CMakeFiles/webcore_efl.dir/__/__/DerivedSources/WebCore/glslang.cpp.o:glslang.cpp:(.text+0x360): first defined here
CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yyget_lineno(void*)&apos;:
glslang_lex.cpp:(.text+0x370): multiple definition of `yyget_lineno(void*)&apos;
CMakeFiles/webcore_efl.dir/__/__/DerivedSources/WebCore/glslang.cpp.o:glslang.cpp:(.text+0x370): first defined here
CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yyget_column(void*)&apos;:
glslang_lex.cpp:(.text+0x390): multiple definition of `yyget_column(void*)&apos;
CMakeFiles/webcore_efl.dir/__/__/DerivedSources/WebCore/glslang.cpp.o:glslang.cpp:(.text+0x390): first defined here
CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yyget_in(void*)&apos;:
glslang_lex.cpp:(.text+0x3b0): multiple definition of `yyget_in(void*)&apos;
CMakeFiles/webcore_efl.dir/__/__/DerivedSources/WebCore/glslang.cpp.o:glslang.cpp:(.text+0x3b0): first defined here
CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yyget_out(void*)&apos;:
glslang_lex.cpp:(.text+0x3c0): multiple definition of `yyget_out(void*)&apos;
CMakeFiles/webcore_efl.dir/__/__/DerivedSources/WebCore/glslang.cpp.o:glslang.cpp:(.text+0x3c0): first defined here
CMakeFiles/webcore_efl.dir/__/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp.o: In function `yyget_leng(void*)&apos;:
glslang_lex.cpp:(.text+0x3d0): multiple definition of `yyget_leng(void*)&apos;

I checked that other ports does not include glslang_lex.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690355</commentid>
    <comment_count>1</comment_count>
      <attachid>157227</attachid>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-08-08 08:30:11 -0700</bug_when>
    <thetext>Created attachment 157227
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690386</commentid>
    <comment_count>2</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-08 09:13:52 -0700</bug_when>
    <thetext>Does the _tab.cpp file also cause problems? Do you know whether it makes sense to generate these files instead of using the generated ones from ANGLE?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690430</commentid>
    <comment_count>3</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-08-08 10:00:47 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Does the _tab.cpp file also cause problems? Do you know whether it makes sense to generate these files instead of using the generated ones from ANGLE?

Sorry, I cut the log because it is too long.

_tab.cpp also have same issue.

I don&apos;t know ANGLE enough, but I choosed generated one because 
  1) generated one looks better although almost changes are minor (such as size_t vs int)
  2) other ports also used generated one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690530</commentid>
    <comment_count>4</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-08 11:16:43 -0700</bug_when>
    <thetext>Right. svn blame tells me that the lex and tab.cpp files were added by Joshua Netterfield for the BlackBerry port, so I&apos;m CC&apos;ing both him and Rob in case they have anything to say.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690548</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Netterfield">jnetterfield</who>
    <bug_when>2012-08-08 11:30:46 -0700</bug_when>
    <thetext>We also wanted to use the generated files, but it doesn&apos;t compile with certain versions of Bison. I&apos;m noticing that upstream both versions are present (probably due to a merge failure on my end). Perhaps it would be best to have the generated files in PlatformEfl.cmake and the non-generated files in PlatformBlackBerry.cmake?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>691047</commentid>
    <comment_count>6</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-08-08 18:14:11 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; We also wanted to use the generated files, but it doesn&apos;t compile with certain versions of Bison. I&apos;m noticing that upstream both versions are present (probably due to a merge failure on my end). Perhaps it would be best to have the generated files in PlatformEfl.cmake and the non-generated files in PlatformBlackBerry.cmake?

Can I know which version of BISON has problem?

I think that this is not port specific issue.
So, what do you think about checking bison version which we has issue like below?

IF (BISON_VERSION EQUAL &quot;specific version&quot;)
    # 
ELSE ()
    # use generated one
ENDIF ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>691485</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Netterfield">jnetterfield</who>
    <bug_when>2012-08-09 09:12:04 -0700</bug_when>
    <thetext>Yes, that sounds good. We had trouble with version 2.5 on mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>691941</commentid>
    <comment_count>8</comment_count>
      <attachid>157567</attachid>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-08-09 15:49:42 -0700</bug_when>
    <thetext>Created attachment 157567
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>691944</commentid>
    <comment_count>9</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-08-09 15:50:38 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Yes, that sounds good. We had trouble with version 2.5 on mac.

Ok, updated.
Could you test whether it works for you?

Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694409</commentid>
    <comment_count>10</comment_count>
      <attachid>157567</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-13 19:09:30 -0700</bug_when>
    <thetext>Comment on attachment 157567
Patch

Clearing flags on attachment: 157567

Committed r125496: &lt;http://trac.webkit.org/changeset/125496&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694410</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-13 19:09:36 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>157227</attachid>
            <date>2012-08-08 08:30:11 -0700</date>
            <delta_ts>2012-08-09 15:49:36 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-93487-20120809002944.patch</filename>
            <type>text/plain</type>
            <size>1514</size>
            <attacher name="Ryuan Choi">ryuan.choi</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI1MDM0CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMGUyNTRkMzBjNzBmYTg1
ZWM0MmY2NTNhNGFkMzJlZWVkMTkyOTllZi4uZDViYmUyNmY4YWUwNmFkMDk1NWQ3ZDlmZjAzNjdl
MDQzMWFhYjE4YSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDEyLTA4LTA4ICBSeXVh
biBDaG9pICA8cnl1YW4uY2hvaUBzYW1zdW5nLmNvbT4KKworICAgICAgICBbQ01BS0VdW0VGTF0g
Rml4IGJ1aWxkIGJyZWFrIHdpdGggLS10aWxlZC1iYWNraW5nLXN0b3JlCisgICAgICAgIGh0dHBz
Oi8vYnVncy53ZWJraXQub3JnL3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LSAgICAgICAgJHtUSElSRFBBUlRZX0RJUn0vQU5HTEUvc3JjL2NvbXBpbGVyL2ds
c2xhbmdfbGV4LmNwcAotICAgICAgICAke1RISVJEUEFSVFlfRElSfS9BTkdMRS9zcmMvY29tcGls
ZXIvZ2xzbGFuZ190YWIuY3BwCiAgICAgICAgICR7VEhJUkRQQVJUWV9ESVJ9L0FOR0xFL3NyYy9j
b21waWxlci9JbmZvU2luay5jcHAKICAgICAgICAgJHtUSElSRFBBUlRZX0RJUn0vQU5HTEUvc3Jj
L2NvbXBpbGVyL0luaXRpYWxpemUuY3BwCiAgICAgICAgICR7VEhJUkRQQVJUWV9ESVJ9L0FOR0xF
L3NyYy9jb21waWxlci9Jbml0aWFsaXplRGxsLmNwcAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>157567</attachid>
            <date>2012-08-09 15:49:42 -0700</date>
            <delta_ts>2012-08-13 19:09:30 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-93487-20120810074914.patch</filename>
            <type>text/plain</type>
            <size>2506</size>
            <attacher name="Ryuan Choi">ryuan.choi</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI1MjEyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNTM0MGQ5ZGE4OWIyODkw
NzMxMThjNTc3MzcwM2VkYzkwMDIxNjEyZS4uZTYwMTJjY2FkYzUxNTY1MDdjYWExZjQxYzU4YTVh
ZTU5MDg4YmE4OSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBACisyMDEyLTA4LTA5ICBSeXVh
biBDaG9pICA8cnl1YW4uY2hvaUBzYW1zdW5nLm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3NyYy9jb21waWxl
ci9Db21waWxlci5jcHAKQEAgLTI1NTYsOCArMjU2OSw2IEBAIElGIChXVEZfVVNFXzNEX0dSQVBI
SUNTKQogICAgICAgICAke1RISVJEUEFSVFlfRElSfS9BTkdMRS9zcmMvY29tcGlsZXIvRGV0ZWN0
RGlzY29udGludWl0eS5oCiAgICAgICAgICR7VEhJUkRQQVJUWV9ESVJ9L0FOR0xFL3NyYy9jb21w
aWxlci9EZXRlY3RSZWN1cnNpb24uY3BwCiAgICAgICAgICR7VEhJUkRQQVJUWV9ESVJ9L0FOR0xF
L3NyYy9jb21waWxlci9Gb3JMb29wVW5yb2xsLmNwcAotICAgICAgICAke1RISVJEUEFSVFlfRElS
fS9BTkdMRS9zcmMvY29tcGlsZXIvZ2xzbGFuZ19sZXguY3BwCi0gICAgICAgICR7VEhJUkRQQVJU
WV9ESVJ9L0FOR0xFL3NyYy9jb21waWxlci9nbHNsYW5nX3RhYi5jcHAKICAgICAgICAgJHtUSElS
RFBBUlRZX0RJUn0vQU5HTEUvc3JjL2NvbXBpbGVyL0luZm9TaW5rLmNwcAogICAgICAgICAke1RI
SVJEUEFSVFlfRElSfS9BTkdMRS9zcmMvY29tcGlsZXIvSW5pdGlhbGl6ZS5jcHAKICAgICAgICAg
JHtUSElSRFBBUlRZX0RJUn0vQU5HTEUvc3JjL2NvbXBpbGVyL0luaXRpYWxpemVEbGwuY3BwCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>