From owner-freebsd-riscv@freebsd.org Fri May 24 18:18:06 2019 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5434B15B22D4 for ; Fri, 24 May 2019 18:18:06 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhfb01.myregisteredsite.com (atl4mhfb01.myregisteredsite.com [209.17.115.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43D69724B1 for ; Fri, 24 May 2019 18:18:04 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob21.registeredsite.com (atl4mhob21.registeredsite.com [209.17.115.115]) by atl4mhfb01.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id x4OIHvQL029496 for ; Fri, 24 May 2019 14:17:58 -0400 Received: from mailpod.hostingplatform.com (atl4qobmail01pod2.registeredsite.com [10.30.77.35]) by atl4mhob21.registeredsite.com (8.14.4/8.14.4) with ESMTP id x4OIHof2060974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 24 May 2019 14:17:50 -0400 Received: (qmail 11759 invoked by uid 0); 24 May 2019 18:17:50 -0000 X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@99.253.177.25) by 0 with ESMTPA; 24 May 2019 18:17:49 -0000 To: freebsd-riscv From: Dennis Clarke Subject: FreeBSD build for RISC-V blows up in make TARGET_ARCH=riscv64 buildworld Message-ID: Date: Fri, 24 May 2019 14:17:49 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 43D69724B1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.39)[-0.389,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; DMARC_NA(0.00)[blastwave.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.20)[0.198,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx1.netsolmail.net]; NEURAL_HAM_SHORT(-0.61)[-0.609,0]; RCVD_IN_DNSWL_NONE(0.00)[55.115.17.209.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19871, ipnet:209.17.112.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.11)[ip: (0.13), ipnet: 209.17.112.0/21(0.26), asn: 19871(0.21), country: US(-0.06)] X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 18:18:06 -0000 This is a real low volume maillist but I will try here also. So on FreeBSD 13 CURRENT I hit the same brick walls as usual while trying to follow https://wiki.freebsd.org/riscv wherein I have the cross compiler built and in /opt/riscv_tools/bin/riscv64-unknown-freebsd13.0-foo as per usual. Nothing is a surprise until I hit the make TARGET_ARCH=riscv64 buildworld which blows up fast : . . . /opt/riscv_tools/bin/riscv64-unknown-freebsd13.0-gcc -O2 -pipe -DHAVE_FCNTL_H=1 -DHAVE_MKSTEMP=1 -DMAXTABLE=INT_MAX -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20170430 -g -std=gnu99 -I/usr/src/freebsd/obj/usr/src/freebsd/freebsd-riscv/riscv.riscv64/tmp/legacy/usr/include -static -L/usr/src/freebsd/obj/usr/src/freebsd/freebsd-riscv/riscv.riscv64/tmp/legacy/usr/lib -o yacc.full closure.o error.o graph.o lalr.o lr0.o main.o mkpar.o mstring.o output.o reader.o yaccpar.o symtab.o verbose.o warshall.o -legacy /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find crt1.o: No such file or directory /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find crti.o: No such file or directory /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find crtbeginT.o: No such file or directory /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find -lgcc /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find -lgcc_eh /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find -lc /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find -lgcc /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find -lgcc_eh /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find crtend.o: No such file or directory /opt/riscv_tools/lib/gcc/riscv64-unknown-freebsd13.0/8.2.0/../../../../riscv64-unknown-freebsd13.0/bin/ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status *** Error code 1 Stop. make[3]: stopped in /usr/src/freebsd/freebsd-riscv/usr.bin/yacc *** Error code 1 Stop. make[2]: stopped in /usr/src/freebsd/freebsd-riscv *** Error code 1 Stop. make[1]: stopped in /usr/src/freebsd/freebsd-riscv *** Error code 1 Stop. make: stopped in /usr/src/freebsd/freebsd-riscv root@vesta:/usr/src/freebsd/freebsd-riscv # root@vesta:/usr/src/freebsd/freebsd-riscv # Any clues ?? -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional