Dario Castaño created HDFS-11440: ------------------------------------ Summary: Error compiling native libraries error: ^ ^ _mm_set_pd ^ ^ : target specific option mismatch Key: HDFS-11440 URL: https://issues.apache.org/jira/browse/HDFS-11440 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.3 Environment: Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1 (2016-12-30) i686 GNU/Linux
Machine: System: Hewlett-Packard product: HP Compaq dc7100 SFF(PC922A) serial: MXJ512018N Mobo: Hewlett-Packard model: 097Ch serial: MXJ512018N Bios: Hewlett-Packard v: 786C1 v01.05 date: 06/16/2004 Reporter: Dario Castaño Priority: Blocker When i try to build native libraries for my system, i'm getting this error: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7:48.369s [INFO] Finished at: Wed Feb 22 13:14:21 EST 2017 [INFO] Final Memory: 69M/247M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project hadoop-hdfs: An Ant BuildException has occured: exec returned: 1 [ERROR] around Ant part ...<exec failonerror="true" dir="/home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native" executable="cmake">... @ 5:146 in /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/antrun/build-main.xml [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project hadoop-hdfs: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec failonerror="true" dir="/home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native" executable="cmake">... @ 5:146 in /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/antrun/build-main.xml at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: exec returned: 1 around Ant part ...<exec failonerror="true" dir="/home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native" executable="cmake">... @ 5:146 in /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/antrun/build-main.xml at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:355) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/antrun/build-main.xml:5: exec returned: 1 at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327) ... 21 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-hdfs Taking a look to CMakeError.log, i found this output: Performing C SOURCE FILE Test HAVE_INTEL_SSE_INTRINSICS failed with the following output: Change Dir: /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTryCompileExec876335461/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec876335461.dir/build.make CMakeFiles/cmTryCompileExec876335461.dir/build make[1]: Entering directory '/home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec876335461.dir/src.c.o /usr/bin/cc -DHAVE_INTEL_SSE_INTRINSICS -o CMakeFiles/cmTryCompileExec876335461.dir/src.c.o -c /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdf$ /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp/src.c: In function ^ ^ main ^ ^ : /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp/src.c:2:26: warning: SSE vector return without SSE enabled change$ int main(void) { __m128d sum0 = _mm_set_pd(0.0,0.0); return 0; } ^ In file included from /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp/src.c:1:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/emmintrin.h:77:1: error: inlining failed in call to always_inline ^ ^ _mm_set_pd ^ ^ : target specific option mismatch _mm_set_pd (double __W, double __X) ^ /home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp/src.c:2:26: error: called from here int main(void) { __m128d sum0 = _mm_set_pd(0.0,0.0); return 0; } ^ CMakeFiles/cmTryCompileExec876335461.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec876335461.dir/src.c.o' failed make[1]: *** [CMakeFiles/cmTryCompileExec876335461.dir/src.c.o] Error 1 make[1]: Leaving directory '/home/hadoop/hadoop-2.7.3/src/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/target/native/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec876335461/fast' failed make: *** [cmTryCompileExec876335461/fast] Error 2 Source file was: #include <emmintrin.h> int main(void) { __m128d sum0 = _mm_set_pd(0.0,0.0); return 0; } -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org