public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d Date: Mon, 17 Jun 2024 08:05:05 +0000 [thread overview] Message-ID: <bug-115493-4-NzIr3P8tzE@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-115493-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> --- That's because such a configuration builds libs for A-profile (cortex-A*), which are incompatible with M-profile (cortex-M*). (In addition I think you have to use gnueabihf instead of gnueabi, IIRC --with-float=hard is not sufficient). You can't build an arm-linux-* toolchain for cortex-M. So I suggest you build your toolchain with the flags I suggested in the description: with GCC configured with: --disable-multilib --with-mode=thumb --with-arch=armv8.1-m.main+mve.fp+fp.dp --with-float=hard --target=arm-eabi It shouldn't be very long since multilibs are disabled. Alternatively, you can try to use our ABE build script: git clone https://git.linaro.org/toolchain/abe.git cd abe ./configure ./abe.sh --build all --target arm-eabi --extraconfigdir config/master --disable make_docs --set languages=c,c++,lto --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-arch=armv8.1-m.main+mve.fp+fp.dp --set gcc_override_configure=--with-float=hard --check gcc --set 'target_board_options={-mthumb/-march=armv8.1-m.main+mve.fp+fp.dp/-mtune=cortex-m55/-mfloat-abi=hard/-mfpu=auto}' --qemu-cpu cortex-m55 --set runtestflags=execute.exp=pr94734.c That will clone all repos (binutils-gdb, gcc, newlib, qemu), build the full toolchain from scratch, and run the test.
next prev parent reply other threads:[~2024-06-17 8:05 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-06-14 14:50 [Bug target/115493] New: gcc.c-torture/execute/pr94734.c fails on MVE after gcc-15-1054-g202a9c8fe7d clyon at gcc dot gnu.org 2024-06-14 14:51 ` [Bug target/115493] " clyon at gcc dot gnu.org 2024-06-14 15:28 ` [Bug target/115493] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d clyon at gcc dot gnu.org 2024-06-14 15:29 ` clyon at gcc dot gnu.org 2024-06-17 5:39 ` rguenth at gcc dot gnu.org 2024-06-17 8:05 ` clyon at gcc dot gnu.org [this message] 2024-06-17 13:49 ` [Bug target/115493] [15 regression] " rguenth at gcc dot gnu.org 2024-06-17 14:03 ` rguenth at gcc dot gnu.org 2024-06-17 14:03 ` rguenth at gcc dot gnu.org 2024-06-18 5:46 ` cvs-commit at gcc dot gnu.org 2024-06-18 5:47 ` rguenth at gcc dot gnu.org 2024-06-26 12:45 ` clyon at gcc dot gnu.org 2024-06-26 12:46 ` clyon at gcc dot gnu.org 2024-06-26 12:58 ` rguenth at gcc dot gnu.org 2024-06-26 17:05 ` clyon at gcc dot gnu.org 2024-06-26 17:05 ` clyon at gcc dot gnu.org 2024-06-26 17:10 ` rguenth at gcc dot gnu.org 2024-06-26 17:40 ` clyon at gcc dot gnu.org 2024-06-27 5:53 ` cvs-commit at gcc dot gnu.org 2024-06-27 5:54 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-115493-4-NzIr3P8tzE@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).