[oe-commits] [Bug 5171] New: gpe-mini-browser doesn't compile (gtk-webcore fails)
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Sun Jun 14 17:55:25 UTC 2009
http://bugs.openembedded.org/show_bug.cgi?id=5171
Summary: gpe-mini-browser doesn't compile (gtk-webcore fails)
Product: Openembedded
Version: Angstrom 2008.x
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: quickx at hotmail.com
I'm using a Ubuntu machine with the latest OE and Angstrom 2008/x distribution.
When I enable the "gpe-mini-browswer" package the build fails with the
following:
$ bitbake my-x11-image
...
isystem/home/dustin/oe/build/tmp/staging/armv5te-angstrom-linux-
gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-
pointer -O2 -fpermissive -fvisibility-inlines-hidden -fno-exceptions -fno-rtti
-
nostdinc++ -fno-threadsafe-statics -MT protected_values.lo -MD -MP -MF
.deps/protected_values.Tpo -c protected_values.cpp -fPIC -DPIC -o
.libs/protected_values.o
| protected_values.cpp:215: error: explicit template specialization cannot have
a storage class
| protected_values.cpp:234: error: explicit template specialization cannot have
a storage class
| make[3]: *** [protected_values.lo] Error 1
| make[3]: Leaving directory `/home/dustin/oe/build/tmp/work/armv5te-angstrom-
linux-gnueabi/osb-jscore-0.5.2+svnr117-r1/JavaScriptCore/kjs'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/dustin/oe/build/tmp/work/armv5te-angstrom-
linux-gnueabi/osb-jscore-0.5.2+svnr117-r1/JavaScriptCore/kjs'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/dustin/oe/build/tmp/work/armv5te-angstrom-
linux-gnueabi/osb-jscore-0.5.2+svnr117-r1/JavaScriptCore'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/dustin/oe/build/tmp/work/armv5te-angstrom-linux-
gnueabi/osb-jscore-0.5.2+svnr117-r1/temp/log.do_compile.10444
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dustin/oe/openembedded/recipes/gtk-webcore/osb-
jscore_svn.bb do_compile failed
ERROR: Task 4088 (/home/dustin/oe/openembedded/recipes/gtk-webcore/osb-
jscore_svn.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 1813 tasks of which 0 didn't need to be rerun
and
1 failed.
ERROR: '/home/dustin/oe/openembedded/recipes/gtk-webcore/osb-jscore_svn.bb'
failed
$
---Solutions I Have Found---
a. Solution 1: In the file "protected_values.cpp" (/oe/build/tmp/work/armv5te-
angstrom-linux-gnueabi/osb-jscore-0.5.2+svnr117-
r1/JavaScriptCore/kjs/protected_values.cpp). You can remove static from the
following two lines and it compiles file. It opens on the board but I haven't
been able to test with internet.
~Line 189 (protected_values.cpp): template <> static inline unsigned
hash<4>(ValueImp *pointer)
~Line 117 (protect_values.cpp): template <> static inline unsigned
hash<8>(ValueImp *pointer)
b. Solution 2: Using the GCC 4.2.x compiler instead of 4.3.
---Full Error Logs if Needed---
log.do_compile.10444: http://www.mediafire.com/?ehjdxgindzt
run.do_compile.10444: http://www.mediafire.com/?h2zttcmjyyu
---Conclusion---
This is the only package I've run into that doesn't compile with 4.3.3 and it
would be nice if it got updated :)
If any additional info is needed I can attempt to provide.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list