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

            Bug ID: 29722
           Summary: ld.bfd accepts broken arguments
           Product: binutils
           Version: 2.40 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: nickc at sourceware dot org
  Target Milestone: ---

For instance, the following is accepted:

$ gcc-12 a.c -Wl,--hash-st=gnu
$ gcc-12 a.c -Wl,--hash-st=gnu -fuse-ld=gold
/usr/bin/ld.gold: --hash-st=gnu: unknown option
/usr/bin/ld.gold: use the --help option for usage information
collect2: error: ld returned 1 exit status
$ gcc-12 a.c -Wl,--hash-st=gnu -fuse-ld=lld
ld.lld: error: unknown argument '--hash-st=gnu'
collect2: error: ld returned 1 exit status

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

Reply via email to