[#7168] 2012R1-RC2 fails to build speex

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#7168] 2012R1-RC2 fails to build speex

Submitted By: Mingquan Pan

Open Date

2012-06-25 02:23:50     Close Date

2012-06-26 01:25:17

Priority:

Medium     Assignee:

Mingquan Pan

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

N/A     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2012R1-RC2

Is this bug repeatable?:

N/A     

Summary: 2012R1-RC2 fails to build speex

Details:

 

2012R1-RC2 fails to build speex for missing head files.

 

/bin/sed -i -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' /home/test/workspace/src/kernel/output/build/speex-1.2rc1/libtool^M

^[[7m>>> speex 1.2rc1 Building^[[27m^M

/usr/bin/make -j2  -C /home/test/workspace/src/kernel/output/build/speex-1.2rc1/^M

make[1]: Entering directory `/home/test/workspace/src/kernel/output/build/speex-1.2rc1'^M

/usr/bin/make  all-recursive^M

make[2]: Entering directory `/home/test/workspace/src/kernel/output/build/speex-1.2rc1'^M

Making all in libspeex^M

make[3]: Entering directory `/home/test/workspace/src/kernel/output/build/speex-1.2rc1/libspeex'^M

if /bin/bash ../libtool --mode=compile /home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include     -pipe -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT cb_search.lo -MD -MP -MF ".deps/cb_search.Tpo" -c -o cb_search.lo cb_search.c; \^M

        then mv -f ".deps/cb_search.Tpo" ".deps/cb_search.Plo"; else rm -f ".deps/cb_search.Tpo"; exit 1; fi^M

if /bin/bash ../libtool --mode=compile /home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include     -pipe -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT exc_10_32_table.lo -MD -MP -MF ".deps/exc_10_32_table.Tpo" -c -o exc_10_32_table.lo exc_10_32_table.c; \^M

        then mv -f ".deps/exc_10_32_table.Tpo" ".deps/exc_10_32_table.Plo"; else rm -f ".deps/exc_10_32_table.Tpo"; exit 1; fi^M

mkdir .libs^M

/home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT exc_10_32_table.lo -MD -MP -MF .deps/exc_10_32_table.Tpo -c exc_10_32_table.c  -fPIC -DPIC -o .libs/exc_10_32_table.o^M

/home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT cb_search.lo -MD -MP -MF .deps/cb_search.Tpo -c cb_search.c  -fPIC -DPIC -o .libs/cb_search.o^M

/home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT exc_10_32_table.lo -MD -MP -MF .deps/exc_10_32_table.Tpo -c exc_10_32_table.c -o exc_10_32_table.o >/dev/null 2>&1^M

In file included from /usr/include/string.h:27,^M

                 from os_support.h:37,^M

                 from cb_search.c:42:^M

/usr/include/features.h:323:26: error: bits/predefs.h: No such file or directory^M

/usr/include/features.h:388:23: error: gnu/stubs.h: No such file or directory^M

In file included from os_support.h:38,^M

                 from cb_search.c:42:^M

/usr/include/stdio.h:846:30: error: bits/sys_errlist.h: No such file or directory^M

In file included from /usr/include/endian.h:61,^M

                 from /home/test/workspace/src/kernel/output/host/usr/bfin-unknown-linux-uclibc/sysroot/usr/include/bits/waitstatus.h:65,^M

                 from /usr/include/stdlib.h:43,^M

                 from os_support.h:39,^M

                 from cb_search.c:42:^M

/home/test/workspace/src/kernel/output/host/usr/bfin-unknown-linux-uclibc/sysroot/usr/include/bits/byteswap.h:11:3: error: #error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."^M

if /bin/bash ../libtool --mode=compile /home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include     -pipe -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT exc_8_128_table.lo -MD -MP -MF ".deps/exc_8_128_table.Tpo" -c -o exc_8_128_table.lo exc_8_128_table.c; \^M

        then mv -f ".deps/exc_8_128_table.Tpo" ".deps/exc_8_128_table.Plo"; else rm -f ".deps/exc_8_128_table.Tpo"; exit 1; fi^M

make[3]: *** [cb_search.lo] Error 1^M

make[3]: *** Waiting for unfinished jobs....^M

/home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT exc_8_128_table.lo -MD -MP -MF .deps/exc_8_128_table.Tpo -c exc_8_128_table.c  -fPIC -DPIC -o .libs/exc_8_128_table.o^M

/home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__NOMMU__ -D_GNU_SOURCE -fvisibility=hidden -MT exc_8_128_table.lo -MD -MP -MF .deps/exc_8_128_table.Tpo -c exc_8_128_table.c -o exc_8_128_table.o >/dev/null 2>&1^M

make[3]: Leaving directory `/home/test/workspace/src/kernel/output/build/speex-1.2rc1/libspeex'^M

make[2]: *** [all-recursive] Error 1^M

make[2]: Leaving directory `/home/test/workspace/src/kernel/output/build/speex-1.2rc1'^M

make[1]: *** [all] Error 2^M

make[1]: Leaving directory `/home/test/workspace/src/kernel/output/build/speex-1.2rc1'^M

make: *** [/home/test/workspace/src/kernel/output/build/speex-1.2rc1/.stamp_built] Error 2^M

 

Follow-ups

 

--- Mingquan Pan                                             2012-06-26 02:26:01

It needs to fix the host by installing more package, like gcc-multilib.

Not toolchain issue. So close.

 

--- Andrew McLachlan                                         2012-11-16 05:00:24

Why should installing gcc-multilib solve this problem?

 

The build command line

 

/home/test/workspace/src/kernel/output/host/usr/bin/bfin-linux-uclibc-gcc

-DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include

 

suggests that it's including /usr/include when building with the Blackfin GNU

tool chain. Is that right?

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes