From owner-freebsd-mips@freebsd.org Sun Aug 25 06:14:45 2019 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C70F9D66A0 for ; Sun, 25 Aug 2019 06:14:45 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh505-vm0.bullet.mail.kks.yahoo.co.jp (nh505-vm0.bullet.mail.kks.yahoo.co.jp [183.79.57.102]) by mx1.freebsd.org (Postfix) with SMTP id 46GPxH24K6z4b7h for ; Sun, 25 Aug 2019 06:14:42 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.139] by nh505.bullet.mail.kks.yahoo.co.jp with NNFMP; 25 Aug 2019 06:14:39 -0000 Received: from [183.79.101.123] by t502.bullet.mail.kks.yahoo.co.jp with NNFMP; 25 Aug 2019 06:14:39 -0000 Received: from [127.0.0.1] by omp510.mail.kks.yahoo.co.jp with NNFMP; 25 Aug 2019 06:14:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 103209.85216.bm@omp510.mail.kks.yahoo.co.jp X-YMail-OSG: b0V6xR4VM1kS96zfvRfNgO_yjQWXyRU384KvDsNh1F8gzHNWeFSpd0bnDI.pdKk u8EiroEwYOwm3J0dSF77p7y7AYONfxRldJ1kt01PIIOQHHAnAH1cpHcRcXjgB8yJZJliJEIEJy8b LZtweCm8or9TVV5C24jqDCpLwiDQV.TLnabFJLcyV2nvjaYO7n.SnhhoEWux81W8XJvFhHLP9viB SSEQxKnUQu7S0BJIWiy9T9fOlwmomFcPz.J_oUhgmA922_vVrfpAgQNaNZS35qmfbAyjSD3SE8d7 _WCbENt3GmZD6tnaTAk2q1lvyOyyUpsXpK70hDAOvB5OEdYDiElj6asTehtIKcz.Mu_8x1osa6d1 vCAfdXqKuu5l2gzZrnjrnq2hx8j2to.wj8SepRnDUekGQYdz_S6zgsrdLrZUFbnVwUCFw.lpJFb1 F3vxB272ug79QttoOTdoRfDBiN5BpSFGROTSOrziyjgW0Ptxvp8q8E2kLP7xSgpcQNjYiukqO3s9 hZGDT0RFp_2f7BqVtNcY1FSmFwQg9MvQEwv2p2tY6OniYOnckHxRMzG123Wj7uyah8DwGIvIfuve Cl6aSxWNDmvbALdeJWzP7mgGAIAwsTVqrfviruXv2z1jGIEGRNgrfHUyIzhGMGwD5YL.DYl4Xbvz eiCnNLsgw4FKENi45k8zMXTLzuL3IO6giOtVN_9waiJbj Received: from jws702102.mail.ssk.yahoo.co.jp by sendmailws601.mail.ssk.yahoo.co.jp; Sun, 25 Aug 2019 15:14:38 +0000; 1566713678.517 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1566713678; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Aew1jKEodxGdJln+jp+rRmpBH0KEB7jfYY5oualcelk=; b=ZbXjBCvEUa3JRCNqaFXiSWA9dlWtqhsXjl3TTc9JrRgBgvWGv2tLO8j4jlo1orhI ro5XxFsMXQYnLXo0vK6IEbZaZFWrZgkFHWLu+N9Q2vzfx7sFgsZVRypaYEk2u+b2nY+ YcPA9tLCsBlBsTKfoAQNo5t6guZ1yL7PAcbSKu5g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=n9Cl4CX71nNfm5M4aW6+e8wBhcAv9t/FoOziExF+g7kt9KqabFXa2RGYSqlemfdP hiid2v41JcH3esVgJjO7gU6/gbR++6rDr0JzfQnmnn/O7/0/rjHCHHl4R3emyOCvqXA ebMaWWQE4JfhJD61dawrIg/wJWpPZ4tZRQQAmLVk=; Date: Sun, 25 Aug 2019 15:14:37 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <859018402.326185.1566713677884.JavaMail.yahoo@jws702102.mail.ssk.yahoo.co.jp> In-Reply-To: <41686588.6174961.1566301967064.JavaMail.yahoo@jws705108.mail.ssk.yahoo.co.jp> References: <41686588.6174961.1566301967064.JavaMail.yahoo.ref@jws705108.mail.ssk.yahoo.co.jp> <41686588.6174961.1566301967064.JavaMail.yahoo@jws705108.mail.ssk.yahoo.co.jp> Subject: Re: NTP ST1 server in my house MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46GPxH24K6z4b7h X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=ZbXjBCvE; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 183.79.57.102 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-3.23 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:183.79.0.0/16]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-0.48)[-0.482,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:24572, ipnet:183.79.0.0/16, country:JP]; IP_SCORE(0.00)[ip: (-0.40), ipnet: 183.79.0.0/16(1.26), asn: 24572(1.01), country: JP(-0.03)]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.850,0]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[102.57.79.183.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[] X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2019 06:14:45 -0000 Hi ST1 GPS jitter is always 15us. This cause of CPU clock 320MHz. Offset is under 10us. I think more good=C2=A0accuracy=C2=A0by pps manipulate by FPGA.=C2=A0 Who is makeing this ? Hiroki Mori ----- Original Message ----- > From: Mori Hiroki > To: "freebsd-mips@freebsd.org" > Cc:=20 > Date: 2019/8/20, Tue 20:52 > Subject: NTP ST1 server in my house >=20 > Hi >=20 > I have four NTP ST1 server in my house. >=20 > All server use RT3050. >=20 > Two is GPS and Two is radio signal JJY. >=20 > GPS is u-blox and Taiyoyuden(chip is Mediatek). >=20 > This is ST2 ntpq. >=20 > =C2=A0 =C2=A0 =C2=A0remote =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 refid=C2=A0= =C2=A0 =C2=A0 st t when poll reach =C2=A0 delay =C2=A0 offset=C2=A0 jitter > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > *10.0.1.22 =C2=A0 =C2=A0 =C2=A0 .GPS.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 1 u=C2=A0 637 1024=C2=A0 377=C2=A0 =C2=A0 0.961=C2=A0 =C2=A0 0.317 = =C2=A0 0.940 > +10.0.1.20 =C2=A0 =C2=A0 =C2=A0 .GPS.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 1 u=C2=A0 688 1024=C2=A0 377=C2=A0 =C2=A0 1.013=C2=A0 =C2=A0 0.348 = =C2=A0 0.956 > -10.0.1.19 =C2=A0 =C2=A0 =C2=A0 .JJY.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 1 u=C2=A0 709 1024=C2=A0 377=C2=A0 =C2=A0 0.968=C2=A0 =C2=A0 4.092 = =C2=A0 0.995 > +10.0.1.8=C2=A0 =C2=A0 =C2=A0 =C2=A0 .JJY.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 1 u=C2=A0 686 1024=C2=A0 377=C2=A0 =C2=A0 0.969=C2=A0 =C2=A0 0.2= 33 =C2=A0 0.716 >=20 > GPS is gpiopps on mediatek gpio v1. >=20 > http://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5092 >=20 >=20 > About over one year no trouble. >=20 > Hiroki Mori >=20 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to=20 > "freebsd-mips-unsubscribe@freebsd.org" >=20 From owner-freebsd-mips@freebsd.org Mon Aug 26 07:29:54 2019 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00AECD28C5 for ; Mon, 26 Aug 2019 07:29:54 +0000 (UTC) (envelope-from icepic.dz@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46H3YX5xj2z41Zn for ; Mon, 26 Aug 2019 07:29:52 +0000 (UTC) (envelope-from icepic.dz@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id q22so35028178iog.4 for ; Mon, 26 Aug 2019 00:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ck9Bu7ridFJdpYTe3k3hw1t1DUNqG6ORV2LzUAbatDY=; b=RLkyi5jGqfa5s6OchRBq0PBtfD2M+6+gV4zQc01fhoHslLOFBroN/Cu2cQK8rdSRjH /hOmiup9tvf+wS59xjZvL0n6fWqlnrkFnM3flpYXM0hM7Y2KxwLOvlrVxNiFdTUbGYws Usk2D3IQ2TjUv9Rk3l4Uu2+iXx+voCeS5h2g0BxCid9sDKj543Cijq8ibHYvcFp/qsFe Cxt21vA5ITF1TYpgu7PUu2IxzmBsFzuIKLvmVscMsQk9O1L6DYzIcfFLl8tf89t4wH+E uPaQ+ZruFb3L1wIVtxy86C7FflyMyfAfXHyYrgHts+anZlss//QqOtIK5vqn8RkB+qua /1QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ck9Bu7ridFJdpYTe3k3hw1t1DUNqG6ORV2LzUAbatDY=; b=rMZ7hHnFbuYm8OIKLBzK6H+hLHcOT5QF67264k1Jj1R9rRKc139pgmkjvCFHqRyLXh 1zl63oU93Vb8Zj6BSu25B4TATlh3hkXR4eS77m95ib7gk6KO6rwuy3Ecx0oaPittGoVp nnK7tC1lRRLnrCpsbxljfs4sHsrGt/vVQrDwWIrpib2/0k81PCM/TSZDAtnwr55fEVMW OB7hcaOur1xDLCClLz89O/V1bQGzU8l86SPJv79lv7LH35/j8Newq5soU3l6y8dytC4W +tnYEK+b8EohH6wkFbrirGG4E0VgXxKXIbQJQdML7OMOLSG3Zp/qYCxKOIRFKc3BsfAX +4aA== X-Gm-Message-State: APjAAAXDRFlPmRJgE/hJFsx2rF+Gw0iDSFoOuN5XvcXOrb0aaC5xP8kd Zyj1Dix5Rcn3M/XBOyLr/VrOeZ7sll3Dysvgw8T5AZmA X-Google-Smtp-Source: APXvYqzlbfuI7NDEt8L0rr5QosTOg4x1fO/BTMFFR6slg1td9EHsfmcZ8EwDL4Mjt9d9hqKuPNi2KIErs5d0SbCHz9w= X-Received: by 2002:a5e:8f4d:: with SMTP id x13mr6110722iop.118.1566804591195; Mon, 26 Aug 2019 00:29:51 -0700 (PDT) MIME-Version: 1.0 References: <441318706.278852.1566618835359.JavaMail.yahoo.ref@jws705006.mail.kks.yahoo.co.jp> <441318706.278852.1566618835359.JavaMail.yahoo@jws705006.mail.kks.yahoo.co.jp> In-Reply-To: From: Janne Johansson Date: Mon, 26 Aug 2019 09:29:40 +0200 Message-ID: Subject: Re: gcc 4.2.1 will delete To: freebsd-mips@freebsd.org X-Rspamd-Queue-Id: 46H3YX5xj2z41Zn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=RLkyi5jG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of icepicdz@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=icepicdz@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-5.79), ipnet: 2607:f8b0::/32(-2.87), asn: 15169(-2.33), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[f.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2019 07:29:54 -0000 Den l=C3=B6r 24 aug. 2019 kl 06:01 skrev Warner Losh : > On Fri, Aug 23, 2019, 9:54 PM Mori Hiroki wrote: > > gcc 4.2.1 will delete. > > How about go mips architecture ? > > https://reviews.freebsd.org/rS351429 > > There is good support for an external toolchain today. Clang has some > support, but it works a lot better in llvm 9.0, which is due in about a > month. > OpenBSD switched octeon/mips64 to clang July-1, https://marc.info/?l=3Dopenbsd-cvs&m=3D156199443031362&w=3D2 so at least that one works nicely. I think its llvm 8.x-ish. --=20 May the most significant bit of your life be positive. From owner-freebsd-mips@freebsd.org Mon Aug 26 16:16:19 2019 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0AFDEDF41A for ; Mon, 26 Aug 2019 16:16:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46HHDy1k6sz4bq3 for ; Mon, 26 Aug 2019 16:16:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72c.google.com with SMTP id d79so14429232qke.11 for ; Mon, 26 Aug 2019 09:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+sZwWbfF0ZFfTALGEN44aX5W6hX18DTkG7XHGYd3KeM=; b=pSnsnVrleywfD1+xEPrgRX2eZsQZO6tBgkied9fvkQabs6snmOWQ6ui97mCo2723lu +/Ms5DD+2syZAM9teOQ4TMkaDME9bMgvZEQQ959RH1INuYeYOjc75xLQUgvItzzlrdo8 HGOEkVoAfNxgKp0mHsF2HU+Uffsw2jkDYqQOMPZSSM6BBFwHQqc9Z0Almsqw7IW0Pw7L 1mZrkew2xvNu/dkifyjh38rfriCdsEnm/3gtmtdwLEnrKVfI5hl+IJFDjuEq5SSEvQ80 wZse9M9UBK1YcWoMH18qQfR+uKzMjdwl9mO5CeHqS4TRrisTSTwHg0egmBytaMKaSilT 6e8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+sZwWbfF0ZFfTALGEN44aX5W6hX18DTkG7XHGYd3KeM=; b=FbuMzgendjeGkpSQZnDhiU4Gxdn1fH0rlRxQaFVxuPWyrQaGXVuQWa93qjwJ8thdrO qDc4uITk3G3eMXP9JWWKm3vmVFPcJhRP399FIV3AYwAyEBOeybRTPgfGlTcoOoJIQOAi eghD/aHjFIVL0HSMEt9+pOICgsYkoVHk6mRFsVDlXWyDxy0qOSK04CP3thmoZIxHglKN MuoZXrELdvWp3PdJF1fSF8mCIjkoLrpN6fgEtSs1C+iReC1riUmn2j4yxj5RCXRJxEzw RrHBpX7jTJAuH3nQJQ56zW0jkLzNk/OpWxmA84cavdmzqWbcsY3p1AUVuBshvhPRb9FY MU8g== X-Gm-Message-State: APjAAAWyhxQkPW80Qprx0zIEqV0wuGNLTYxPXWkxc0pWsNd0xlPyGUe8 FLfF8HvDhUUiFTYbLzBdrlW8FXUsYBw4T2xMprdhPA== X-Google-Smtp-Source: APXvYqwhOXPaF4375wmPfj5X2/Trx+vdHtTptQ74NpHfYlOfcDUi05BStSNM8ITULep7A4i74DBLzqO8eQPtp7qqvus= X-Received: by 2002:a37:c87:: with SMTP id 129mr15626421qkm.240.1566836177065; Mon, 26 Aug 2019 09:16:17 -0700 (PDT) MIME-Version: 1.0 References: <441318706.278852.1566618835359.JavaMail.yahoo.ref@jws705006.mail.kks.yahoo.co.jp> <441318706.278852.1566618835359.JavaMail.yahoo@jws705006.mail.kks.yahoo.co.jp> In-Reply-To: From: Warner Losh Date: Mon, 26 Aug 2019 10:16:06 -0600 Message-ID: Subject: Re: gcc 4.2.1 will delete To: Janne Johansson Cc: "freebsd-mips@freebsd.org" X-Rspamd-Queue-Id: 46HHDy1k6sz4bq3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=pSnsnVrl; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-5.91 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[c.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.92)[ip: (-9.34), ipnet: 2607:f8b0::/32(-2.86), asn: 15169(-2.33), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2019 16:16:19 -0000 On Mon, Aug 26, 2019 at 1:29 AM Janne Johansson wrote= : > Den l=C3=B6r 24 aug. 2019 kl 06:01 skrev Warner Losh : > > > On Fri, Aug 23, 2019, 9:54 PM Mori Hiroki wrote= : > > > gcc 4.2.1 will delete. > > > How about go mips architecture ? > > > https://reviews.freebsd.org/rS351429 > > > > There is good support for an external toolchain today. Clang has some > > support, but it works a lot better in llvm 9.0, which is due in about = a > > month. > > > > OpenBSD switched octeon/mips64 to clang July-1, > https://marc.info/?l=3Dopenbsd-cvs&m=3D156199443031362&w=3D2 > so at least that one works nicely. I think its llvm 8.x-ish. > llvm 8ish has issues with 32-bit mips (including bogusly thinking you can't mix O32 ABI and MIPS IV ISA). llvm9 supports all the mips we have, not just mips64. Warner From owner-freebsd-mips@freebsd.org Tue Aug 27 16:59:55 2019 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB4F8DA44F for ; Tue, 27 Aug 2019 16:59:55 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Hw8q40zbz45P1; Tue, 27 Aug 2019 16:59:55 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 3FDD67323; Tue, 27 Aug 2019 16:59:55 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-wr1-f47.google.com with SMTP id j16so19532420wrr.8; Tue, 27 Aug 2019 09:59:55 -0700 (PDT) X-Gm-Message-State: APjAAAXaIr+phbt8m6O5PzK0F0lDNr3fVnFFZ7fQ+wfQwwrlpcFYhi6W i4VlNiwi2VkYyVa2XazZKUEgWJCfFX6GibIciQ8= X-Google-Smtp-Source: APXvYqx6xWDFBzawqjZEkHB+eENN3013G22i+D83YnGHfRv/wcMTEyrCnYB3w21nauJbp8wnG8ddw6ldBNpY7tkYNGg= X-Received: by 2002:a5d:4b8b:: with SMTP id b11mr31562261wrt.294.1566925194182; Tue, 27 Aug 2019 09:59:54 -0700 (PDT) MIME-Version: 1.0 References: <441318706.278852.1566618835359.JavaMail.yahoo.ref@jws705006.mail.kks.yahoo.co.jp> <441318706.278852.1566618835359.JavaMail.yahoo@jws705006.mail.kks.yahoo.co.jp> In-Reply-To: From: Kyle Evans Date: Tue, 27 Aug 2019 11:59:42 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: gcc 4.2.1 will delete To: Warner Losh Cc: Mori Hiroki , freebsd-mips@freebsd.org, Ed Maste Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2019 16:59:55 -0000 (CC'ing emaste@ as well, because this is a bit of a status report) On Fri, Aug 23, 2019 at 11:01 PM Warner Losh wrote: > > On Fri, Aug 23, 2019, 9:54 PM Mori Hiroki wrote: > > > Hi > > > > gcc 4.2.1 will delete. > > > > How about go mips architecture ? > > > > https://reviews.freebsd.org/rS351429 > > > There is good support for an external toolchain today. Clang has some > support, but it works a lot better in llvm 9.0, which is due in about a > month. > > Warner > I have the following open work for mips32 w/ in-tree llvm (and llvm90 has the same issues for some of them): - https://reviews.freebsd.org/D21435 (_mcount needs to be explicitly placed in .text; clang will emit ".section .mdebug.abi32" before everything else so _mcount ends up in it -- I don't think we can really blame clang, we probably should've specified) - https://people.freebsd.org/~kevans/mips-llvm.diff (.eh_frame ends up with some relocations we can't have in non-writable section; dirty dirty hack to make .eh_frame writable in clang and making sure the synthetic section that lld produces is also writable [this part's even dirtier than the first]) - https://people.freebsd.org/~kevans/mips-opts.diff (fusefs tests currently hang and I haven't had time to figure out why or try and reproduce it against llvm90; the rest of the diff is simply enabling full LLVM/LLD world) With these three I can make build and install a world w/ MALTA kernel, all otherwise modified, and things generally work except kldxref: Building /boot/kernel/linker.hints kldxref: /boot/kernel/kernel: too many segments root@:~ # uname -a FreeBSD 13.0-CURRENT FreeBSD 13.0-CURRENT #0 b101f7f4b1d-c262228(mips-llvm)-dirty: Tue Aug 27 09:42:00 CDT 2019 root@viper.audeuro.com:/usr/obj/usr/src/mips-llvm/sys/MALTA mips Next step, I'll fudge this into freebsd-wifi-build and test it on the hardware in my test lab... Thanks, Kyle Evans From owner-freebsd-mips@freebsd.org Tue Aug 27 17:18:42 2019 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A750DAB8D for ; Tue, 27 Aug 2019 17:18:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46HwZV1Dmdz46d7; Tue, 27 Aug 2019 17:18:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id ECC33758D; Tue, 27 Aug 2019 17:18:41 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-wm1-f46.google.com with SMTP id f72so3905239wmf.5; Tue, 27 Aug 2019 10:18:41 -0700 (PDT) X-Gm-Message-State: APjAAAVrfjbzzuxR3WUUJPumWujfhmHuHNLort6egL3/HSPoqZYObUr4 X88ffMZofrMZ6LyJC8JLM+PeakGUZ+ZtCsujVdw= X-Google-Smtp-Source: APXvYqyVhiAdKN8uCbAN7+33yMSoYbyULdC9TTtTFCp41xaXEaev3tM2IKfZupqgzhQEQ1Qn4ZtDefieU4XdPYAXGDQ= X-Received: by 2002:a1c:7619:: with SMTP id r25mr30699300wmc.153.1566926320787; Tue, 27 Aug 2019 10:18:40 -0700 (PDT) MIME-Version: 1.0 References: <441318706.278852.1566618835359.JavaMail.yahoo.ref@jws705006.mail.kks.yahoo.co.jp> <441318706.278852.1566618835359.JavaMail.yahoo@jws705006.mail.kks.yahoo.co.jp> In-Reply-To: From: Kyle Evans Date: Tue, 27 Aug 2019 12:18:28 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: gcc 4.2.1 will delete To: Warner Losh Cc: Mori Hiroki , freebsd-mips@freebsd.org, Ed Maste Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2019 17:18:42 -0000 On Tue, Aug 27, 2019 at 11:59 AM Kyle Evans wrote: > > (CC'ing emaste@ as well, because this is a bit of a status report) > > On Fri, Aug 23, 2019 at 11:01 PM Warner Losh wrote: > > > > On Fri, Aug 23, 2019, 9:54 PM Mori Hiroki wrote: > > > > > Hi > > > > > > gcc 4.2.1 will delete. > > > > > > How about go mips architecture ? > > > > > > https://reviews.freebsd.org/rS351429 > > > > > > There is good support for an external toolchain today. Clang has some > > support, but it works a lot better in llvm 9.0, which is due in about a > > month. > > > > Warner > > > > I have the following open work for mips32 w/ in-tree llvm (and llvm90 > has the same issues for some of them): > - https://reviews.freebsd.org/D21435 (_mcount needs to be explicitly > placed in .text; clang will emit ".section .mdebug.abi32" before > everything else so _mcount ends up in it -- I don't think we can > really blame clang, we probably should've specified) > > - https://people.freebsd.org/~kevans/mips-llvm.diff (.eh_frame ends up > with some relocations we can't have in non-writable section; dirty > dirty hack to make .eh_frame writable in clang and making sure the > synthetic section that lld produces is also writable [this part's even > dirtier than the first]) > > - https://people.freebsd.org/~kevans/mips-opts.diff (fusefs tests > currently hang and I haven't had time to figure out why or try and > reproduce it against llvm90; the rest of the diff is simply enabling > full LLVM/LLD world) > > With these three I can make build and install a world w/ MALTA kernel, > all otherwise modified, and things generally work except kldxref: > > Building /boot/kernel/linker.hints > kldxref: /boot/kernel/kernel: too many segments > > root@:~ # uname -a > FreeBSD 13.0-CURRENT FreeBSD 13.0-CURRENT #0 > b101f7f4b1d-c262228(mips-llvm)-dirty: Tue Aug 27 09:42:00 CDT 2019 > root@viper.audeuro.com:/usr/obj/usr/src/mips-llvm/sys/MALTA mips > > Next step, I'll fudge this into freebsd-wifi-build and test it on the > hardware in my test lab... > I almost forgot this one: - https://people.freebsd.org/~kevans/mips-csu.diff I pulled a .cprestore directive out of thin air because, AFAICT, it really doesn't matter. We do similar hijinks in ^/sys/mips/include/profile.h, apparently, in MCOUNT.