This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Missing c_nano.a and g_nano.a in arm-unknown-eabi


Hi,

I'm creating a cross compile toolchain for Nordic nRf52840 (build and host
are my desktop).
After "ct-ng build" finish (release 1.24.0) I try to make an example from
Nordic SDK (15.3.0) and I get the following error:









*bash-4.4$ make VERBOSE=1Linking target: _build/nrf52840_xxaa.out"make" -s
--no-print-directory -f "../../../../../../components/toolchain/gcc/dump.mk
<http://dump.mk>" VARIABLE=CONTENT_TO_DUMP > _build/nrf52840_xxaa.in
<http://nrf52840_xxaa.in>'/home/[my
username]/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-gcc' -O3 -g3
-mthumb -mabi=aapcs -L../../../../../../modules/nrfx/mdk
-Tusbd_audio_gcc_nrf52.ld -mcpu=cortex-m4 -mfloat-abi=hard
-mfpu=fpv4-sp-d16 -Wl,--gc-sections --specs=nano.specs
@_build/nrf52840_xxaa.in <http://nrf52840_xxaa.in>
-Wl,-Map=_build/nrf52840_xxaa.map -o
_build/nrf52840_xxaa.out/home/oberon/x-tools/arm-unknown-eabi/lib/gcc/arm-unknown-eabi/8.3.0/../../../../arm-unknown-eabi/bin/ld:
cannot find
-lc_nano/home/oberon/x-tools/arm-unknown-eabi/lib/gcc/arm-unknown-eabi/8.3.0/../../../../arm-unknown-eabi/bin/ld:
cannot find
-lg_nano/home/oberon/x-tools/arm-unknown-eabi/lib/gcc/arm-unknown-eabi/8.3.0/../../../../arm-unknown-eabi/bin/ld:
cannot find -lc_nanocollect2: error: ld returned 1 exit statusmake: ***
[../../../../../../components/toolchain/gcc/Makefile.common:294:
_build/nrf52840_xxaa.out] Error 1*

This is actually the same as this issue
<https://github.com/crosstool-ng/crosstool-ng/issues/1203>

Was this solved ?
Is there a quick fix ?

Thanks,

Or


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]