1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<think>
Okay, so I'm trying to figure out whether this error in the QEMU bug report is user-mode related or system-mode related. The error message says "ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T." and suggests setting PKG_CONFIG_LIBDIR.
First, let me understand what's happening here. The user is trying to build QEMU 2.6.0-rc4 on Ubuntu Mate 16.04 PPC64. When running ./configure, this error pops up about the size of size_t not matching GLIB_SIZEOF_SIZE_T. The system is suggesting that PKG_CONFIG_LIBDIR might need to be set to point to the correct pkg-config files for the build target.
So, I remember that when compiling software from source, especially on different architectures or systems, sometimes there are issues with how libraries are found and linked. The mention of GLIB makes me think it's related to the GLib library, which is a common C library used in many projects.
PKG_CONFIG_LIBDIR is an environment variable that tells pkg-config where to look for .pc files, which contain information about installed packages. If this isn't set correctly, configure scripts might not find the right versions of libraries or might pick up the wrong ones, leading to build errors.
The error is specifically about a size mismatch between the system's size_t and what GLIB expects. This could mean that the compiler or linker is using a different library version than expected, perhaps because it's finding the wrong set of pkg-config files. For example, if the user has multiple versions of GLib installed (like one for the host system and another for cross-compiling), pkg-config might be picking up the wrong one.
Now, thinking about whether this is a user-mode or system-mode issue. User-mode issues typically involve running applications without special privileges, while system-mode involves higher-level operations like device drivers, hardware access, etc.
In this case, the error seems to be related to building QEMU, which can run in both modes. However, the specific error here is during the configure step, which is about setting up the build environment correctly. It doesn't seem to directly relate to running a virtual machine or interacting with system hardware; it's more about the build process and library configuration.
Therefore, I think this issue is related to user-mode because it's about building QEMU rather than running it in a way that requires system-level privileges. The error suggests an environment setup problem during compilation.
</think>
user
|