[MacPorts] #62140: arm-none-eabi-gcc at 9.2.0_1: cannot find -lstdc++_nano

MacPorts noreply at macports.org
Wed Jul 21 14:39:17 UTC 2021


#62140: arm-none-eabi-gcc at 9.2.0_1: cannot find -lstdc++_nano
--------------------------------+--------------------
  Reporter:  rubendibattista    |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.6.4
Resolution:                     |   Keywords:
      Port:  arm-none-eabi-gcc  |
--------------------------------+--------------------

Comment (by jweber-ice):

 Likely related:
 {{{
 /opt/local/bin/arm-none-eabi-gcc -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16
 -mfloat-abi=hard -Wall
 ... linker files ...
 -Wl,--no-whole-archive -specs=nano.specs -specs=nosys.specs -lc -lm
 -lnosys  -Wl,-Map=echoserver-standalone.map,--cref -Wl,--gc-sections -Wl
 ,--fatal-warnings -u _printf_float -Wl,--defsym=bootSymbol=1
 /opt/local/lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/ld:
 cannot find -lc_nano
 /opt/local/lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/ld:
 cannot find -lc_nano
 collect2: error: ld returned 1 exit status
 make[2]: *** [echoserver/echoserver-standalone.elf] Error 1
 make[1]: *** [echoserver/CMakeFiles/echoserver-standalone.elf.dir/all]
 Error 2
 make: *** [all] Error 2
 }}}

 Both ''nano.specs'' and ''nosys.specs'' exist in the port and add -lc_nano
 to the link, however ''libc_nano.a'' is not installed by the port.

-- 
Ticket URL: <https://trac.macports.org/ticket/62140#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list