[webkit-help] Build Webkit for ARM fail, please help to identify the problem

Rueyan Yeh rueyan.yeh at smartbridge-tech.com
Tue Aug 17 20:48:11 PDT 2010


Hi,

   The version is WebKit-SVN-source.tar.bz2.

   My build command is:

 ./build-webkit --gtk --prefix=/usr \
  --host=arm-sbt-linux-gnueabi --build=i686-pc-linux \
  --disable-geolocation \
  LDFLAGS="-L/home/rayeh/clfs/
usr/lib -L/home/rayeh/SBTool/sysroot/usr/lib" \
  CFLAGS="-I/home/rayeh/clfs/usr/include
-I/home/rayeh/SBTool/sysroot/usr/include" \
  CPPFLAGS="-I/home/rayeh/clfs/usr/include
-I/home/rayeh/SBTool/sysroot/usr/include" \
  CXX=arm-sbt-linux-gnueabi-g++ CC=arm-sbt-linux-gnueabi-gcc

   I got the error message:

 CXXLD  Programs/jsc
/home/rayeh/SBTool/tools/lib/gcc/arm-sbt-linux-gnueabi/4.5.1/../../../../arm-sbt-linux-gnueabi/bin/ld:
Programs/jsc: hidden symbol `__sync_val_compare_and_swap_4' in
/home/rayeh/SBTool/tools/lib/gcc/arm-sbt-linux-gnueabi/4.5.1/libgcc.a(linux-atomic.o)
is referenced by DSO
/home/rayeh/SBTool/tools/lib/gcc/arm-sbt-linux-gnueabi/4.5.1/../../../../arm-sbt-linux-gnueabi/bin/ld:
final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [Programs/jsc] Error 1
make[1]: Leaving directory
`/home/rayeh/build/svn_webkit/webkit/WebKitBuild/Release'

Can any one help to identify the problem.
By the way, I got the same error message for GCC 4.4.3 (eglibc 2.12.90,
binutils-2.20.1)

Thanks!

ruey-an
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100818/28cb96e4/attachment.html>


More information about the webkit-help mailing list