[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/28910] GNU-ld: ARM: Issues when trying to set target output arch
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/28910] GNU-ld: ARM: Issues when trying to set target output architecture |
Date: |
Mon, 31 Oct 2022 11:42:50 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28910
--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Johannes (krjdev) Krottmayer from comment #0)
[Weird - I managed to delete my explanation for issue 1...]
> Issue #1 - command line with long option "--architecture ARCH"
>
> $ arm-none-eabi-ld --architecture armv7e-m
> arm-none-eabi-ld: Error: unable to disambiguate: --architecture (did you
> mean ---architecture ?)
The linker is not sure if you are passing the "--a" option with an
argument of "rchitecture" or the "--architecture" option. A bit silly,
but it does make more sense when other options are considered. For
example should "-omagic" set the OMAGIC flag in the output file or set
its output name to "magic" ?
Anyway the uploaded patch includes a fix for this problem, so please
give it a try.
--
You are receiving this mail because:
You are on the CC list for the bug.