Article View: muc.lists.netbsd.port.pmax
Article #1Re: Regarding the ULTRIX and OSF1 compats
From: Maxime Villard
Date: Sat, 23 Mar 2019 14:50
Date: Sat, 23 Mar 2019 14:50
39 lines
3385 bytes
3385 bytes
Le 16/03/2019 à 22:41, Paul Goyette a écrit : > On Sat, 16 Mar 2019, Maxime Villard wrote: > >> Regarding COMPAT_OSF1: I'm not totally sure, but it seems that Alpha's >> COMPAT_LINUX uses COMPAT_OSF1 as dependency (even if there is no proper >> dependency in the module), because there are osf1_* calls. Some more >> compat mess to untangle, it seems... >> >> In all cases, it's only a few functions that are just wrappers, so it >> probably shouldn't be too complicated to solve. > > It's a total of 15 functions (I generated this list by building an alpha GENERIC kernel with COMPAT_OSF1 removed): > > osf1_sys_wait4 > osf1_sys_mount > osf1_sys_set_program_attributes > osf1_sys_setitimer > osf1_sys_select > osf1_sys_gettimeofday > osf1_sys_getrusage > osf1_sys_settimeofday > osf1_sys_utimes > osf1_sys_statfs > osf1_sys_fstatfs > osf1_sys_sysinfo > osf1_sys_usleep_thread > osf1_sys_getsysinfo > osf1_sys_setsysinfo > > All of these are references from linux_sysent.o Here is a patch [1] that untangles the dependency. Cross-compile-tested on alpha from amd64. [1] https://m00nbsd.net/garbage/compat/alpha.diff -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<0c68523a-2524-5799-78df-2bc752d6cd23@m00nbsd.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<bf1f5843-ef6c-42a7-55ff-2deaacc6d881@m00nbsd.net> <201903160523.x2G5NKBH019709@server.cornerstoneservice.ca> <Pine.NEB.4.64.1903170537590.29645@speedy.whooppee.com>Show Full Headers
Complete Article Headers
Message-ID: <0c68523a-2524-5799-78df-2bc752d6cd23@m00nbsd.net> Subject: Re: Regarding the ULTRIX and OSF1 compats Date: Sat, 23 Mar 2019 15:50:52 +0100 From: Maxime Villard <max@m00nbsd.net> References: <bf1f5843-ef6c-42a7-55ff-2deaacc6d881@m00nbsd.net> <201903160523.x2G5NKBH019709@server.cornerstoneservice.ca> <Pine.NEB.4.64.1903170537590.29645@speedy.whooppee.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: muc.lists.netbsd.port.pmax Organization: Newsgate at muc.de e.V. Sender: port-pmax-owner@NetBSD.org Approved: news-admin@muc.de Distribution: world Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: news.muc.de; posting-host="192.168.0.4"; logging-data="50247"; mail-complaints-to="news-admin@muc.de" X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on f9b3f715-3f29-11e8-b508-002264fbbacc X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 X-Virus-Scanned: amavisd-new at netbsd.org Content-Language: en-US X-Ovh-Tracer-Id: 5165065825566461934 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrjeefgdejvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd List-Id: port-pmax.NetBSD.org Precedence: bulk List-Unsubscribe: <mailto:majordomo@NetBSD.org?subject=Unsubscribe%20port-pmax&body=unsubscribe%20port-pmax> X-Newsgate-Id: f02c70b8849f+ 6+ X-No-Archive: Yes Lines: 38