[oe] [meta-openembedded] libgcc-4.5.1: ERROR: QA Issue: No GNU_HASH in the elf binary libgcc_s.so.1

Elvis Dowson elvis.dowson at gmail.com
Fri Aug 10 15:32:48 UTC 2012


Hi,

On Aug 10, 2012, at 6:57 PM, Khem Raj wrote:

>> Adding the TARGET_CC_ARCH += "{LDFLAGS} to both gcc-configure-common.inc in the poky layer, and to libgcc-4.5.inc in the meta-openembedded/toolchain layer helped me get past the QA Error for libgcc, but now I get a whole bunch of similar errors for a whole bunch of other packages.
>> 
>> NOTE: Running noexec task 967 of 974 (ID: 7, /tool/yocto/meta-openembedded/toolchain-layer/recipes-devtools/gcc/gcc_4.5.bb, do_package_write)
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-lib/usr/lib/libperl.so.5.14.2'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-byte/usr/lib/perl/5.14.2/auto/Encode/Byte/Byte.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-cn/usr/lib/perl/5.14.2/auto/Encode/CN/CN.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-ebcdic/usr/lib/perl/5.14.2/auto/Encode/EBCDIC/EBCDIC.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-jp/usr/lib/perl/5.14.2/auto/Encode/JP/JP.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-kr/usr/lib/perl/5.14.2/auto/Encode/KR/KR.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-symbol/usr/lib/perl/5.14.2/auto/Encode/Symbol/Symbol.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-tw/usr/lib/perl/5.14.2/auto/Encode/TW/TW.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode-unicode/usr/lib/perl/5.14.2/auto/Encode/Unicode/Unicode.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-b/usr/lib/perl/5.14.2/auto/B/B.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-compress/usr/lib/perl/5.14.2/auto/Compress/Raw/Zlib/Zlib.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-compress/usr/lib/perl/5.14.2/auto/Compress/Raw/Bzip2/Bzip2.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-cwd/usr/lib/perl/5.14.2/auto/Cwd/Cwd.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-data/usr/lib/perl/5.14.2/auto/Data/Dumper/Dumper.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-devel/usr/lib/perl/5.14.2/auto/Devel/Peek/Peek.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-devel/usr/lib/perl/5.14.2/auto/Devel/PPPort/PPPort.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-devel/usr/lib/perl/5.14.2/auto/Devel/DProf/DProf.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-digest/usr/lib/perl/5.14.2/auto/Digest/MD5/MD5.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-digest/usr/lib/perl/5.14.2/auto/Digest/SHA/SHA.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-encode/usr/lib/perl/5.14.2/auto/Encode/Encode.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-fcntl/usr/lib/perl/5.14.2/auto/Fcntl/Fcntl.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-file/usr/lib/perl/5.14.2/auto/File/Glob/Glob.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-filter/usr/lib/perl/5.14.2/auto/Filter/Util/Call/Call.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-gdbm-file/usr/lib/perl/5.14.2/auto/GDBM_File/GDBM_File.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-hash/usr/lib/perl/5.14.2/auto/Hash/Util/Util.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-hash/usr/lib/perl/5.14.2/auto/Hash/Util/FieldHash/FieldHash.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-i18n/usr/lib/perl/5.14.2/auto/I18N/Langinfo/Langinfo.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-io/usr/lib/perl/5.14.2/auto/IO/IO.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-ipc/usr/lib/perl/5.14.2/auto/IPC/SysV/SysV.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-list/usr/lib/perl/5.14.2/auto/List/Util/Util.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-mime/usr/lib/perl/5.14.2/auto/MIME/Base64/Base64.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-math/usr/lib/perl/5.14.2/auto/Math/BigInt/FastCalc/FastCalc.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-opcode/usr/lib/perl/5.14.2/auto/Opcode/Opcode.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-posix/usr/lib/perl/5.14.2/auto/POSIX/POSIX.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-perlio/usr/lib/perl/5.14.2/auto/PerlIO/scalar/scalar.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-perlio/usr/lib/perl/5.14.2/auto/PerlIO/via/via.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-perlio/usr/lib/perl/5.14.2/auto/PerlIO/encoding/encoding.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-sdbm-file/usr/lib/perl/5.14.2/auto/SDBM_File/SDBM_File.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-socket/usr/lib/perl/5.14.2/auto/Socket/Socket.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-storable/usr/lib/perl/5.14.2/auto/Storable/Storable.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-sys/usr/lib/perl/5.14.2/auto/Sys/Hostname/Hostname.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-sys/usr/lib/perl/5.14.2/auto/Sys/Syslog/Syslog.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-text/usr/lib/perl/5.14.2/auto/Text/Soundex/Soundex.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-time/usr/lib/perl/5.14.2/auto/Time/HiRes/HiRes.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-time/usr/lib/perl/5.14.2/auto/Time/Piece/Piece.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-unicode/usr/lib/perl/5.14.2/auto/Unicode/Normalize/Normalize.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-unicode/usr/lib/perl/5.14.2/auto/Unicode/Collate/Collate.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-attributes/usr/lib/perl/5.14.2/auto/attributes/attributes.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-mro/usr/lib/perl/5.14.2/auto/mro/mro.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-re/usr/lib/perl/5.14.2/auto/re/re.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/threads.so'
>> ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
>> ERROR: QA run found fatal errors. Please consider fixing them.
>> ERROR: Function failed: do_package_qa
>> ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/perl-5.14.2-r8/temp/log.do_package.39956
>> NOTE: package perl-5.14.2-r8: task do_package: Failed
>> ERROR: Task 322 (/tool/yocto/poky/meta/recipes-devtools/perl/perl_5.14.2.bb, do_package) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 967 tasks of which 828 didn't need to be rerun and 1 failed.
>> 
>> 
>> What should I do? It doesn't happen with gcc-4.6 or gcc-4.7.
> 
> 
> Add the same option to recipes. Gcc 4.5 did not do gnu hash by default
> 

That explains it. 

I'm going to divert a bit, and try something else like switching to an external toolchain, that is known to work with powerpc, just to narrow down, to check if it is gcc that is the actual source of my root filesystem dynamic linker/loader/interpreter problems.

I found a whole bunch here:

http://sourcery.mentor.com/public/gnu_toolchain/

Which one should I use:

powerpc-eabi
powerpc-linux-gnu
powerpc-mentor-linux-gnu

Best regards,

Elvis Dowson







More information about the Openembedded-devel mailing list