qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] execve failing inside of a qemu chroot with argument


From: Jakob Bohm
Subject: Re: [Qemu-discuss] execve failing inside of a qemu chroot with argument list too long
Date: Wed, 18 Mar 2015 11:22:58 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 18/03/2015 10:27, Dave Flogeras wrote:
On Thu, Oct 23, 2014 at 5:03 PM, Dave Flogeras <address@hidden> wrote:
I am trying to compile binutils-2.24 within a qemu chroot (well 3
Sorry to dig up an old thread, but I finally found a workaround.  This
author of this blog post (a Gentoo developer) posted this and bumping
up MAX_ARG_PAGES worked for me.  Hopefully this helps someone else
googling.

https://blogs.gentoo.org/calchan/2015/03/11/binsh-argument-list-too-long/

I don't know what a proper long term solution to this would be, since
the binutils unit test trying to pass a huge arg list is certainly
exceptional.

Hmm, would a gcc invocation to link a real world large
program (like, say, LibreOffice)
cause gcc to pass a
similarly huge command line to /usr/bin/ld from binutils?
If so, this might affect using qemu
(not qemu-system) for
cross compiles.


Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded 

reply via email to

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