From owner-freebsd-current@freebsd.org Sat Jul 14 09:00:38 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B62E9104754B for ; Sat, 14 Jul 2018 09:00:38 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C0771158 for ; Sat, 14 Jul 2018 09:00:38 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd36.aul.t-online.de (fwd36.aul.t-online.de [172.20.26.137]) by mailout04.t-online.de (Postfix) with SMTP id A2B434197AD6; Sat, 14 Jul 2018 11:00:29 +0200 (CEST) Received: from Stefans-MBP-LAN.fritz.box (GQ-6nOZ6Zh+7mzXKVSsTRLfQOehUpCUxj9MaJlrzq5pDmjkdoxs0o3VXZjdOMfvQ1g@[80.128.98.40]) by fwd36.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1feGPi-3LDj3A0; Sat, 14 Jul 2018 11:00:26 +0200 Subject: Re: options COMPAT_AOUT to file UPDATING to know To: "jounijl@yahoo.co.uk" , freebsd-current@freebsd.org References: <1c5d9e7e-fb12-d35a-818e-5a2a433733f5@yahoo.co.uk> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcL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syCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: <7f930a51-e884-3bfb-60e8-9273bc65b618@freebsd.org> Date: Sat, 14 Jul 2018 11:00:26 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1c5d9e7e-fb12-d35a-818e-5a2a433733f5@yahoo.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ID: GQ-6nOZ6Zh+7mzXKVSsTRLfQOehUpCUxj9MaJlrzq5pDmjkdoxs0o3VXZjdOMfvQ1g X-TOI-MSGID: a7f601f9-f1ae-4ccb-b803-aa0cc35b0091 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2018 09:00:38 -0000 Am 13.07.18 um 19:56 schrieb jounijl@yahoo.co.uk: > > === Reason: > > In compiling the kernel again after a long time after 'pkg upgrade' the > following errors. The Intel graphics card is in use and something had changed, > the 'startx' did not start the XFCE session. This was the reason to compile > the kernel again with the new sources of today. After two retries taking some > time to complite, it would be helpful to ... > > === Symptom: > > --- kernel.full --- > linking kernel.full > ld.lld: error: undefined symbol: aout_sysvec >>>> referenced by imgact_gzip.c:240 (/usr/src/sys/kern/imgact_gzip.c:240) >>>> imgact_gzip.o:(Flush) > > === Resolution: > > Adding > > options         COMPAT_AOUT > > to the kernel configuration file. > > This added the necessary 'imgact_aout.o' to the linking and the 'aout_sysvec' > was found. Seems you have "device gzip" in your kernel configuration? This is a long (15 years?) obsolete option, which let you compress your a.out binaries with gzip and execute them as if they were uncompressed. The binaries where not paged in as normal, but loaded as one blob, in that case. This was a useful features when Laptops had slow 200 MB hard disks, since the space saving was substantial. ELF binaries could never be compressed and executed that way, and the option is not present in any kernel configuration in the FreeBSD sources. It is only mentioned in NOTES and there is a clear remark, that this option requires COMPAT_AOUT (and also mentions that it is only useful for a.out binaries). Regards, STefan