Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0680C433F5 for ; Sat, 16 Oct 2021 15:18:23 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EDD0C611C3 for ; Sat, 16 Oct 2021 15:18:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EDD0C611C3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cfl.rr.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8FB0583518; Sat, 16 Oct 2021 15:18:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Boh1vtSpD5zT; Sat, 16 Oct 2021 15:18:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id CB1FD834EF; Sat, 16 Oct 2021 15:18:20 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D37551BF3D2 for ; Sat, 16 Oct 2021 15:18:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C3459834EF for ; Sat, 16 Oct 2021 15:18:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TmpPk8-r30OB for ; Sat, 16 Oct 2021 15:18:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from p-impout007.msg.pkvw.co.charter.net (p-impout007aa.msg.pkvw.co.charter.net [47.43.26.138]) by smtp1.osuosl.org (Postfix) with ESMTPS id CCEC3834B9 for ; Sat, 16 Oct 2021 15:18:17 +0000 (UTC) Received: from JohnDesktop ([68.204.142.231]) by cmsmtp with ESMTP id blRwmjacAx0SOblRwml0mv; Sat, 16 Oct 2021 15:18:16 +0000 X-Authority-Analysis: v=2.4 cv=O6T8ADxW c=1 sm=1 tr=0 ts=616aed39 a=2gSu1OBQ6d18tulzamKkMg==:117 a=2gSu1OBQ6d18tulzamKkMg==:17 a=DAwyPP_o2Byb1YXLmDAA:9 a=dWvhHfqE0GC_yHGo_iwA:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=eAYQlikSwPgIX5rFEZMA:9 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 From: "John" To: Date: Sat, 16 Oct 2021 11:18:19 -0400 Message-ID: <00bc01d7c2a1$0da32d80$28e98880$@cfl.rr.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdfCoQSx9PPUVI3GRo+HcUooneQehQ== Content-Language: en-us X-CMAE-Envelope: MS4xfLJZ0HvEmYWMeiu2Wl7jx5U56ZBLVVvWPfFwaXMMnncbJGjZpz8Cn3PHkZrESGIO0x0BTVc/ni/Vfu8+5P5SovexDaz3/3ORQ9a4Ya64l0L/qmNWbrNJ IQmKHfp7u/58j2imepk5iVvtVSKPqIay0io93/wDmSFlXKNksp08lslNza0ujzfufPPqZPi8H5vOog== Subject: [Buildroot] Error performing Make with External Toolchain X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: joblacker@cfl.rr.com Content-Type: multipart/mixed; boundary="===============0639865065664595392==" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This is a multipart message in MIME format. --===============0639865065664595392== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BD_01D7C27F.869202B0" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_00BD_01D7C27F.869202B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit TWIMC: I've been trying to get BUILDROOT to successfully "make" for several days to no avail. I'm trying to use the latest crosstool-NG toolchain, so I've specified an external toolchain. I've selected the latest version of BUILDROOT and the latest kernel headers. I've selected glibc/eglibc and support for SSP, strong SSP and C++ support. The first attempt I had the option for ulibc selected along with RPC and ran into an error, so I unselected RPC and changed to glibc/eglibc and here's my "make" output: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> jb@jb-VirtualBox-dev:~/GitHub/buildroot$ make /usr/bin/make -j1 O=/home/jb/GitHub/buildroot/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig >>> toolchain-external-custom Configuring >>> toolchain-external-custom Building /usr/bin/gcc -O2 -I/home/jb/GitHub/buildroot/output/host/include -DBR_CPU='"cortex-a53"' -DBR_ABI='"aapcs-linux"' -DBR_FPU='"neon-vfpv4"' -DBR_FLOAT_ABI='"hard"' -DBR_MODE='"arm"' -DBR_CROSS_PATH_SUFFIX='""' -DBR_CROSS_PATH_ABS='"/home/jb/workspace/toolchains/armv8-rpi3-linux-gnueabi hf/bin"' -DBR_SYSROOT='"arm-buildroot-linux-gnueabihf/sysroot"' -DBR_ADDITIONAL_CFLAGS='"-fstack-protector-strong",' -DBR2_PIC_PIE -DBR2_RELRO_FULL -s -Wl,--hash-style=both toolchain/toolchain-wrapper.c -o /home/jb/GitHub/buildroot/output/build/toolchain-external-custom/toolchain-w rapper >>> toolchain-external-custom Installing to staging directory /usr/bin/install -D -m 0755 /home/jb/GitHub/buildroot/output/build/toolchain-external-custom/toolchain-w rapper /home/jb/GitHub/buildroot/output/host/bin/toolchain-wrapper ln: failed to create symbolic link '/home/jb/GitHub/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot /usr/lib': No such file or directory make[1]: *** [package/pkg-generic.mk:309: /home/jb/GitHub/buildroot/output/build/toolchain-external-custom/.stamp_stag ing_installed] Error 1 make: *** [Makefile:84: _all] Error 2 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< I checked for the presence of the .sysroot/usr/lib directory noted in the error and it does not exist, all I have is a "lib" directory. If I try to issue a ls lib I get an error: "ls: cannot access 'lib': Too many levels of symbolic links" Not being familiar with the BUILDROOT process, I'm at a loss regarding what to do and need help. Thank you. John Blacker ------=_NextPart_000_00BD_01D7C27F.869202B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

TWIMC:

I’ve been trying to get BUILDROOT to = successfully “make” for several days to no avail.  = I’m trying to use the latest crosstool-NG toolchain,  so = I’ve specified

an external = toolchain.  I’ve selected the latest version of BUILDROOT and = the latest kernel headers.  I’ve selected glibc/eglibc and = support for SSP, strong SSP

and C++ = support.  The first attempt I had the option for ulibc selected = along with RPC and ran into an error, so I unselected RPC and changed to = glibc/eglibc and

here’s my = “make” output:

 

>>>>>>>>>>>>>>= ;>>>>>>>>>>>>>>>>>>= >>>>>>>>>>>>>>>>>>&= gt;>>>>>>>>>>>> 

<= p class=3DMsoNormal>jb@jb-VirtualBox-dev:~/GitHub/buildroot$ = make

/usr/bin/make -j1 = O=3D/home/jb/GitHub/buildroot/output HOSTCC=3D"/usr/bin/gcc" = HOSTCXX=3D"/usr/bin/g++" syncconfig

>>> toolchain-external-custom  = Configuring

>>> = toolchain-external-custom  Building

/usr/bin/gcc -O2 = -I/home/jb/GitHub/buildroot/output/host/include = -DBR_CPU=3D'"cortex-a53"' -DBR_ABI=3D'"aapcs-linux"' = -DBR_FPU=3D'"neon-vfpv4"' -DBR_FLOAT_ABI=3D'"hard"' = -DBR_MODE=3D'"arm"' -DBR_CROSS_PATH_SUFFIX=3D'""' = -DBR_CROSS_PATH_ABS=3D'"/home/jb/workspace/toolchains/armv8-rpi3-lin= ux-gnueabihf/bin"' = -DBR_SYSROOT=3D'"arm-buildroot-linux-gnueabihf/sysroot"' = -DBR_ADDITIONAL_CFLAGS=3D'"-fstack-protector-strong",' = -DBR2_PIC_PIE -DBR2_RELRO_FULL -s -Wl,--hash-style=3Dboth = toolchain/toolchain-wrapper.c -o = /home/jb/GitHub/buildroot/output/build/toolchain-external-custom/toolchai= n-wrapper

>>> = toolchain-external-custom  Installing to staging = directory

/usr/bin/install -D -m 0755 = /home/jb/GitHub/buildroot/output/build/toolchain-external-custom/toolchai= n-wrapper = /home/jb/GitHub/buildroot/output/host/bin/toolchain-wrapper

ln: failed to create symbolic link = '/home/jb/GitHub/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysr= oot/usr/lib': No such file or directory

make[1]: *** [package/pkg-generic.mk:309: = /home/jb/GitHub/buildroot/output/build/toolchain-external-custom/.stamp_s= taging_installed] Error 1

make: *** = [Makefile:84: _all] Error 2

<<<<<<<<<<<<<<= ;<<<<<<<<<<<<<<<<<<= <<<<<<<<<<<<<<<<<<&= lt;<<<<<<<<<<<< 

<= p class=3DMsoNormal> 

I checked = for the presence of the …sysroot/usr/lib directory noted in the = error and it does not exist, all I have is a “lib” = directory.  If I try to issue a ls lib I get an = error:

“ls: cannot access = ‘lib’: Too many levels of symbolic = links”

 

Not being familiar with the BUILDROOT process, = I’m at a loss regarding what to do and need help.

 

Thank = you.

John Blacker

 

------=_NextPart_000_00BD_01D7C27F.869202B0-- --===============0639865065664595392== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot --===============0639865065664595392==--