[#7265] trunk head toolchain fails to build trunk head buildroot

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

[#7265] trunk head toolchain fails to build trunk head buildroot

Submitted By: Mingquan Pan

Open Date

2012-08-16 23:10:19     Close Date

2012-09-10 06:41:52

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

Out of Date     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: trunk head toolchain fails to build trunk head buildroot

Details:

 

trunk head toolchain fails to build trunk head buildroot now.

 

It fails like:

 

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

  SPLIT   include/autoconf.h -> include/config/*^M

  HOSTCC  applets/usage^M

applets/usage.c: In function ‘main’:^M

applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]^M

  GEN     include/bbconfigopts.h^M

  HOSTCC  applets/applet_tables^M

applets/applet_tables.c: In function ‘main’:^M

applets/applet_tables.c:138:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]^M

  GEN     include/usage_compressed.h^M

  GEN     include/applet_tables.h^M

  HOSTCC  applets/usage_pod^M

applets/usage_pod.c: In function ‘main’:^M

applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments [-Wformat-security]^M

  CC      applets/applets.o^M

  LD      applets/built-in.o^M

  DOC     busybox.pod^M

  DOC     BusyBox.txt^M

  DOC     busybox.1^M

  LD      archival/built-in.o^M

  CC      archival/bbunzip.o^M

  CC      archival/bzip2.o^M

  LD      archival/libarchive/built-in.o^M

  CC      archival/libarchive/data_align.o^M

  CC      archival/libarchive/data_extract_all.o^M

  CC      archival/libarchive/data_extract_to_command.o^M

  CC      archival/libarchive/data_extract_to_stdout.o^M

  CC      archival/libarchive/data_skip.o^M

...

  CC      util-linux/hexdump.o^M

  CC      util-linux/hwclock.o^M

  CC      util-linux/losetup.o^M

  CC      util-linux/lsusb.o^M

  CC      util-linux/mdev.o^M

  CC      util-linux/mkfs_ext2.o^M

util-linux/mkfs_ext2.c:12:27: error: linux/ext2_fs.h: No such file or directory^M

util-linux/mkfs_ext2.c: In function ‘mkfs_ext2_main’:^M

util-linux/mkfs_ext2.c:249: error: invalid application of ‘sizeof’ to incomplete type ‘struct ext2_inode’ ^M

util-linux/mkfs_ext2.c:254: error: ‘EXT2_MAX_BLOCK_SIZE’ undeclared (first use in this function)^M

util-linux/mkfs_ext2.c:254: error: (Each undeclared identifier is reported only once^M

util-linux/mkfs_ext2.c:254: error: for each function it appears in.)^M

util-linux/mkfs_ext2.c:263: error: ‘EXT2_MIN_BLOCK_SIZE’ undeclared (first use in this function)^M

util-linux/mkfs_ext2.c:271: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:289: error: ‘EXT2_MIN_BLOCK_LOG_SIZE’ undeclared (first use in this function)^M

util-linux/mkfs_ext2.c:314: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:330: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:342: error: ‘EXT2_GOOD_OLD_FIRST_INO’ undeclared (first use in this function)^M

util-linux/mkfs_ext2.c:362: error: ‘EXT2_NDIR_BLOCKS’ undeclared (first use in this function)^M

util-linux/mkfs_ext2.c:407: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:442: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:442: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:442: error: ‘EXT2_DYNAMIC_REV’ undeclared (first use in this function)^M

util-linux/mkfs_ext2.c:442: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:442: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:442: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:442: error: dereferencing pointer to incomplete type^M

util-linux/mkfs_ext2.c:443: error: dereferencing pointer to incomplete type^M

 

 

while with 2012R1-rc2 toolchain, it can build trunk head buildroot.

 

 

Follow-ups

 

--- Mike Frysinger                                           2012-08-20 14:40:34

update busybox to the latest version -- this has been fixed there

 

--- Mingquan Pan                                             2012-08-30 23:55:59

ok, now it use busybox 1.18.x , and the error changes to:

 

make[4]: Nothing to be done for `all-am'.^M

make[4]: Leaving directory

`/home/test/workspace/src/kernel/output/build/alsa-lib-1.0.25/src/pcm'^M

  CC     mask.lo^M

  CC     interval.lo^M

  CC     pcm.lo^M

  CC     pcm_params.lo^M

  CC     pcm_simple.lo^M

  CC     pcm_hw.lo^M

  CC     pcm_misc.lo^M

  CC     pcm_mmap.lo^M

  CC     pcm_symbols.lo^M

  CC     pcm_generic.lo^M

  CC     pcm_plugin.lo^M

  CC     pcm_copy.lo^M

  CC     pcm_linear.lo^M

  CC     pcm_route.lo^M

  CC     pcm_mulaw.lo^M

  CC     pcm_alaw.lo^M

  CC     pcm_adpcm.lo^M

  CC     pcm_rate.lo^M

  CC     pcm_rate_linear.lo^M

  CC     pcm_plug.lo^M

  CC     pcm_multi.lo^M

  CC     pcm_shm.lo^M

  CC     pcm_file.lo^M

  CC     pcm_null.lo^M

  CC     pcm_empty.lo^M

  CC     pcm_share.lo^M

  CC     pcm_meter.lo^M

pcm_meter.c: In function 'snd_pcm_meter_update_scope':^M

pcm_meter.c:139: warning: passing argument 1 of 'bfin_atomic_sub32' discards

qualifiers from pointer target type^M

pcm_meter.c: In function 'snd_pcm_meter_thread':^M

pcm_meter.c:232: warning: passing argument 1 of 'bfin_atomic_sub32' discards

qualifiers from pointer target type^M

pcm_meter.c: In function 'snd_pcm_meter_prepare':^M

pcm_meter.c:291: warning: passing argument 1 of 'bfin_atomic_add32' discards

qualifiers from pointer target type^M

  CC     pcm_hooks.lo^M

  CC     pcm_lfloat.lo^M

  CC     pcm_ladspa.lo^M

  CC     pcm_dmix.lo^M

In file included from pcm_local.h:33,^M

                 from pcm_ladspa.c:40:^M

../../include/local.h:284: error: conflicting types for 'versionsort'^M

/home/test/workspace/src/kernel/output/host/usr/bfin-unknown-linux-uclibc/sysroot/usr/include/dirent.h:345:

error: previous declaration of 'versionsort' was here^M

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

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

make[3]: Leaving directory

`/home/test/workspace/src/kernel/output/build/alsa-lib-1.0.25/src/pcm'^M

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

make[2]: Leaving directory

`/home/test/workspace/src/kernel/output/build/alsa-lib-1.0.25/src'^M

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

make[1]: Leaving directory

`/home/test/workspace/src/kernel/output/build/alsa-lib-1.0.25'^M

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes