[#6571] qemu doesn't build on old distributions

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

[#6571] qemu doesn't build on old distributions

Submitted By: Stuart Henderson

Open Date

2011-05-02 13:14:16     Close Date

2012-03-12 11:50:33

Priority:

Medium     Assignee:

Mike Frysinger

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2011R1

Is this bug repeatable?:

yes     

Summary: qemu doesn't build on old distributions

Details:

 

qemu doesn't currently build on old distributions (like Suse 8 on our release builder).

 

we start off with a few missing macros, but hacking around that results in further problems down the line (like missing typedefs).

 

Just a vanilla BuildToolchain should be enough to reproduce on a clean Suse 8 install.

 

  CC    libuser/cache-utils.o

  GEN   config-target.h

  CC    bfin-linux-user/main.o

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/main.c: In function `main':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/main.c:2857: warning: comparison between signed and unsigned

  CC    bfin-linux-user/syscall.o

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `host_to_target_rlim':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:870: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `target_to_host_cmsg':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1132: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `host_to_target_cmsg':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1189: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1203: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `do_setsockopt':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1291: error: `IP_BLOCK_SOURCE' undeclared (first use in this function)

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1291: error: (Each undeclared identifier is reported only once

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1291: error: for each function it appears in.)

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1292: error: `IP_UNBLOCK_SOURCE' undeclared (first use in this function)

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1293: error: `IP_ADD_SOURCE_MEMBERSHIP' undeclared (first use in this function)

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1294: error: `IP_DROP_SOURCE_MEMBERSHIP' undeclared (first use in this function)

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `do_getsockopt':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1470: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1507: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:1513: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `target_to_host_sembuf':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:2443: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `do_shmat':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:2823: warning: comparison between signed and unsigned

In file included from /usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:3100:

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/ioctls.h: At top level:

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/ioctls.h:68: error: `u64' undeclared here (not in a function)

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `do_ioctl':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:3121: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c: In function `do_syscall':

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:5503: warning: signed and unsigned type in conditional expression

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:5593: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:5593: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:5670: warning: comparison between signed and unsigned

/usr/src/packages/BUILD/blackfin-toolchain-2011R1/qemu/linux-user/syscall.c:7386: warning: implicit declaration of function `readahead'

make[1]: *** [syscall.o] Error 1

make: *** [subdir-bfin-linux-user] Error 2

 

Follow-ups

 

--- Stuart Henderson                                         2011-08-10 06:02:51

this will only be fixed when we move to a newer distro for our release builds.

since qemu has never been in our releases, i'm bumping this down to medium.

 

--- Stuart Henderson                                         2012-03-12 12:33:36

i'm closing this as fixed, as we're using a new build machine which doesn't

suffer from this particular issue.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes