[haiku-bugs] Re: [Haiku] #10924: Webpositive crashed WebCore::ResourceHandle::client()

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Sat, 05 Mar 2016 23:09:03 -0000

#10924: Webpositive crashed WebCore::ResourceHandle::client()
----------------------------------------+---------------------------------
   Reporter:  xray7224                  |      Owner:  pulkomandy
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:  11602                     |   Blocking:  12047, 12137, 12605
Has a Patch:  1                         |   Platform:  All
----------------------------------------+---------------------------------

Comment (by jessicah):

 Replying to [comment:22 markh]:

I tried to make a patch for that, but wanted to test it first. When I
 now try to compile HaikuLauncher it errors out with:


{{{
[2/26] Linking CXX shared library lib/libWebKit.so.1.5.2
FAILED: : && /bin/g++-x86  -fPIC -march=i686  -std=c++11 -O3 -DNDEBUG
 -fno-exceptions -fno-strict-aliasing -fno-rtti -frtti  -Wl,--no-undefined
 -shared -Wl,-soname,libWebKit.so.1 -o lib/libWebKit.so.1.5.2
 @CMakeFiles/WebKit.rsp  && :

 
lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/haiku/RenderThemeHaiku.cpp.o:
 In function
 `WebCore::RenderThemeHaiku::paintSliderTrack(WebCore::RenderObject const&,
 WebCore::PaintInfo const&, WebCore::IntRect const&)':
RenderThemeHaiku.cpp:(.text+0x1149): undefined reference to
 `WebCore::RenderObject::style() const'

 
lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/haiku/RenderThemeHaiku.cpp.o:
 In function
 `WebCore::RenderThemeHaiku::paintSliderThumb(WebCore::RenderObject const&,
 WebCore::PaintInfo const&, WebCore::IntRect const&)':
RenderThemeHaiku.cpp:(.text+0x1293): undefined reference to
 `WebCore::RenderObject::style() const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

}}}

What could be the cause of that?

 I recently tried to build haikuwebkit too, and also ran into the same
 error. I've upgraded my system to gcc5, and am wondering if this is the
 issue?

--
Ticket URL: <https://dev.haiku-os.org/ticket/10924#comment:23>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: