hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Robinson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7276) Hadoop native builds fail on ARM due to -m32
Date Thu, 12 May 2011 20:26:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032649#comment-13032649

Trevor Robinson commented on HADOOP-7276:

No tests included because this change just fixes a build failure. Manually verified that x86-64
builds unchanged (-m64 is properly specified) and that ARM now builds (-m32 is not specified).

Findbugs issue seems to be a configuration issue unrelated to change. From console output:

     [exec] findbugs:
     [exec]     [mkdir] Created dir: /grid/0/hudson/hudson-slave/workspace/PreCommit-HADOOP-Build/trunk/build/test/findbugs
     [exec]  [findbugs] Executing findbugs from ant task
     [exec]  [findbugs] Running FindBugs...
     [exec]  [findbugs] The following classes needed for analysis were missing:
     [exec]  [findbugs]   com.sun.javadoc.Doclet
     [exec]  [findbugs]   com.sun.javadoc.DocErrorReporter
     [exec]  [findbugs]   com.sun.javadoc.AnnotationTypeDoc
     [exec]  [findbugs]   com.sun.javadoc.RootDoc
     [exec]  [findbugs]   com.sun.javadoc.MethodDoc
     [exec]  [findbugs]   com.sun.javadoc.Doc
     [exec]  [findbugs]   com.sun.javadoc.PackageDoc
     [exec]  [findbugs]   com.sun.javadoc.LanguageVersion
     [exec]  [findbugs]   com.sun.javadoc.AnnotationDesc
     [exec]  [findbugs]   com.sun.javadoc.ConstructorDoc
     [exec]  [findbugs]   com.sun.javadoc.FieldDoc
     [exec]  [findbugs]   com.sun.javadoc.ProgramElementDoc
     [exec]  [findbugs]   com.sun.javadoc.ClassDoc
     [exec]  [findbugs]   com.sun.tools.doclets.standard.Standard
     [exec]  [findbugs] Warnings generated: 1
     [exec]  [findbugs] Missing classes: 15
     [exec]  [findbugs] Calculating exit code...
     [exec]  [findbugs] Setting 'missing class' flag (2)
     [exec]  [findbugs] Setting 'bugs found' flag (1)
     [exec]  [findbugs] Exit code set to: 3
     [exec]  [findbugs] Classes needed for analysis were missing
     [exec]  [findbugs] Output saved to /grid/0/hudson/hudson-slave/workspace/PreCommit-HADOOP-Build/trunk/build/test/findbugs/hadoop-findbugs-report.xml
     [exec]  [findbugs] Java Result: 3

Also, the precommit build queue (https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/)
seems to be hanging multiple recent jobs at "Recording test results". They're still running
at >1hr.

Would a committer please review the change and let me know if I need to resubmit it?

> Hadoop native builds fail on ARM due to -m32
> --------------------------------------------
>                 Key: HADOOP-7276
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7276
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 0.21.0
>         Environment: $ gcc -v
> Using built-in specs.
> COLLECT_LTO_WRAPPER=/usr/lib/arm-linux-gnueabi/gcc/arm-linux-gnueabi/4.5.2/lto-wrapper
> Target: arm-linux-gnueabi
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4'
--with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++
--prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=arm-linux-gnueabi
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/arm-linux-gnueabi --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/arm-linux-gnueabi
--enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc
--disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb
--disable-werror --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi
> Thread model: posix
> gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
> $ uname -a
> Linux panda0 2.6.38-1002-linaro-omap #3-Ubuntu SMP Fri Apr 15 14:00:54 UTC 2011 armv7l
armv7l armv7l GNU/Linux
>            Reporter: Trevor Robinson
>         Attachments: hadoop-common-arm.patch
> The native build fails on machine targets where gcc does not support -m32. This is any
target other than x86, SPARC, RS/6000, or PowerPC, such as ARM.
> $ ant -Dcompile.native=true
> ...
>      [exec] make  all-am
>      [exec] make[1]: Entering directory
> `/home/trobinson/dev/hadoop-common/build/native/Linux-arm-32'
>      [exec] /bin/bash ./libtool  --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I/home/trobinson/dev/hadoop-common/src/native
> -I/usr/lib/jvm/java-6-openjdk/include
> -I/usr/lib/jvm/java-6-openjdk/include/linux
> -I/home/trobinson/dev/hadoop-common/src/native/src
> -Isrc/org/apache/hadoop/io/compress/zlib
> -Isrc/org/apache/hadoop/security -Isrc/org/apache/hadoop/io/nativeio/
> -g -Wall -fPIC -O2 -m32 -g -O2 -MT ZlibCompressor.lo -MD -MP -MF
> .deps/ZlibCompressor.Tpo -c -o ZlibCompressor.lo `test -f
> 'src/org/apache/hadoop/io/compress/zlib/ZlibCompressor.c' || echo
> '/home/trobinson/dev/hadoop-common/src/native/'`src/org/apache/hadoop/io/compress/zlib/ZlibCompressor.c
>      [exec] libtool: compile:  gcc -DHAVE_CONFIG_H -I.
> -I/home/trobinson/dev/hadoop-common/src/native
> -I/usr/lib/jvm/java-6-openjdk/include
> -I/usr/lib/jvm/java-6-openjdk/include/linux
> -I/home/trobinson/dev/hadoop-common/src/native/src
> -Isrc/org/apache/hadoop/io/compress/zlib
> -Isrc/org/apache/hadoop/security -Isrc/org/apache/hadoop/io/nativeio/
> -g -Wall -fPIC -O2 -m32 -g -O2 -MT ZlibCompressor.lo -MD -MP -MF
> .deps/ZlibCompressor.Tpo -c
> /home/trobinson/dev/hadoop-common/src/native/src/org/apache/hadoop/io/compress/zlib/ZlibCompressor.c
>  -fPIC -DPIC -o .libs/ZlibCompressor.o
>      [exec] make[1]: Leaving directory
> `/home/trobinson/dev/hadoop-common/build/native/Linux-arm-32'
>      [exec] cc1: error: unrecognized command line option "-m32"
>      [exec] make[1]: *** [ZlibCompressor.lo] Error 1
>      [exec] make: *** [all] Error 2

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message