From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1698 invoked from network); 29 Jun 2021 16:48:08 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 29 Jun 2021 16:48:08 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 33D6733333 for ; Tue, 29 Jun 2021 12:48:06 -0400 (EDT) (envelope-from bounce.mM2b943cc25dc92598f092e0d0.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 1546449BD0BF; Tue, 29 Jun 2021 12:48:06 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1624985285; bh=9XY5kxkzvVHlP6ChqJvDpHExJrIcBrxgszr+p iZGEzE=; b=XSikOIrhv7dwJUjmqVhmKuRaE9RKjxAx66Lm6e+vSpCHQmoK+G+wR 5z6pIJmTiRKn6Xyh/1fUuV4BkcCCg/5DDhVclGsseoYOT3dMxhBPQRlMIYXA6A1c Bjf9IarVi05qpZ9+eogSHo3CmxT52LOAUlfV1HrAjMP1N/AH8kEFTg= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1624985285; b=HZCPIl/KMpIia8iOfLNpek/+An2XBCiCeiTrHCv5Vvkx+n44AH Li6+HuVjn+iDxML5necO18DlVIe67rNVm9egf5VSfxXjXuOLfY0aBpZMIocQqK2U 3PwcwEY6R3lKUGNZt3k93DDJkHwCfem4vBNqNeS2A7xgX7x0JNnfJ99e4= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=niHuCIu8 9pw8o/JvXWt2Rzf8M3mEJiKDanplFb9GeVs=; b=VuRsIh4zITvoCb8oJiARFeKy EXvKDSnssUawP1P9v+2tm76doW04VixgPFzRBhmL2R9qeJJt/ePVtfh4sKyJjFIP xTPJoHW3CEz/2+l3D0gu1ylZyrUbKuZxAweTFSF4D4chVth38t9ZnvLbW1tOEpK4 dEJtJTB831lpbSB+UHA= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id D889349BCCC5 for <9fans@9fans.net>; Tue, 29 Jun 2021 12:47:54 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 91FEB5E36CE; Tue, 29 Jun 2021 12:47:54 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1624985274; b=nXPRRI7kJo8pfFqjpczRdrBvbMBC4KkXX/BTsPr6YFw2w/GeQu EZjPyqVmJ91UQE1H/iOffNO4mH/iekO3KgOaJtk3M508ngAapAxzoG1AJ3chTS50 HBrmwqUcL9m4Fq+aV2byel7dZ8bE7yZvEpT0YlrX0B1zRy4jdLAiCWAW7vi0wVoP gSjSUu31mHSh8CYwmGUJMH6whEuScErtX+csOGcCcZ9CltKXmj3afbaArSz9BHSp 65KIhYE0CaaNcLRiwO55ksbYE2YNHWpCNZMAf3gSkGFEn6S5kP3l2ztLSwoRqCWC c5TTgf0cA5Vra4Gu/YM9HpIDyjJfrPf5+r4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1624985274; bh=mTWmLGSLi1CLpzvnbFYA2fGHGjjmqnPH2DYwvd9cY6Q=; b= T5enzjGkMLkiSM/hh1MMmNVc7dBZ52XU1RgXZ4YDJS1IMP3ZfT+aOsOaaQhbK+od a4uo75XGqT5AAuuhJOv2/hDOk6faRY9uWe8/0jWVl7vNeIWuVZVqXmMictS1UmhK 0ae5254wEBaLPe6Kw8NwVEVgXdXQLbW4EnaFYAkq8qizzrFeoJ0uqBOuQ9wHjOKS 46HcCh/Uig3Re5DNs3fL9zYF0vSPUQab5ew7jdDkKSQZYGrHNOQgB5ImCrszH51p hLu84ewIgFLNvHwHANdiLTRnTps55DFefsyB5yihOqV7acuUtF/9krBA7cUa5iKy CLDzWOul7RN6lep+sGiJ0w== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeitddgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuff fhjgggtgfgsehtjeejtddttddvnecuhfhrohhmpehorhhisegvihhgvghnshhtrghtvgdr ohhrghenucggtffrrghtthgvrhhnpedvhedtfeefteeglefhgeekhefhuefhhedvvdeiud euheejteegveekiedtveeuhfenucfkphepvddtiedruddvgedrudefvddruddtjedpjeeg rddutdekrdehiedrvddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepih hnvghtpedvtdeirdduvdegrddufedvrddutdejpdhhvghlohepmhhimhhirhdrvghighgv nhhsthgrthgvrdhorhhgpdhmrghilhhfrhhomhepoehorhhisegvihhgvghnshhtrghtvg drohhrgheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 29 Jun 2021 12:47:53 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 8326d220 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Tue, 29 Jun 2021 09:47:52 -0700 (PDT) Message-ID: <42FF8039B4AFA3F4DF4B29ED45609806@eigenstate.org> To: 9fans@9fans.net Subject: Re: [9fans] ape function args not checked|mixed ansi/old function declaration Date: Tue, 29 Jun 2021 12:47:50 -0400 From: ori@eigenstate.org In-Reply-To: <1de59d4b-192d-5b7b-fbe4-137b47cada9a@SDF.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: c2c39592-d8f9-11eb-b8af-fedef0fe43c0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNWQzOTk4NTA5NjAzZWJkZS1NMmI5NDNjYzI1ZGM5MjU5OGYwOTJl?= =?UTF-8?B?MGQwPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M2b943cc25dc92598f092e0d0:1:MfMxS7U81qfKbtS7zD7P8raZXtmUNphoO50cZWsDyQg Quoth adr via 9fans <9fans@9fans.net>: > Hi, let see if someone can put me in the right direction. >=20 > I'm having now this issue compiling ape/lib/sec (/sys/src/libsec > is modified): >=20 > pcc -FTVw -c -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../../../../libmp/port = -I. -I/sys/include/ape -I/sys/include ../../../../libsec/port/tlshand.c > /sys/src/ape/lib/sec/port/../../../../libsec/port/tlshand.c:2896[stdin:54= 01] function args not checked: setrealloctag >=20 > So I thought setrealloctag is not been declared, so I added it to > the local libc.h (/sys/src/ape/lib/sec/port/libc.h): >=20 > [...] > extern void setmalloctag(void*, ulong); > extern void setrealloctag(void*, uintptr); > extern ulong getcallerpc(void*); > [...] >=20 > But now: >=20 > pcc -FTVw -c -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../../../../libmp/port = -I. -I/sys/include/ape -I/sys/include ../../../../libsec/port/des.c > /sys/src/ape/lib/sec/port/./libc.h:173[stdin:1533] mixed ansi/old functio= n declaration: setrealloctag >=20 > I'm missing something about how ape is importing the headers, any hint? >=20 You need to spell ulong, uintptr in posix types. look at how it's done in 9front's ape/lib/9/libc.h for a working example. ape is its own separate world -- even fds are emulated so that select and friends can be implemented with procs in userspace. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5d3998509603ebde-M2b943= cc25dc92598f092e0d0 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription