From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 18 23:49:02 2009 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 A37D3106566B for ; Sun, 18 Jan 2009 23:49:02 +0000 (UTC) (envelope-from baigsabeeh@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 42C658FC08 for ; Sun, 18 Jan 2009 23:49:02 +0000 (UTC) (envelope-from baigsabeeh@gmail.com) Received: by gxk14 with SMTP id 14so2839161gxk.19 for ; Sun, 18 Jan 2009 15:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=i7JXYopAAJAaT9u8mUzXNmlVpHiGwxy4QwK39bwx6wM=; b=nBjRiejeVPkKifdCpXsTXXN4jNkkpha9OnyDM9eefoDutu1+wFWwcuC6tqL4DhcMZ5 H4s0SyTGOHdBboZJjo7ltlhLTGah5oFSS7iWR7EaSaqJImIrfIFsfO85kCyhgCDZUTw5 GgS+lIWe9fuZCEcwq6ZrJbLGJ+MQ/5te6e45g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=W2AO8NIY/SgDsEt8ILR8KS9NsCeQ6uZejfThsdyDBFhhlA7Z7qam3Ap9FBYpy2Qcwr i1jfGgoOSEvRCBgv7RsJ+rnv61XGbbZAi+sduAB/FPGBsBScWDLXJWL4OVtO39x3lktS bOp9c2gS0Qlmi7+kmGMqM+Vhw/a6g3MtIOxEI= Received: by 10.150.202.9 with SMTP id z9mr5232118ybf.114.1232320852078; Sun, 18 Jan 2009 15:20:52 -0800 (PST) Received: by 10.151.129.2 with HTTP; Sun, 18 Jan 2009 15:20:52 -0800 (PST) Message-ID: Date: Sun, 18 Jan 2009 18:20:52 -0500 From: "Sabeeh Baig" To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7191_271919.1232320852070" Subject: linprocfs cpuinfo Seems Dated 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: Sun, 18 Jan 2009 23:49:03 -0000 ------=_Part_7191_271919.1232320852070 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I was testing recent Linux-only applications, one of them being Bibble Pro. Bibble Pro requires at least SSE to function. Without SSE, it warns you that SSE is required and then exits. I looked at linprocfs.c and it seems that cpuinfo is static; it doesn't actually read any values, but has set values that it reports. Is the fix really as simple as adding sse and sse2 into the flags section? It worked, but I'm not sure if it's actually a proper fix. I've attached the patch. -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Sabeeh Ahmed Baig ------=_Part_7191_271919.1232320852070 Content-Type: application/octet-stream; name=linprocfs.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_fq4bxeny0 Content-Disposition: attachment; filename=linprocfs.diff LS0tIGxpbnByb2Nmcy5vbGQuYwkyMDA5LTAxLTE4IDE2OjUyOjM0LjAwMDAwMDAwMCAtMDUwMAor KysgbGlucHJvY2ZzLmMJMjAwOS0wMS0xOCAxNzowNDowNC4wMDAwMDAwMDAgLTA1MDAKQEAgLTIy Miw3ICsyMjIsNyBAQAogCQkiY21vdiIsCSAgICAicGF0IiwgICAgICJwc2UzNiIsCSAgICJwbiIs ICAgICAgICJiMTkiLAogCQkiYjIwIiwJICAgICJiMjEiLCAgICAgIm1teGV4dCIsICAgIm1teCIs ICAgICAgImZ4c3IiLAogCQkieG1tIiwJICAgICJiMjYiLCAgICAgImIyNyIsCSAgICJiMjgiLCAg ICAgICJiMjkiLAotCQkiM2Rub3dleHQiLCAiM2Rub3ciCisJCSIzZG5vd2V4dCIsICIzZG5vdyIs ICAgInNzZSIsICAgICAgInNzZTIiCiAJfTsKIAogCXN3aXRjaCAoY3B1X2NsYXNzKSB7Cg== ------=_Part_7191_271919.1232320852070--