From owner-freebsd-riscv@freebsd.org Fri May 24 02:43:04 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 C1CA715943DB for ; Fri, 24 May 2019 02:43:04 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhfb04.myregisteredsite.com (atl4mhfb04.myregisteredsite.com [209.17.115.120]) (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 0D3D96F8DC for ; Fri, 24 May 2019 02:43:01 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob05.registeredsite.com (atl4mhob05.registeredsite.com [209.17.115.43]) by atl4mhfb04.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id x4O2gtJ8013997 for ; Thu, 23 May 2019 22:42:55 -0400 Received: from mailpod.hostingplatform.com (atl4qobmail02pod2.registeredsite.com [10.30.77.36]) by atl4mhob05.registeredsite.com (8.14.4/8.14.4) with ESMTP id x4O2gllp007637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 23 May 2019 22:42:47 -0400 Received: (qmail 11088 invoked by uid 0); 24 May 2019 02:42:47 -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 02:42:47 -0000 To: freebsd-riscv@freebsd.org From: Dennis Clarke Subject: Trying to start over with RISC-V and Bug 238076 Message-ID: <9b6f8f03-5b39-de63-d561-1e13ca4eac85@blastwave.org> Date: Thu, 23 May 2019 22:42:46 -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: 0D3D96F8DC X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.86 / 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_SPAM_SHORT(0.63)[0.631,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.70)[0.702,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mx1.netsolmail.net]; NEURAL_SPAM_LONG(0.42)[0.420,0]; RCVD_IN_DNSWL_NONE(0.00)[120.115.17.209.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; DMARC_NA(0.00)[blastwave.org]; 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.22)[ip: (0.70), 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 02:43:04 -0000 Just a quick note in hopes that someone sees this. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238076 The real issue here is that I need to do a rebuild from scratch and to achieve a current running image to work forwards with. That has never been easy nor clear in terms of what to do where when or how. I think last time I tried ( a few months ago ) the wiki pages were none too helpful. However I want to give this a try again. Hrmm .. I see http://artifacts.ci.freebsd.org/snapshot/head/r348212/amd64/amd64/ ?? So I guess step on is to get a fresh system up and running on x86_64 in order to begin the usual cross compiler dance etc. Wherefore are the recent 13.0 current test installer images iso files? If any. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From owner-freebsd-riscv@freebsd.org Fri May 24 02:49:18 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 2F5E51594500 for ; Fri, 24 May 2019 02:49:18 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob23.registeredsite.com (atl4mhob23.registeredsite.com [209.17.115.117]) by mx1.freebsd.org (Postfix) with ESMTP id 49EC86FAC2 for ; Fri, 24 May 2019 02:49:17 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mailpod.hostingplatform.com (atl4qobmail01pod2.registeredsite.com [10.30.77.35]) by atl4mhob23.registeredsite.com (8.14.4/8.14.4) with ESMTP id x4O2nA2u057308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 23 May 2019 22:49:10 -0400 Received: (qmail 44285 invoked by uid 0); 24 May 2019 02:49:10 -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 02:49:10 -0000 Subject: Re: Trying to start over with RISC-V and Bug 238076 To: freebsd-riscv@freebsd.org References: <9b6f8f03-5b39-de63-d561-1e13ca4eac85@blastwave.org> From: Dennis Clarke Message-ID: <83ec7061-405b-c6b4-9c01-46c850cc3cc0@blastwave.org> Date: Thu, 23 May 2019 22:49:09 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0 MIME-Version: 1.0 In-Reply-To: <9b6f8f03-5b39-de63-d561-1e13ca4eac85@blastwave.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49EC86FAC2 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.44 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.70)[0.705,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[blastwave.org]; MX_GOOD(-0.01)[cached: mx1.netsolmail.net]; NEURAL_SPAM_LONG(0.69)[0.690,0]; RCVD_IN_DNSWL_NONE(0.00)[117.115.17.209.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_MEDIUM(0.80)[0.800,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; 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.26)[ip: (0.90), 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 02:49:18 -0000 On 5/23/19 10:42 PM, Dennis Clarke wrote: > > Just a quick note in hopes that someone sees this. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238076 > > The real issue here is that I need to do a rebuild from scratch and to > achieve a current running image to work forwards with.  That has never > been easy nor clear in terms of what to do where when or how. . . . > So I guess step on is to get a fresh system up and running on x86_64 in > order to begin the usual cross compiler dance etc.  Wherefore are the > recent 13.0 current test installer images iso files?  If any. > > Found http://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/13.0/ Seems like as good a place to start as any. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional 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