qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Compiling Qemu error: unknown pragma option.


From: Cortland Setlow Tölva
Subject: [Qemu-discuss] Compiling Qemu error: unknown pragma option.
Date: Sun, 7 Oct 2018 16:28:27 -0700

Dear Qemu-Discuss,

I am unable to compile in the presence of the following commit which
recently went into the linux-user-for-3.1 branch:
linux-user: Suppress address-of-packed-member warnings in __get/put_user_e

My GCC version is:
gcc version 8.2.0 (Ubuntu 8.2.0-1ubuntu2~18.04)

The compiler error is:
/home/cst/Qemu/linux-user/elfload.c: In function ‘create_elf_tables’:
/home/cst/Qemu/linux-user/elfload.c:1882:1: error: unknown option after
‘#pragma GCC diagnostic’ kind [-Werror=pragmas]
     NEW_AUX_ENT(AT_PHDR, (abi_ulong)(info->load_addr + exec->e_phoff));

The last line in my config.status is:
exec './configure' '--target-list=ppc-linux-user,x86_64-linux-user'
'--disable-slirp' '--disable-sdl' '--disable-gtk' '--disable-vnc'
'--disable-xen' '--disable-glusterfs' '--disable-libssh2' '--static'
'--disable-rbd' '--disable-vxhs' '--disable-linux-aio'
'--enable-trace-backends=simple' '--cc=gcc-8' '--cxx=g++-8'
'--host-cc=gcc-8' "$@"

--CST


reply via email to

[Prev in Thread] Current Thread [Next in Thread]