From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from felloff.net ([216.126.196.34]) by ur; Wed Jan 6 22:54:07 EST 2016 Message-ID: <1743bc5f1ac8a74f257abf5a9bad0671@felloff.net> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: immutable hardware-oriented event-based controller Subject: new amd64 compilers Date: Thu, 7 Jan 2016 04:54:00 +0100 From: cinap_lenrek@felloff.net To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit the new 64-bit compilers returns vlong instead of long for pointer subtraction allowing the use of arrays bigger than 2gb. traditionally, the result was a long which is 32-bit on plan9. to deal with this, we introduce signed intptr type and format string modifier %z which can be used to format pointer sized integers (long on 32-bit arch, vlong on 64-bit arch). to update your amd64 system, rebuild 6c first like: cd /sys/src/cmd/cc; mk install cd /sys/src/cmd/6c; mk install then rebuild the whole system: cd /sys/src; mk clean; mk install -- cinap