Date: Sun, 18 Jan 2009 18:20:52 -0500 From: "Sabeeh Baig" <baigsabeeh@gmail.com> To: freebsd-emulation@freebsd.org Subject: linprocfs cpuinfo Seems Dated Message-ID: <de2964020901181520r20f9c036qb1f83491247f13d6@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
------=_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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de2964020901181520r20f9c036qb1f83491247f13d6>