bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29722] New: ld.bfd accepts broken arguments


From: mliska at suse dot cz
Subject: [Bug ld/29722] New: ld.bfd accepts broken arguments
Date: Tue, 25 Oct 2022 15:47:04 +0000

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

[Prev in Thread] Current Thread [Next in Thread]