- Timestamp:
- 05/28/2024 03:42:56 PM (6 weeks ago)
- Branches:
- trunk
- Children:
- 18bf2d4
- Parents:
- f834c6c
- git-author:
- Xi Ruoyao <xry111@…> (05/28/2024 03:27:56 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (05/28/2024 03:42:56 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/rust.xml
rf834c6c r5752f35 204 204 <title>Installation of Rust</title> 205 205 206 <note>207 <para>208 Currently the rust compiler produces SSE2 instructions for 32-bit x86,209 causing the generated code to be broken on 32-bit systems without a210 SSE2-capable processor. All x86 processor models released after211 2004 should be SSE2-capable. Run212 <command>lscpu | grep sse2</command> as a test. If it outputs213 anything, your CPU is SSE2-capable and OK. Otherwise you may try214 to build this package <emphasis>on a SSE2-capable system</emphasis>215 with the following fix applied:216 </para>217 218 <!-- computeroutput used deliberately to stop anyone from copying219 blindly -->220 <screen role="nodump"><computeroutput>sed 's@pentium4@pentiumpro@' -i \221 compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs</computeroutput></screen>222 223 <para>224 And copy the resulting225 <filename class="directory">/opt/rustc-&rust-version;</filename>226 to the system without SSE2 capability. But this change is still227 under upstream review and not tested by BLFS editors.228 </para>229 </note>230 231 206 <para> 232 207 To install into the
Note:
See TracChangeset
for help on using the changeset viewer.