public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sattdeepan.d at samsung dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/109769] New: gcc testsuite being run on x86 tests when the target device is risc-v based Date: Mon, 08 May 2023 11:25:07 +0000 [thread overview] Message-ID: <bug-109769-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109769 Bug ID: 109769 Summary: gcc testsuite being run on x86 tests when the target device is risc-v based Product: gcc Version: og12 (devel/omp/gcc-12) Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: sattdeepan.d at samsung dot com Target Milestone: --- When running the testsuite on risc-v based target device, tests are being run assuming the target architecture is same as host, x86 in my case. Is there any way to tell the testsuite the target architecture on which the toolchain is to be tested? Below are the contents of exp file: # Board definition file for board "myboard_sshscp" load_generic_config "unix" # How to compile C programs for this board set_board_info compiler riscv64-unknown-linux-gnu-gcc # Network address of board set_board_info hostname <IP of remote target> set_board_info username <username> set_board_info rsh_prog /usr/bin/ssh set_board_info rcp_prog /usr/bin/scp ====================================================== I am getting following test failures in running the test, which are supposedly failing because of being run in a different architecture, e.g. riscv64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-mavx' -mavx option is not defined for risc-v arch. ============================================================== Please suggest if there is a method to specify the architecture on which the tests are to be run. Please note that we are trying to run the tests on the device and NOT the simulator
next reply other threads:[~2023-05-08 11:25 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-08 11:25 sattdeepan.d at samsung dot com [this message] 2023-05-08 16:08 ` [Bug testsuite/109769] " pinskia 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-109769-4@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).