build bluetooth into elf format fails at libglib2.
gvariant.c: In function 'g_variant_compare':^M
gvariant.c:2851: warning: control reaches end of non-void function^M
gvariant.c: In function 'g_variant_hash':^M
gvariant.c:2675: warning: control reaches end of non-void function^M
gvariant.c: At top level:^M
gvariant.c:4434: warning: 'valid_format_string' defined but not used^M
CC libglib_2_0_la-gvariant-parser.lo^M
gvariant.c: In function 'g_variant_builder_end':^M
gvariant.c:3582: warning: 'my_type' may be used uninitialized in this function^M
CC libglib_2_0_la-gvariant-serialiser.lo^M
gvariant-serialiser.c: In function 'g_variant_serialiser_needed_size':^M
gvariant-serialiser.c:1441: warning: control reaches end of non-void function^M
gvariant-serialiser.c: In function 'g_variant_serialised_n_children':^M
gvariant-serialiser.c:1325: warning: control reaches end of non-void function^M
CC libglib_2_0_la-gvarianttypeinfo.lo^M
CC libglib_2_0_la-gvarianttype.lo^M
gvarianttype.c:186: warning: 'g_variant_type_check' defined but not used^M
CC libglib_2_0_la-gversion.lo^M
CC libglib_2_0_la-gwakeup.lo^M
CC libglib_2_0_la-gprintf.lo^M
CC libglib_2_0_la-glib-unix.lo^M
CC libglib_2_0_la-gthread-posix.lo^M
CC giounix.lo^M
gthread-posix.c:659:2: error: #error Cannot support GCond on your platform.^M
gthread-posix.c:907:2: error: #error Cannot support GCond on your platform.^M
gthread-posix.c: In function 'g_cond_wait_until':^M
gthread-posix.c:870: warning: unused variable 'ts'^M
make[5]: [libglib_2_0_la-gthread-posix.lo] Error 1^M
make[5]: Waiting for unfinished jobs....^M
make[5]: Leaving directory /home/test/workspace/src/kernel/label/BF537-STAMP-AD1938/output/build/libglib2-2.42.0/glib'^M
make[4]: *** [all-recursive] Error 1^M
make[4]: Leaving directory
/home/test/workspace/src/kernel/label/BF537-STAMP-AD1938/output/build/libglib2-2.42.0/glib'^M
make[3]: [all] Error 2^M
make[3]: Leaving directory /home/test/workspace/src/kernel/label/BF537-STAMP-AD1938/output/build/libglib2-2.42.0/glib'^M
make[2]: *** [all-recursive] Error 1^M
make[2]: Leaving directory
/home/test/workspace/src/kernel/label/BF537-STAMP-AD1938/output/build/libglib2-2.42.0'^M
make[1]: [all] Error 2^M
make[1]: Leaving directory `/home/test/workspace/src/kernel/label/BF537-STAMP-AD1938/output/build/libglib2-2.42.0'^M
Can't replicated on buildroot 2015.02 master head via following command.
./build_bluetooth_kernel.exp BF537-STAMP
Please update the kernel source and build again. this issue happens on multiple boards after the last bluetooth 278 bug fixed.
GCond is not supported by the pthread lib in current uClibc library of the Blackfin toolchain. Since there is no plan to update the uClibc library for Blackfin, we have to mark the glib2 not supported on Blackfin trunk. And disable all glib2 dependent test suites, such as bluetooth on Blackfin.