[webkit-efl] GCC version issue on WebKit EFL

Gyuyoung Kim gyuyoung.kim at webkit.org
Fri Apr 19 08:17:51 PDT 2013


Hi,

I succeed to build WebKit EFL on Ubuntu 13.04 finally. Beside there is no
issue except for an 'undefined reference' error related to libxslt and
about 200 failed test cases. When you build WebKit EFL on 13.04, you'll
have these errors.
*    /usr/lib/x86_64-linux-gnu/libxslt.so.1: undefined reference to
`xmlBufContent at LIBXML2_2.9.0'*
*    /usr/lib/x86_64-linux-gnu/libxslt.so.1: undefined reference to
`xmlBufUse at LIBXML2_2.9.0'*
*
*
I don't know why the error occurs yet. But, I could pass this problem by
dumping libxslt down temporarily. I used the libxslt-1.1.26 which is
default for Ubuntu 12.04.

In addition, it seems there is no issue related to GCC and x server anymore.
*    Bug 97268 <https://bugs.webkit.org/show_bug.cgi?id=97268> - Shrink
baseline size of WTF::Vector on 64-bit by switching to unsigned capacity
and size.*
*    (https://bugs.webkit.org/show_bug.cgi?id=97268)*

    -
https://lists.webkit.org/pipermail/webkit-efl/2012-November/000434.html
    -
https://lists.webkit.org/pipermail/webkit-efl/2012-November/000433.html

Raphael suggests a different temporary solution for this issue. It is to
use low level optimization in the problem file as below,

    # Detailed explaination of why we need this.
    if (CMAKE_COMPILER_IS_GNUCXX) # Can restrict based on the version.
        set_source_files_properties(Modules/websocket/WebSocketDeflater.cpp
                                    PROPERTIES COMPILE_FLAGS "-O2")
    endif ()


In my opinion, it would be better to bump up Ubuntu distribution. Because,
eventually, we need to support 13.04 distribution in near future. Or, we
may be able to use both suggestions to fix this problem as soon as
possible. It looks this is also good at the moment.

FYI, Ubuntu 13.04 will be final released on 25th Apr. according to the
Ubuntu schedule.

Gyuyoung.
*
*


On Fri, Apr 19, 2013 at 11:19 AM, Gyuyoung Kim <gyuyoung.kim at webkit.org>wrote:

> >> 2. DumpRenderTree for WK1 doesn't support evas_gl rendering on Ubuntu
> 12.10.
> >>  => Temporary fix : Use software rendering. For example, ecoreEvas =
> ecore_evas_new(0, 0, 0, 800, 600, 0);
>
> > Is it a bug due to evas_gl?
>
> It looks X server 1.13.0 had a regression which influences on 'opengl_x11'
>  evas backend. See also below link,
>
>  *There is a regression in the 1.13.0 release (which has not been fixed
>   yet) of the X server that prevents Xvfb from loading the GLX extension
>   needed by the `opengl_x11' Evas backend used when
>   WTF_USE_TILED_BACKING_STORE (and thus Accelerated Compositing) is
>   enabled.*
>
> https://lists.webkit.org/pipermail/webkit-efl/2012-November/000434.html
>
>
> However, it looks this regression was fixed on latest x server pkg.
> https://bugs.launchpad.net/ubuntu/quantal/+source/xorg-server/+bug/1100312
>
>
>
> > I remember seeing some patch in 1.8 for evas_gl. With what version did
> you test ?
>
> Now WebKit EFL is using evas-1.7.5 ver.
>
> Cheers,
> Gyuyoung
>
>
>
> On Wed, Apr 17, 2013 at 10:12 PM, Cedric BAIL <cedric.bail at free.fr> wrote:
>
>> Cedric Bail
>>
>> On Apr 17, 2013 2:48 AM, "Gyuyoung Kim" <gyuyoung.kim at webkit.org> wrote:
>> >
>> > Hi,
>> >
>> > In my opinion, we should support more newer Ubuntu ver. eventually.
>>  Thus, I ran the layout test on Ubuntu 12.10 64 bit, it looks there are two
>> issues now.
>> >
>> > 1. WebGL tests come to crash on Ubuntu 12.10 when WTR executes the
>> layout test.
>> >  => Temporary fix : Skip webgl tests in TestExpections file.
>> >
>> > 2. DumpRenderTree for WK1 doesn't support evas_gl rendering on Ubuntu
>> 12.10.
>> >  => Temporary fix : Use software rendering. For example, ecoreEvas =
>> ecore_evas_new(0, 0, 0, 800, 600, 0);
>>
>> Is it a bug due to evas_gl? I remember seeing some patch in 1.8 for
>> evas_gl. With what version did you test ?
>>
>> > It seems to me we're able to move to Ubuntu 12.10 if we fix two issues
>> now. I wonder how do WebKit EFL folks think about my suggestion. Any
>> opinion ?
>> >
>> > I file a bug for this issue as well.
>> > https://bugs.webkit.org/show_bug.cgi?id=114730
>> >
>> > If someone has different problems related to the layout test on Ubuntu
>> 12.10, please let me know.
>> >
>> > Cheers,
>> > Gyuyoung.
>> >
>> >
>> >
>> >
>> > On Tue, Apr 16, 2013 at 11:30 PM, Gyuyoung Kim <gyuyoung.kim at webkit.org>
>> wrote:
>> >>
>> >> Hi,
>> >>
>> >> There is a bug to shrink size of WTF::Vector.
>> >>
>> >> Bug 97268 - Shrink baseline size of WTF::Vector on 64-bit by switching
>> to unsigned capacity and size.
>> >> (https://bugs.webkit.org/show_bug.cgi?id=97268)
>> >>
>> >> However, efl ews reported a build error on this bug. It looks this
>> break came from GCC version. And, it was fixed on GCC 4.7.0.
>> >> (This is a GCC bug - https://bugs.webkit.org/show_bug.cgi?id=97268)
>> >>
>> >> I'm not sure if we should solve this problem by gcc version up. If we
>> decided to do the GCC version up, all WebKit EFL folks who use Ubuntu 12.04
>> should do same work for their local environment. I think this is too
>> inconvenience. On the other hand, we're not able to move to Ubuntu 12.10
>> due to the layout test yet. Does anyone have good idea how to solve this
>> problem ? Or, are there any news related to layout test on 12.10 ?
>> >>
>> >> I file a bug for this issue.
>> >>
>> >> Bug 114627 - [EFL] build error when adjusting attachment 198015
>> >> (https://bugs.webkit.org/show_bug.cgi?id=114627)
>> >>
>> >> Cheers,
>> >> Gyuyoung
>> >>
>> >
>> >
>> > _______________________________________________
>> > webkit-efl mailing list
>> > webkit-efl at lists.webkit.org
>> > https://lists.webkit.org/mailman/listinfo/webkit-efl
>> >
>>
>>
>> _______________________________________________
>> webkit-efl mailing list
>> webkit-efl at lists.webkit.org
>> https://lists.webkit.org/mailman/listinfo/webkit-efl
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-efl/attachments/20130420/82589c95/attachment-0001.html>


More information about the webkit-efl mailing list