From owner-freebsd-emulation@freebsd.org Tue Dec 18 09:01:57 2018 Return-Path: Delivered-To: freebsd-emulation@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 73F331347B52 for ; Tue, 18 Dec 2018 09:01:57 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E58608823E for ; Tue, 18 Dec 2018 09:01:56 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A28AE1347B4F; Tue, 18 Dec 2018 09:01:56 +0000 (UTC) Delivered-To: emulation@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 7DC3A1347B4E for ; Tue, 18 Dec 2018 09:01:56 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay104.isp.belgacom.be (mailrelay104.isp.belgacom.be [195.238.20.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D74108823A for ; Tue, 18 Dec 2018 09:01:55 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AofnwdhLFDMUhgcquNNmcpTZWNBhigK39O0sv0r?= =?us-ascii?q?FitYgRKfjxwZ3uMQTl6Ol3ixeRBMOHs6IC07KempujcFRI2YyGvnEGfc4EfD?= =?us-ascii?q?4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFA?= =?us-ascii?q?nhOgppPOT1HZPZg9iq2+yo9JDffwZFiCChbb9uMR67sRjfus4KjIV4N60/0A?= =?us-ascii?q?HJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L2?= =?us-ascii?q?81/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUj?= =?us-ascii?q?qg8qhrUgflhikHOTAn7W/Zic5/jKxUrx29qBJy2JLUbYOJOPZiYq/RYc0WSG?= =?us-ascii?q?xcVchRTSxBBYa8YpMRAegEOeZTspfwp1wJrRulGwasAfngyjlThnTr2qA6z+?= =?us-ascii?q?UhEQPC3AE7H9wOqmrbo8voOakPX+651q7IzS/Mb/5P3zr29YbGchckof6WXL?= =?us-ascii?q?Jwd9LcxVctGg/flVWQroroNC6W2OQVq2WW7OhtWfiuhmMosQ18oDmiyt0yho?= =?us-ascii?q?XXiI8YzE3P+z9jz4YvP9K4TVZ2YdujEJRNqS6XL5B2QsY+Q2FwvyY616EGtY?= =?us-ascii?q?a7fCcUzJQnwAbSa/+dfIiM4xLjUfieIS1/hH5/ZLK/hhSy8Uy6xuLgUcm010?= =?us-ascii?q?1KoTRAktbWsHANzAbf6s+dSvty5kuh2DCP2B7P6uxcIk05l7DXJp8uz7IqlJ?= =?us-ascii?q?cesF7PEjHolEj4lKOWc18r+ums6+TpeLXmoZqcOpdoigH/MKQunteyAeoiMg?= =?us-ascii?q?cQQWeU4v+826D58U3+WrVKgeU6krPFv5DCOcQbuqm5DhdL3YYm9ha/Cy2p0M?= =?us-ascii?q?gZnXkAKlJIYxyHj5L3NF7QO//4Fuqwj06rkDdxyPCVdoHmV6rAL3vO1pzhcL?= =?us-ascii?q?BVx0NYzEw4ytUMyYhTD+Q9x/a7cUj2r9HdBxkie1iowuTjIPtn2440Yk7JBb?= =?us-ascii?q?WWZvCB+WSU7/4idrHfLLQevyzwfqAo?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AUAACCthhc/99MQFdkGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAQGBVAEBAQEBAQsBggNmTzMnjHSLGQEBggw1AYdEghKPSSi?= =?us-ascii?q?EUQKDHCM3Bg0BAwEBAgEBAgFsHAyCNiKCZQEFOhwjEAsYCSUPKh4ZgyOCBKk?= =?us-ascii?q?uiS2BDoxWgX+EI4R0WoUSAol1hiORCQmHD4pEJJFUm0oigVZNMAiDJwmMcIN?= =?us-ascii?q?jPgMwjDSCSwEB?= X-IPAS-Result: =?us-ascii?q?A2AUAACCthhc/99MQFdkGQEBAQEBAQEBAQEBAQcBAQEBA?= =?us-ascii?q?QGBVAEBAQEBAQsBggNmTzMnjHSLGQEBggw1AYdEghKPSSiEUQKDHCM3Bg0BA?= =?us-ascii?q?wEBAgEBAgFsHAyCNiKCZQEFOhwjEAsYCSUPKh4ZgyOCBKkuiS2BDoxWgX+EI?= =?us-ascii?q?4R0WoUSAol1hiORCQmHD4pEJJFUm0oigVZNMAiDJwmMcINjPgMwjDSCSwEB?= Received: from 223.76-64-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.64.76.223]) by relay.skynet.be with ESMTP; 18 Dec 2018 10:00:40 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id wBI90cwg018023; Tue, 18 Dec 2018 10:00:39 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Tue, 18 Dec 2018 10:00:38 +0100 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Weike.Chen@Dell.com Cc: emulation@FreeBSD.org Subject: Re: FATAL error after upgrade glibc for linux emulation Message-ID: <20181218100038.630b9ed4@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: D74108823A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 09:01:57 -0000 On Tue, 18 Dec 2018 04:20:02 +0000 wrote: > I installed 'linux_base-c7' on freeBSD12, and its glibc version is > '2.17', but I have a linux application, it is depended on glibc-2.27. > So I upgrade the glibc in /compat/linux to '2.27', (I just copy glibc > 2.27 from Ubuntu 18.04 to 'compat/linux/lib64': > ld-2.27.so > libc-2.27.so > libdl-2.27.so > librt-2.27.so > > Then I run my application, it is reported the error: > FATAL: kernel too old. > > Then I run a simple help world (only print a message), it can work > before my glibc upgrading, but now get the same error. > > Anything I missed? You can try to increase compat.linux.osrelease sysctl, but this will only work if your program doesn't need new kernel features.