https://sourceware.org/bugzilla/show_bug.cgi?id=33398

            Bug ID: 33398
           Summary: riscv64 gas crashes on empty -march=
           Product: binutils
           Version: 2.45
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: sam at gentoo dot org
  Target Milestone: ---

$ riscv64-unknown-linux-gnu-as gas/testsuite/gas/riscv/x-thead-cmo.s -march=
Assembler messages:
Error: the architecture string of -march and elf architecture attributes cannot
be empty
gas/testsuite/gas/riscv/x-thead-cmo.s:2: Internal error (Segmentation fault).
Please report this bug.

$ riscv64-unknown-linux-gnu-as -march=
Assembler messages:
Error: the architecture string of -march and elf architecture attributes cannot
be empty
[^D]
{standard input}: Internal error (Segmentation fault).
Please report this bug.

$ riscv64-unknown-linux-gnu-as --version
GNU assembler (Gentoo 2.45 p3) 2.45.0
Copyright (C) 2025 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `riscv64-unknown-linux-gnu'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to