From owner-freebsd-emulation@freebsd.org Tue Dec 18 19:21:45 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 1C6FF133C000 for ; Tue, 18 Dec 2018 19:21:45 +0000 (UTC) (envelope-from chuck@tuffli.net) 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 7840B839A5 for ; Tue, 18 Dec 2018 19:21:44 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mailman.ysv.freebsd.org (Postfix) id 3C4E7133BFFE; Tue, 18 Dec 2018 19:21:44 +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 2AD83133BFFD for ; Tue, 18 Dec 2018 19:21:44 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFF1E8399B for ; Tue, 18 Dec 2018 19:21:43 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-it1-x12d.google.com with SMTP id i145so5909883ita.4 for ; Tue, 18 Dec 2018 11:21:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FH7hS4c+X1UeXS/0zCvZ42Zdly2qVyBjRwgxDUrkABA=; b=bP9Rcz47Kq/C1HdnMprTYGe4euVG4Fa/hIJR+Vf2zytvjGIBJ+scGgU3lXDpEZyW8R xcVu+JZvJa/X8eieGrf3/Ka/Y92GpTl+6UQtHZGMYA+q8FcOXS2eFuYCfqIkvGq25EUJ 03ryiL7Cf9uVE3iLJ8OOMD0n113Xcmo0HE3wEDjpSHQ0W57D0WFCnJ7vatPY8dMBLDSb E8ovZjqaZczbHjEyDv0uO4xnA+fpifA6tI6EdAXTomaymyQjEoBIerg2znlWzySLpn7m shi0SAUL8JVHUCJ0DqPqdFADnnuubNee/mGO/iBmWnDdEPupbkSrkMV47MJmenLIkhJm U/Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FH7hS4c+X1UeXS/0zCvZ42Zdly2qVyBjRwgxDUrkABA=; b=GpjpB16lzp7xvLfMvmowI+m3E/PN1lwmRjraZIJPC/Y04fN60ID1vAFS/BgKldWJaY qbHlLVY4SNdWj0ynmywohk2x2kXOiHP6j9TZeXsv4YsbGu3ijWMwl4/7c//FbJOBGRsQ wnDb+XnSLLGeBM5PeT9SY1dv54uvQoZ8/Hfh11WRg6H6hvH8LMdY7CA7pz9f+wisQGfr bNoOSuWqKOzXf66LFj3Gpa9c5PjrnZWtlp0WVfQfZgVphlX9Ai5z5U4ApidzoAzMFsgm ZfoCX+XqlZKxKKxiooo/Acq/QvcT9C0U+3MuM/be/5DPkUqNGwb9CCybGq7Poj+Tf/W1 3kSw== X-Gm-Message-State: AA+aEWY2Ow2/9wnhOv/kF6/O2hG3eNkIzb5OoMC2VHdI8f00buHjKJPq i72IwJ7fftkJdBlGfVUJwThYOdEP0CVKndhT3N/gYg== X-Google-Smtp-Source: AFSGD/UOIMU8X+7KWEUqNK6NjQQ0tx1xlXGBnrCWbjXY2M0ueirWdLTm9oAchiB8daMsFW2mGFFuXSFZ460UJOOmZ9o= X-Received: by 2002:a24:7c58:: with SMTP id a85mr4096859itd.9.1545160903066; Tue, 18 Dec 2018 11:21:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Chuck Tuffli Date: Tue, 18 Dec 2018 11:21:31 -0800 Message-ID: Subject: Re: FATAL error after upgrade glibc for linux emulation To: Weike.Chen@dell.com Cc: emulation@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: BFF1E8399B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,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 19:21:45 -0000 On Mon, Dec 17, 2018 at 8:20 PM wrote: > > Dell - Internal Use - Confidential > > Hi Linux emulation experts, > > 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? Can you tell if a call to setsockopt(..., IP_RECVERR) is failing? --chuck