[Webkit-unassigned] [Bug 15079] New: Fails to build on arm (debian)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 26 00:49:16 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15079

           Summary: Fails to build on arm (debian)
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mh+webkit at glandium.org


WebKit fails to build in the JavaScriptCore/kjs directory on arm, with the
following error:

g++ -c -g -O2 -Wall -D_REENTRANT -I/usr/include -Wreturn-type
-fno-strict-aliasing -g -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/libxml2 -I/usr/include/libxml2 -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC -DQT_SHARED -DBUILDING_GDK__=1
-DBUILDING_CAIRO__ -DUSE_SYSTEM_MALLOC -DNDEBUG -DHAVE_STDINT_H -DBUILD_WEBKIT
-DENABLE_ICONDATABASE=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_SVG=1
-DWTF_CHANGES=1 -DBUILDING_GDK__ -I/usr/share/qt4/mkspecs/linux-g++
-I../../WebCore -I../../WebCore/platform/gdk
-I../../WebCore/platform/network/curl -I../../WebCore/platform/graphics/cairo
-I../../WebCore/loader/gdk -I../../WebCore/page/gdk -I../../WebKit/gtk/Api
-I../../WebKit/gtk/WebCoreSupport -I../../JavaScriptCore
-I../../JavaScriptCore/kjs -I../../JavaScriptCore/bindings
-I../../JavaScriptCore/bindings/c -I../../JavaScriptCore/wtf
-I../../JavaScriptCore/ForwardingHeaders -I../../WebCore
-I../../WebCore/ForwardingHeaders -I../../WebCore/platform
-I../../WebCore/platform/network -I../../WebCore/platform/graphics
-I../../WebCore/loader -I../../WebCore/page -I../../WebCore/css
-I../../WebCore/dom -I../../WebCore/bridge -I../../WebCore/editing
-I../../WebCore/rendering -I../../WebCore/history -I../../WebCore/xml
-I../../WebCore/html -Itmp -Itmp -Itmp -I../../JavaScriptCore
-I../../JavaScriptCore/kjs -I../../JavaScriptCore/bindings
-I../../JavaScriptCore/bindings/c -I../../JavaScriptCore/wtf
-I../../JavaScriptCore/pcre
-I/build/buildd/webkit-0~svn25144/build-gdk/JavaScriptCore/kjs/tmp
-I../../WebCore/platform/graphics/svg/cairo
-I../../WebCore/platform/image-decoders/bmp
-I../../WebCore/platform/image-decoders/gif
-I../../WebCore/platform/image-decoders/ico
-I../../WebCore/platform/image-decoders/jpeg
-I../../WebCore/platform/image-decoders/png
-I../../WebCore/platform/image-decoders/xbm -I../../WebCore
-I../../WebCore/ForwardingHeaders -I../../../webkit-0~svn25144
-I../../JavaScriptCore/kjs -I../../JavaScriptCore/bindings
-I../../WebCore/platform -I../../WebCore/platform/network
-I../../WebCore/platform/graphics -I../../WebCore/platform/graphics/svg
-I../../WebCore/platform/graphics/svg/filters -I../../WebCore/loader
-I../../WebCore/loader/icon -I../../WebCore/css -I../../WebCore/dom
-I../../WebCore/page -I../../WebCore/bridge -I../../WebCore/editing
-I../../WebCore/rendering -I../../WebCore/history -I../../WebCore/xml
-I../../WebCore/html -I../../WebCore/bindings/js -I../../WebCore/ksvg2
-I../../WebCore/ksvg2/css -I../../WebCore/ksvg2/svg -I../../WebCore/ksvg2/misc
-I../../WebCore/ksvg2/events -I../../WebCore/platform/image-decoders
-I../../WebKitQt/WebCoreSupport -I../../WebCore -I. -o tmp/ustring.o
../../JavaScriptCore/kjs/ustring.cpp
../../JavaScriptCore/kjs/ustring.cpp:85: error: size of array
'dummyuchar_is_2_bytes' is negative

It seems the PLATFORM(ARM) test doesn't work properly, at least on debian's arm
toolchain. I'll attach a patch that should fix this issue (not tested yet).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list