From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104597 invoked by alias); 12 Oct 2019 11:51:33 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 104586 invoked by uid 89); 12 Oct 2019 11:51:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=crosstool-ng, crosstoolng, H*c:alternative X-HELO: mail-oi1-f178.google.com Received: from mail-oi1-f178.google.com (HELO mail-oi1-f178.google.com) (209.85.167.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 12 Oct 2019 11:51:32 +0000 Received: by mail-oi1-f178.google.com with SMTP id i16so10204186oie.4 for ; Sat, 12 Oct 2019 04:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jbgJ3Dq7bJfuFmRn01ipNN1ayskR9MHOFoq0PI6y5kA=; b=dvwn+/8sbS1dG6Xkaffob82pyjbPIPtplTlIz0aSRlZ6vKETjR08yBoDUmv/35QGwz FfuooHIfuVS4p1TlN8bUTI+Xtub1EQslj+Ejt9ID3EGdfPr9eaLoUrJnyPLBJLq/hTUq EiBmSd2KYaIt3IAEcIj9aRauuoOLlPKQKtXpnmx3Pi8ZvBLczipEWG8xyKXp4UgAmPN9 if9F0F7VBNotKlrNeMeXlAZc+nne+nmJrd5sNBUS/xaIR25iGINq8jiBUOnK8mzqRC04 iO4I0PgHFqnhAQmgp9MEo37In8gkvpAdIAxFe+Go+CbxyNwdmlTrPuSE6WsCYfxwXIEp QlhA== MIME-Version: 1.0 From: Or Goshen Date: Sat, 12 Oct 2019 11:51:00 -0000 Message-ID: Subject: Missing c_nano.a and g_nano.a in arm-unknown-eabi To: crossgcc@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-10/txt/msg00010.txt.bz2 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 " VARIABLE=CONTENT_TO_DUMP > _build/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 -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 Was this solved ? Is there a quick fix ? Thanks, Or