linux-um archives
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Richard Weinberger <richard@nod.at>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net
Subject: Re: Multiple longjmp definitions with STATIC_LINKING=y
Date: Tue, 23 May 2017 18:09:24 -0700	[thread overview]
Message-ID: <26a3983c-426d-ab59-8fab-d41a643fe36b@gmail.com> (raw)
In-Reply-To: <3d3f50ce-372d-b09a-58ff-9edad4f9a6f8@gmail.com>

On 05/23/2017 11:42 AM, Florian Fainelli wrote:
> 
> make -C
> /local/users/fainelli/openwrt/trunk/build_dir/target-x86_64_musl/linux-uml/linux-4.4.69
> HOSTCFLAGS="-O2
> -I/local/users/fainelli/openwrt/trunk/staging_dir/host/include
> -I/local/users/fainelli/openwrt/trunk/staging_dir/host/usr/include
> -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE=""
> ARCH="um" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST=""
> KBUILD_BUILD_TIMESTAMP="Tue May 23 03:21:55 2017"
> KBUILD_BUILD_VERSION="0"
> HOST_LOADLIBES="-L/local/users/fainelli/openwrt/trunk/staging_dir/host/lib"
> CONFIG_SHELL="bash" V=''  cmd_syscalls= CC="gcc" modules
> make[5]: Entering directory `/local/users/fainelli/linux'
>   CHK     include/generated/uapi/linux/version.h
>   CHK     include/config/kernel.release
>   CHK     include/generated/utsrelease.h
>   CHK     scripts/mod/devicetable-offsets.h
>   CC      arch/x86/um/user-offsets.s
> arch/x86/um/user-offsets.c: In function 'foo':
> arch/x86/um/user-offsets.c:53: error: invalid application of 'sizeof' to
> incomplete type 'struct _xstate'
> make[6]: *** [arch/x86/um/user-offsets.s] Error 1
> make[5]: *** [arch/x86/um/user-offsets.s] Error 2
> make[5]: Leaving directory `/local/users/fainelli/linux'
> 
> Sounds familiar?

Found the problem and submitted a candidate fix to keep UML from both
building and running on older hosts.
-- 
Florian


      reply	other threads:[~2017-05-24  1:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23  3:28 Multiple longjmp definitions with STATIC_LINKING=y Florian Fainelli
2017-05-23  7:28 ` Richard Weinberger
2017-05-23 18:42   ` Florian Fainelli
2017-05-24  1:09     ` Florian Fainelli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26a3983c-426d-ab59-8fab-d41a643fe36b@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@nod.at \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox