From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pb-smtp20.pobox.com ([173.228.157.52]) by ewsd; Tue Aug 4 03:58:47 EDT 2020 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B652AD10FB for <9front@9front.org>; Tue, 4 Aug 2020 03:58:39 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :from:to:subject:date:mime-version:content-type; s=sasl; bh=GMSj rLHWNdtmOdvjMZ0w7Z+k/bI=; b=KfqsRwcofZyYeRW1i+ohs+mLC8oaPvx+Ey8W Nyf0wMSyUoc/y61NrXU+LZfFVGg4gcIbWSiKXjvnXA6UwRqUaeJJfPnwZIOsCQNN cnhIymhtZRl7FGhu7qMd/5anWlK8UxgaW9dPHiFafw5SnBPylPue2z+vx6nyfZSq g547Q90= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id AEE9BD10FA for <9front@9front.org>; Tue, 4 Aug 2020 03:58:39 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from samwise (unknown [47.34.135.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 559A1D10F9 for <9front@9front.org>; Tue, 4 Aug 2020 03:58:36 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: From: Romano To: 9front@9front.org Subject: Re: arm64 fails to link when float converted to int Date: Tue, 4 Aug 2020 00:58:27 -0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-mnpwgbehvzjjspwoxautmgijlc" X-Pobox-Relay-ID: 4CD12ACC-D628-11EA-8484-F0EA2EB3C613-09620299!pb-smtp20.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: converged transactional polling optimizer This is a multi-part message in MIME format. --upas-mnpwgbehvzjjspwoxautmgijlc Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cinap, I saw your recent merges to address problems with the initial patch. How could I have helped more to test in some other way rather than just building netsurf and the system I'm on? Perhaps write other little C programs that test out corner cases for type conversion? Is that how you notice it causing other problems? --upas-mnpwgbehvzjjspwoxautmgijlc Content-Type: message/rfc822 Content-Disposition: inline Received: from pb-mx23.pobox.com (pb-mx23.pobox.com [10.110.30.39]) by ms-dispatch4.pobox.com (Postfix) with ESMTP id 72AC526A48 for <09620299@mailstore.pobox.com>; Sat, 1 Aug 2020 14:44:38 -0400 (EDT) (envelope-from SRS0=mVJz=BL=ewsd.inri.net=9front-bounces@bounce2.pobox.com) Received: from pb-mx23.sea.icgroup.com (localhost.local [127.0.0.1]) by pb-mx23.pobox.com (Postfix) with ESMTP id 35EE53B1AE for <09620299@mailstore.pobox.com>; Sat, 1 Aug 2020 14:44:38 -0400 (EDT) (envelope-from SRS0=mVJz=BL=ewsd.inri.net=9front-bounces@bounce2.pobox.com) X-Pobox-Pass: message came from recipient through trusted relay X-Pobox-Loop-ID: bd39e5810bb29d7ba9a234a1804f54ed8eeeb2b7 Delivered-To: dromano@pobox.com X-Pobox-Delivery-ID: E285A2-1895D3B1AC-1596307478-09620299!pb-mx23.pobox.com Received: from pb-mx23.sea.icgroup.com (localhost.local [127.0.0.1]) by pb-mx23.pobox.com (Postfix) with ESMTP id 1895D3B1AC for ; Sat, 1 Aug 2020 14:44:38 -0400 (EDT) (envelope-from SRS0=mVJz=BL=ewsd.inri.net=9front-bounces@bounce2.pobox.com) X-Pobox-Loop-ID: 48c5b6ae8f849673e9b8eaece5b6d8eab13fefc0 Delivered-To: unobe@cpan.org X-Pobox-Delivery-ID: E285A3-756E6F6265406370616E2E6F7267-F11B83B1AB-1596307478-61099943!pb-mx23.pobox.com Received: from pb-mx23.pobox.com (localhost.local [127.0.0.1]) by pb-mx23.pobox.com (Postfix) with ESMTP id F11B83B1AB for ; Sat, 1 Aug 2020 14:44:37 -0400 (EDT) (envelope-from 9front-bounces@ewsd.inri.net) Received: from pb-mx23.pobox.com (localhost [127.0.0.1]) by pb-mx23.pobox.com (Authentication Milter) with ESMTP id DEBF255A531; Sat, 1 Aug 2020 14:44:37 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=pobox.com; s=arcseal; t= 1596307477; b=X5K/RcZA6plR+iY9fhG+rFmL5bNkSaPaCTCnXZTZ4ZTtqzOeeH GRIbC9LP4F2BI0roAOiSK0creIVcSnnYlXbe5Qh6Z7E11Paj66VSU9gz7A6aiX0B dyDNVD9Ya90k1/CZl3c6c9VaezkP16qCSXgAHj9ZN1+/fbNGT3hUMXI+cWl6KnTO vZc/YWmbhcoS/gx7wt9zULuj5tftEzxYcNsdfOtDb705FXhlproIOnAVKdbdZea2 x4GhDpZGjIqi3qwwX/ipenDiIMSM26uS/+FdZFBVQCvfWADjT3b96Ioegt9S+pjN 4Vj8DcKwyt4dTnuyqEKeoAZ5NOX5fpWtC5Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= pobox.com; h=message-id:from:to:date:mime-version:content-type :content-transfer-encoding:list-id:list-help:subject:reply-to; s=arcseal; t=1596307477; bh=eUbIdm98f4m4PenuhLgDzERS7Ak3ePB6pjX EX/W6FJ8=; b=QbThTRHRNRyhM3p5JWE3iNXJX21aQ4CJb3JIdUeEhnp6eKad/Yk RXp+fLb/fseLavMGpdiuHdsM6SFUQDwFGVm76437bJM1U07p53qwc98MlVWWB2MU xmFcXCFP9VEBTsdq0QFd9UR6k8witEMXwOW+Qq6z91XbRIWZd7rkclxfvUyZwdzp JkYBnJh1vqr5AGoRSMSIhYw5zqblNm94TgB8bwlfOMyXAM8LAnBPFsIoq+YHXyWz 2VJCVWSSe31xiFEjxm6Wgmx7Zo2YL++V73DJTbKH/8Y8jA0T/DiRvNcMFXNGeyIK HVH2XGJH6iNrKd/PiJuhL1sPfE/YctG/9dw== ARC-Authentication-Results: i=1; pb-mx23.pobox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=pass (1024-bit rsa key sha1) header.d=pobox.com header.i=@pobox.com header.b=EkcbwuAg header.a=rsa-sha1 header.s=sasl x-bits=1024; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,has-list-id=yes,d=none,d.eval=none) policy.policy-from=p header.from=cpan.org; iprev=pass smtp.remote-ip=107.191.116.128 (ewsd.inri.net); spf=pass smtp.mailfrom=9front-bounces@ewsd.inri.net smtp.helo=ewsd.inri.net; x-aligned-from=fail; x-ptr=pass smtp.helo=ewsd.inri.net policy.ptr=ewsd.inri.net; x-return-mx=pass header.domain=cpan.org policy.is_org=yes (MX Records found: pb-mx20.pobox.com,pb-mx23.pobox.com,pb-mx14.pobox.com,pb-mx22.pobox.com,pb-mx10.pobox.com,pb-mx11.pobox.com,pb-mx9.pobox.com,pb-mx21.pobox.com); x-return-mx=pass smtp.domain=ewsd.inri.net policy.org_domain=inri.net policy.is_org=no (MX Records found: ewsd.inri.net); x-vs=clean score=0 state=0 Authentication-Results: pb-mx23.pobox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=pass (1024-bit rsa key sha1) header.d=pobox.com header.i=@pobox.com header.b=EkcbwuAg header.a=rsa-sha1 header.s=sasl x-bits=1024; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,has-list-id=yes,d=none,d.eval=none) policy.policy-from=p header.from=cpan.org; iprev=pass smtp.remote-ip=107.191.116.128 (ewsd.inri.net); spf=pass smtp.mailfrom=9front-bounces@ewsd.inri.net smtp.helo=ewsd.inri.net; x-aligned-from=fail; x-ptr=pass smtp.helo=ewsd.inri.net policy.ptr=ewsd.inri.net; x-return-mx=pass header.domain=cpan.org policy.is_org=yes (MX Records found: pb-mx20.pobox.com,pb-mx23.pobox.com,pb-mx14.pobox.com,pb-mx22.pobox.com,pb-mx10.pobox.com,pb-mx11.pobox.com,pb-mx9.pobox.com,pb-mx21.pobox.com); x-return-mx=pass smtp.domain=ewsd.inri.net policy.org_domain=inri.net policy.is_org=no (MX Records found: ewsd.inri.net); x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduiedrjedtgddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkhffvff ggtgfgjeefufhrphesthejjedttddtvdenucfhrhhomheptfhomhgrnhhouceouhhnohgs vgestghprghnrdhorhhgqeenucggtffrrghtthgvrhhnpeeghffgveeikeduffejgfefve ejleekkeeludehheehueeiffduhedtudeiiefgkeenucfkphepuddtjedrudeluddruddu iedruddvkedpudefjedrvdehrddufeekrdehieenucevlhhushhtvghrufhiiigvpedune curfgrrhgrmhepihhnvghtpedutdejrdduledurdduudeirdduvdekpdhhvghlohepvgif shgurdhinhhrihdrnhgvthdpmhgrihhlfhhrohhmpeeolehfrhhonhhtqdgsohhunhgtvg hssegvfihsugdrihhnrhhirdhnvghtqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (ewsd.inri.net: 107.191.116.128 is authorized to use '9front-bounces@ewsd.inri.net' in 'mfrom' identity (mechanism 'mx' matched)) receiver=pb-mx23.pobox.com; identity=mailfrom; envelope-from="9front-bounces@ewsd.inri.net"; helo=ewsd.inri.net; client-ip=107.191.116.128 Received: from ewsd.inri.net (ewsd.inri.net [107.191.116.128]) by pb-mx23.pobox.com (Postfix) with ESMTP for ; Sat, 1 Aug 2020 14:44:37 -0400 (EDT) (envelope-from 9front-bounces@ewsd.inri.net) Received: from pb-smtp20.pobox.com ([173.228.157.52]) by ewsd; Sat Aug 1 14:42:11 EDT 2020 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 493BED91E8 for <9front@9front.org>; Sat, 1 Aug 2020 14:42:00 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :from:to:subject:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=ln1NAimBlqpP6dr3tigG7KPzW W4=; b=EkcbwuAgu0uRocBIs9uTgJHFbE+lkl82nxJ7BjOHyJx0ZdklXXHkoBg3E RGMNNOj4L6UbEbMFRZS3Hgfe3EWzCzmE715n5hBQolub4ON5OALhOzCrCrdSkI0h 670wWXqo8nthsWWv7vIt0ohgbnb1emlBkDsspRGw/9TYBoIM6A= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 30149D91E7 for <9front@9front.org>; Sat, 1 Aug 2020 14:42:00 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from samwise (unknown [137.25.138.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 59A8DD91E6 for <9front@9front.org>; Sat, 1 Aug 2020 14:41:57 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: <4805B3AEFECCAC9B0E43ACC47F838B40@smtp.pobox.com> From: Romano To: 9front@9front.org Date: Sat, 1 Aug 2020 11:41:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: AD93DF5C-D426-11EA-AA20-F0EA2EB3C613-09620299!pb-smtp20.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: shared distributed full-stack lifecycle solution Subject: Re: arm64 fails to link when float converted to int (Was Re: [9front] netsurf native frontend (text_insert: illegal combination FCVTZSDW FCON NONE REG)) Reply-To: 9front@9front.org Precedence: bulk X-Pobox-Client-Address: 107.191.116.128 X-Pobox-Client-Name: ewsd.inri.net X-Pobox-Client-HELO: ewsd.inri.net X-Pobox-Original-Sender: SRS0=mVJz=BL=ewsd.inri.net=9front-bounces@bounce2.pobox.com X-ICG-Account-ID: 09620299 > this is clearly a compiler bug. > > lets compare with the other compilers: > ... Thank you very much for the guided walk-through, and providing a patch to fix! It's been two decades since I looked at assembler before this past week or so, and therefore your notes were helpful in giving me an overview of what was happening (the -S flag is handy). I still need to take some more time in order to really understand the architectural differences (e.g., the intel 'haha' moment), but some other projects are most likely going to take priority if I don't run into any other compiler bugs. > we'll need to to do a bunch of test now to make sure this > change doesnt break anything. > > feel free to test and report any errors would be appreciated. On my rpi4, I re-made 7c with the patch and installed it, then did 'cd /sys/src; mk clean; mk': no error occurred. I also reverted the modification I had made for netsurf native, mk clean'd, and it built without modification too. Should I be kicking the tires in some other way? --upas-mnpwgbehvzjjspwoxautmgijlc--