impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Casey Ching <ca...@cloudera.com>
Subject Re: ld internal error while linking impalad
Date Fri, 18 Mar 2016 23:22:05 GMT
Taras and I looked at this. He was able to build after using the new binutils. I’m going
to revert the binutils change and rebuild the artifacts.

On March 18, 2016 at 4:07:07 PM, Taras Bobrovytsky (tbobrovytsky@cloudera.com) wrote:

I'm seeing something similar:  

[100%] Building CXX object  
be/src/service/CMakeFiles/impalad.dir/daemon-main.cc.o  
Linking CXX executable ../../build/debug/service/impalad  
/opt/Impala-Toolchain/openldap-2.4.25/lib/libldap.a(os-ip.o): In function  
`ldap_int_poll':  
os-ip.c:(.text+0x2a6): warning: `sys_errlist' is deprecated; use `strerror'  
or `strerror_r' instead  
os-ip.c:(.text+0x29a): warning: `sys_nerr' is deprecated; use `strerror' or  
`strerror_r' instead  
/usr/bin/ld:  
/opt/Impala-Toolchain/boost-1.57.0/lib/libboost_thread.a(thread.o):  
unrecognized relocation (0x2a) in section `.text'  
/usr/bin/ld: final link failed: Bad value  
collect2: error: ld returned 1 exit status  
make[3]: *** [be/build/debug/service/impalad] Error 1  
make[2]: *** [be/src/service/CMakeFiles/impalad.dir/all] Error 2  
make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2  
make: *** [impalad] Error 2  
Error in /home/dev/Impala/bin/make_impala.sh at line 123: make  
-j${IMPALA_BUILD_THREADS:-4} impalad  
Error in ./buildall.sh at line 269: $IMPALA_HOME/bin/make_impala.sh  
${MAKE_IMPALA_ARGS}  

On Fri, Mar 18, 2016 at 4:02 PM, Jim Apple <jbapple@cloudera.com> wrote:  

> Has anyone seen this one before? I googled around and couldn't find anyone  
> who had a repro, but I've seen this twice today.  
>  
> [100%] Building CXX object  
> be/src/service/CMakeFiles/impalad.dir/daemon-main.cc.o  
> Linking CXX executable ../../build/debug/service/impalad  
> /tmp/impala-deps/openldap-2.4.25/lib/libldap.a(os-ip.o): In function  
> `ldap_int_poll':  
> os-ip.c:(.text+0x2a6): warning: `sys_errlist' is deprecated; use `strerror'  
> or `strerror_r' instead  
> os-ip.c:(.text+0x29a): warning: `sys_nerr' is deprecated; use `strerror' or  
> `strerror_r' instead  
> /usr/bin/ld: BFD version 2.20.51.0.2-5.36.el6 20100205 internal error,  
> aborting at reloc.c line 443 in bfd_get_reloc_size  
>  
> /usr/bin/ld: Please report this bug.  
>  
> collect2: error: ld returned 1 exit status  
> make[3]: *** [be/build/debug/service/impalad] Error 1  
>  

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message