From owner-freebsd-emulation@FreeBSD.ORG Tue Jun 7 12:20:22 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FF1F106566B; Tue, 7 Jun 2011 12:20:22 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id BC3338FC1F; Tue, 7 Jun 2011 12:20:21 +0000 (UTC) Received: from outgoing.leidinger.net (p5B155F5F.dip.t-dialin.net [91.21.95.95]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 70CBA844015; Tue, 7 Jun 2011 14:20:06 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 939BD3A36; Tue, 7 Jun 2011 14:20:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1307449203; bh=909ZNI+Ky04EDOI1Ko5K6tj3/oPY6r3ijLRdNHR8Ces=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=0vC5Q++9ZZtP18JWA32D90WjgQwVIHn6eFR3qxoUg+DbBWsP3JCchabEAijO6FyQo jRaUrOf+KfPPY7JeMp6EB4baEu/BfC3r04t4raNsD+7xsNzMoX4XPw1EzBgjcAooBr NXeRRe9PtjlXRxdpOSjJuyBIFiLxLLn0Ok8aNgQOz6vvR+JmUVNiFkBTstnLOsNm8f OSrSwt9Pk1vxJotIM83aR4CYc3IBiEtO2sk8ogzbWuRHkJkPGmpJ5YzcJqqdSNdiw/ cdBDIzrStRsh3cJK6WeQ7FdpaEHHFbLj8VWL4bqw5uIEcwr8+1kFPyisju9hmmIldv QSCKFyKDgv/Qw== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.14.4/Submit) id p57CK2vp007208; Tue, 7 Jun 2011 14:20:02 +0200 (CEST) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 07 Jun 2011 14:20:02 +0200 Message-ID: <20110607142002.768323wplc2uw1v6@webmail.leidinger.net> Date: Tue, 07 Jun 2011 14:20:02 +0200 From: Alexander Leidinger To: Yuri References: <201106040850.p548oBhv096954@freefall.freebsd.org> <20110606214255.34b180db@it.buh.tecnik93.com> In-Reply-To: <20110606214255.34b180db@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 70CBA844015.A002C X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.1, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1308054007.70324@sAwh0PSEJV53Qa8MjjUZ4w X-EBL-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org, Ion-Mihai Tetcu Subject: Re: kern/153887: [linux] Linux emulator not understand STB_GNU_UNIQUE binding X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 12:20:22 -0000 Quoting Ion-Mihai Tetcu (from Mon, 6 Jun 2011 21:42:55 +0300): > On Sat, 4 Jun 2011 08:50:11 GMT > Yuri wrote: > >> The following reply was made to PR kern/153887; it has been noted by >> GNATS. >> >> From: Yuri >> > (1) did you run "brandelf -t Linux" on your program binary? >> >> No I didn't, usually linux executables (like skype and acroread) >> don't need this. > > They do, or they are started from a linux "sh" which is somewhat > equivalent. Status: - static linux executables need(ed) to be branded, else you may have experienced a reboot (branding changes the ELF ABI number) - the code which is responsible to pick the correct syscall table (the FreeBSD one or the Linuxulator one) improved since ... uhm ... maybe 7.x - it is unknown to me (one of the few persons with the hands in the linuxulator infrastructure ports) if there is still the hard requirement to brand static linux programs - the only officially supported way to run (static and dynamically linked) linux programs, is to brand them first, if you don't brand them, do not complain if they do not work (brand and retest, only after that I start to listen) Regarding the problem at hand: - problems you see with linux programs may be kernel or userland related - kernel problems are "linuxulator problems" - userland problems are "linux base/libs problems" - the linux userland we use is Fedora 10 based, if the software which exposes problems is not supported by the vendor/author on Fedora 10, we do not support it either According to http://www.redhat.com/archives/posix-c++-wg/2009-August/msg00002.html: ---snip--- Since STB_GNU_UNIQUE is a Linux extension the OS ABI indicated in the ELF header must be ELFOSABI_LINUX. ---snip--- and ---snip--- Anyway, this all is implemented in the toolchain used in Fedora 12 which is at this point the rawhide toolchain. It now appears to be working fine and due to the initial set of problems we showed up we know it is used. ---snip--- This sugegst you try to run a program for Fedora 12 on our Fedora 10 infrastructure. This is not supported. The only way to get this working is to use a (not existing) Fedora 12 linux_base. If someone wants to change the fact that there is no Fedora 12 (or newer) linux_base: feel free to have a look at the linux_base-f10 port and port Fedora 12 (or newer). If you have questions about porting a newer linux_base, feel free to ask here, I'm sure you will get answers. Bye, Alexander. -- Every great idea has a disadvantage equal to or exceeding the greatness of the idea. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137