lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 23 May 2017 18:09:24 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     Richard Weinberger <richard@....at>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        jdike@...toit.com, user-mode-linux-devel@...ts.sourceforge.net
Subject: Re: Multiple longjmp definitions with STATIC_LINKING=y

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ