diff for duplicates of <7c828e04-47da-42a3-aa3b-0893efe6ab87@windriver.com> diff --git a/a/1.txt b/N1/1.txt index 76bb9b4..270960e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,27 +1,42 @@ - On 15-04-2025 17:08, Martin Jansa wrote: + +> > qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would -> need to use armv5te-vfp to reproduce this, or use qemuarm with -> tune-cortexa15 but switch from default cortexa15thf-neon to +> need +> to use armv5te-vfp to reproduce this, or use qemuarm with +> tune-cortexa15 +> but switch from default cortexa15thf-neon to > cortexa15t-neon -> -> I was seeing it in multilib builds e.g. with +> +> I was seeing +> it in multilib builds e.g. with > https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30 +> > which uses DEFAULTTUNE:virtclass-multilib-lib32 = "armv7at-neon" -> +> > unfortunately just treating softfp as soft ends with segfaults in rust -> as shown nere: +> as +> shown nere: > https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c -> +> +> > Regards, -> -I checked for softfp tuning using (which gave TARGET_FPU = softfp): -TUNE_FEATURES = "vfp armv5te" DEFAULTTUNE = "armv5te-vfp" TUNE_PKGARCH = -"armv5te-vfp" But, it seems that softfp is not a valid value for -llvm-floatabi in rust. It gives error as follows: | --- stderr | error: -Error loading target specification: 'softfp' is not a valid value for -llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` -for a list of built-in targets As you mentioned, using soft instead of -softfp also doesn't work either. It seems that unless upstream Rust -provides support for this, we won't be able to build Rust with softfp on -ARM targets. Regards, Yash. +> +> + +I checked for softfp tuning using (which gave TARGET_FPU = softfp): + +TUNE_FEATURES = "vfp armv5te" +DEFAULTTUNE = "armv5te-vfp" +TUNE_PKGARCH = "armv5te-vfp" + +But, it seems that softfp is not a valid value for llvm-floatabi in rust. +It gives error as follows: + +| --- stderr | error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets + +As you mentioned, using soft instead of softfp also doesn't work either. +It seems that unless upstream Rust provides support for this, we won't be able to build Rust with softfp on ARM targets. + +Regards, +Yash. diff --git a/a/2.bin b/N1/2.bin index 4469a3a..75ff677 100644 --- a/a/2.bin +++ b/N1/2.bin @@ -1,48 +1,21 @@ -<!DOCTYPE html><html><head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - </head> - <body> - <p><br> - </p> - <div class="moz-cite-prefix">On 15-04-2025 17:08, Martin Jansa - wrote:<span style="white-space: pre-wrap"> -</span></div> - <blockquote type="cite" cite="mid:CA+chaQf_eWJgp9QVKQQ9iGviZU54Zc_1h-LyWW2yurWf06zCLA@mail.gmail.com"> - <pre wrap="" class="moz-quote-pre"> -qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would +<p> </p> +<div class="moz-cite-prefix">On 15-04-2025 17:08, Martin Jansa wrote:<span> </span></div> +<blockquote cite="mid:CA+chaQf_eWJgp9QVKQQ9iGviZU54Zc_1h-LyWW2yurWf06zCLA@mail.gmail.com"> +<pre class="moz-quote-pre">qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would need to use armv5te-vfp to reproduce this, or use qemuarm with tune-cortexa15 but switch from default cortexa15thf-neon to cortexa15t-neon I was seeing it in multilib builds e.g. with -<a class="moz-txt-link-freetext" href="https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30</a> -which uses DEFAULTTUNE:virtclass-multilib-lib32 = "armv7at-neon" +<a class="moz-txt-link-freetext" href="https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30" target="_blank" rel="nofollow noopener">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30</a> +which uses DEFAULTTUNE:virtclass-multilib-lib32 = "armv7at-neon" unfortunately just treating softfp as soft ends with segfaults in rust as shown nere: -<a class="moz-txt-link-freetext" href="https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c</a> +<a class="moz-txt-link-freetext" href="https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c" target="_blank" rel="nofollow noopener">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c</a> Regards, </pre> - </blockquote> - <p><span style="white-space: pre-wrap">I checked for softfp tuning using (which gave TARGET_FPU = softfp): - -TUNE_FEATURES = "vfp armv5te" -DEFAULTTUNE = "armv5te-vfp" -TUNE_PKGARCH = "armv5te-vfp" - -But, it seems that softfp is not a valid value for llvm-floatabi in rust. -It gives error as follows: - -| --- stderr -| error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets - -As you mentioned, using soft instead of softfp also doesn't work either. -It seems that unless upstream Rust provides support for this, we won't be able to build Rust with softfp on ARM targets. - -Regards, -Yash. -</span></p> - </body> -</html> +</blockquote> +<p><span>I checked for softfp tuning using (which gave TARGET_FPU = softfp): <br /><br />TUNE_FEATURES = "vfp armv5te" <br />DEFAULTTUNE = "armv5te-vfp" <br />TUNE_PKGARCH = "armv5te-vfp" <br /><br />But, it seems that softfp is not a valid value for llvm-floatabi in rust. <br />It gives error as follows: <br /><br />| --- stderr | error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets <br /><br />As you mentioned, using soft instead of softfp also doesn't work either. <br />It seems that unless upstream Rust provides support for this, we won't be able to build Rust with softfp on ARM targets. <br /><br />Regards, <br />Yash. </span></p> diff --git a/a/2.hdr b/N1/2.hdr index 7b9725c..6a9de1e 100644 --- a/a/2.hdr +++ b/N1/2.hdr @@ -1,2 +1,2 @@ Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 7bit +Content-Transfer-Encoding: quoted-printable diff --git a/a/content_digest b/N1/content_digest index 1662e1c..1c2b5c4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\0CA+chaQf_eWJgp9QVKQQ9iGviZU54Zc_1h-LyWW2yurWf06zCLA@mail.gmail.com\0" "From\0Yash Shinde <Yash.Shinde@windriver.com>\0" "Subject\0Re: [OE-core] [PATCH v2 2/3] rust: Upgrade 1.84.1->1.85.0\0" - "Date\0Tue, 15 Apr 2025 21:21:35 +0530\0" + "Date\0Tue, 15 Apr 2025 08:53:43 -0700\0" "To\0Martin Jansa <martin.jansa@gmail.com>\0" "Cc\0raj.khem@gmail.com" openembedded-core@lists.openembedded.org @@ -14,82 +14,70 @@ " Sundeep.Kokkonda@windriver.com\0" "\01:1\0" "b\0" - "\n" "On 15-04-2025 17:08, Martin Jansa wrote:\n" + "\n" + "> \n" "> qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would\n" - "> need to use armv5te-vfp to reproduce this, or use qemuarm with\n" - "> tune-cortexa15 but switch from default cortexa15thf-neon to\n" + "> need\n" + "> to use armv5te-vfp to reproduce this, or use qemuarm with\n" + "> tune-cortexa15\n" + "> but switch from default cortexa15thf-neon to\n" "> cortexa15t-neon\n" - ">\n" - "> I was seeing it in multilib builds e.g. with\n" + "> \n" + "> I was seeing\n" + "> it in multilib builds e.g. with\n" "> https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30\n" + "> \n" "> which uses DEFAULTTUNE:virtclass-multilib-lib32 = \"armv7at-neon\"\n" - ">\n" + "> \n" "> unfortunately just treating softfp as soft ends with segfaults in rust\n" - "> as shown nere:\n" + "> as\n" + "> shown nere:\n" "> https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c\n" - ">\n" + "> \n" + "> \n" "> Regards,\n" - ">\n" - "I checked for softfp tuning using (which gave TARGET_FPU = softfp): \n" - "TUNE_FEATURES = \"vfp armv5te\" DEFAULTTUNE = \"armv5te-vfp\" TUNE_PKGARCH = \n" - "\"armv5te-vfp\" But, it seems that softfp is not a valid value for \n" - "llvm-floatabi in rust. It gives error as follows: | --- stderr | error: \n" - "Error loading target specification: 'softfp' is not a valid value for \n" - "llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` \n" - "for a list of built-in targets As you mentioned, using soft instead of \n" - "softfp also doesn't work either. It seems that unless upstream Rust \n" - "provides support for this, we won't be able to build Rust with softfp on \n" - ARM targets. Regards, Yash. - "\01:2\0" - "b\0" - "<!DOCTYPE html><html><head>\n" - "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n" - " </head>\n" - " <body>\n" - " <p><br>\n" - " </p>\n" - " <div class=\"moz-cite-prefix\">On 15-04-2025 17:08, Martin Jansa\n" - " wrote:<span style=\"white-space: pre-wrap\">\n" - "</span></div>\n" - " <blockquote type=\"cite\" cite=\"mid:CA+chaQf_eWJgp9QVKQQ9iGviZU54Zc_1h-LyWW2yurWf06zCLA@mail.gmail.com\">\n" - " <pre wrap=\"\" class=\"moz-quote-pre\">\n" - "qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would\n" - "need to use armv5te-vfp to reproduce this, or use qemuarm with\n" - "tune-cortexa15 but switch from default cortexa15thf-neon to\n" - "cortexa15t-neon\n" - "\n" - "I was seeing it in multilib builds e.g. with\n" - "<a class=\"moz-txt-link-freetext\" href=\"https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30\">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30</a>\n" - "which uses DEFAULTTUNE:virtclass-multilib-lib32 = "armv7at-neon"\n" + "> \n" + "> \n" "\n" - "unfortunately just treating softfp as soft ends with segfaults in rust\n" - "as shown nere:\n" - "<a class=\"moz-txt-link-freetext\" href=\"https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c\">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c</a>\n" + "I checked for softfp tuning using (which gave TARGET_FPU = softfp):\n" "\n" - "Regards,\n" - "\n" - "</pre>\n" - " </blockquote>\n" - " <p><span style=\"white-space: pre-wrap\">I checked for softfp tuning using (which gave TARGET_FPU = softfp):\n" - "\n" - "TUNE_FEATURES = "vfp armv5te"\n" - "DEFAULTTUNE = "armv5te-vfp"\n" - "TUNE_PKGARCH = "armv5te-vfp"\n" + "TUNE_FEATURES = \"vfp armv5te\"\n" + "DEFAULTTUNE = \"armv5te-vfp\"\n" + "TUNE_PKGARCH = \"armv5te-vfp\"\n" "\n" "But, it seems that softfp is not a valid value for llvm-floatabi in rust.\n" "It gives error as follows:\n" "\n" - "| --- stderr \n" - "| error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets \n" + "| --- stderr | error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets\n" "\n" "As you mentioned, using soft instead of softfp also doesn't work either.\n" "It seems that unless upstream Rust provides support for this, we won't be able to build Rust with softfp on ARM targets.\n" "\n" "Regards,\n" - "Yash.\n" - "</span></p>\n" - " </body>\n" - "</html>\n" + Yash. + "\01:2\0" + "b\0" + "<p> </p>\r\n" + "<div class=\"moz-cite-prefix\">On 15-04-2025 17:08, Martin Jansa wrote:<span> </span></div>\r\n" + "<blockquote cite=\"mid:CA+chaQf_eWJgp9QVKQQ9iGviZU54Zc_1h-LyWW2yurWf06zCLA@mail.gmail.com\">\r\n" + "<pre class=\"moz-quote-pre\">qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would\r\n" + "need to use armv5te-vfp to reproduce this, or use qemuarm with\r\n" + "tune-cortexa15 but switch from default cortexa15thf-neon to\r\n" + "cortexa15t-neon\r\n" + "\r\n" + "I was seeing it in multilib builds e.g. with\r\n" + "<a class=\"moz-txt-link-freetext\" href=\"https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30\" target=\"_blank\" rel=\"nofollow noopener\">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30</a>\r\n" + "which uses DEFAULTTUNE:virtclass-multilib-lib32 = \"armv7at-neon\"\r\n" + "\r\n" + "unfortunately just treating softfp as soft ends with segfaults in rust\r\n" + "as shown nere:\r\n" + "<a class=\"moz-txt-link-freetext\" href=\"https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c\" target=\"_blank\" rel=\"nofollow noopener\">https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c</a>\r\n" + "\r\n" + "Regards,\r\n" + "\r\n" + "</pre>\r\n" + "</blockquote>\r\n" + "<p><span>I checked for softfp tuning using (which gave TARGET_FPU = softfp): <br /><br />TUNE_FEATURES = \"vfp armv5te\" <br />DEFAULTTUNE = \"armv5te-vfp\" <br />TUNE_PKGARCH = \"armv5te-vfp\" <br /><br />But, it seems that softfp is not a valid value for llvm-floatabi in rust. <br />It gives error as follows: <br /><br />| --- stderr | error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets <br /><br />As you mentioned, using soft instead of softfp also doesn't work either. <br />It seems that unless upstream Rust provides support for this, we won't be able to build Rust with softfp on ARM targets. <br /><br />Regards, <br />Yash. </span></p>\r\n" -60dd1b375b2af5f8468ea7be5bc03a144885af4befe9e081fcd6f38dcd64bd95 +0aa545b2323d7c423dce6739506048781cab80985f1afa5ae02811553b400edc
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox