From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by sourceware.org (Postfix) with ESMTPS id 6F6933857369 for ; Wed, 4 May 2022 16:53:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6F6933857369 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-e9027efe6aso1748187fac.10 for ; Wed, 04 May 2022 09:53:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=ewJcHtfNA22Q8XoBJK8e8cpYlZROvrfAZMfL1w0DfUg=; b=LwCetpZIsFzaFUeknK+L9ge/4WumhebNNKcV3ZnGK3tFjMDbgt9ZYb7EC5QtK/oxYn ouUz22syvZyFFoz8T5QZcOjlPA0VsZfTKLcZNjqHFSXalu6Cs0Y/TU0daHHIMm8jvAF4 9i+AmkNIgmLXVAkbT8jj2rb5yAsp/3WsZbceMKuCs8aTYzbmoyVX+QMMgIhOP/LZieWB gM91a1I1beq8yYbCZl+uTBOzyz9xwR4klIMgjr4URlnB2wGhRlUOYYm3iUeTmSYOX+iq cXE1RjvHYxmB0+4KMnaBwXHKEWef1adNiXrRbohtO37ttT6ptZlTTnj8cJGT2dNjXmyJ xWTA== X-Gm-Message-State: AOAM533lxA3Y8RoYJyog7TdyBTznrg60pRD4lU9eaWo5zDQXYQfCGhmp tCuT8LF9J3iftuPe6L66wXX5hmIlbjd30Q== X-Google-Smtp-Source: ABdhPJx+KRVm/8b3vZIy5lKFL2ywvFmf7dcf/PFuQ6FpVOjVZXewiJHjpIFx0ys9IlT40q3oxSWlMQ== X-Received: by 2002:a05:6870:9a19:b0:e9:205a:74b2 with SMTP id fo25-20020a0568709a1900b000e9205a74b2mr189617oab.282.1651683221752; Wed, 04 May 2022 09:53:41 -0700 (PDT) Received: from ?IPV6:2804:431:c7cb:726:3ae8:3076:1dad:37? ([2804:431:c7cb:726:3ae8:3076:1dad:37]) by smtp.gmail.com with ESMTPSA id l2-20020a4ad9c2000000b0035eb4e5a6b7sm6179568oou.13.2022.05.04.09.53.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 May 2022 09:53:40 -0700 (PDT) Message-ID: Date: Wed, 4 May 2022 13:53:38 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: gcc-multilib and libc Content-Language: en-US To: ANA ALMARZA , Libc-help References: <653278603.5909309.1651575388240.ref@mail.yahoo.com> <653278603.5909309.1651575388240@mail.yahoo.com> From: Adhemerval Zanella In-Reply-To: <653278603.5909309.1651575388240@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2022 16:53:44 -0000 On 03/05/2022 07:56, ANA ALMARZA via Libc-help wrote: > > Hi: > >   > > I’ve installed Debian 11 and gcc-multilib to run my old 32bits application but for some extrange reason esc key doesn’t work. If you press it, even if you don’t need it, the application gets blocked and cursor is up and down with no end. > >   > > If I don’t intall gcc-multilib and copy ld-linux.so.2 to /lib and libm.so.6 -> libm-2.22.so and libc.so.6-> libc-2.22.so to /lib32 the application works perfect. > Which glibc version is installed by gcc-multilib? Is there any debian local patch applied? Is the glibc 2.22 you are using compiled from source or does it come from a older debian? >   > > Is there a way to fix this? Should I consider no to use this application in a short term? We use this app every day and we need it ☹ Does it work with glibc master or at least 2.35? > >   > > If I run file /bin/pragma: > > /bin/pragma: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped > >   > > If I run ldd /bin/pragma: > > linux-gate.so.1 (0xf7fb1000) > >         libm.so.6 => /lib/libm.so.6 (0xf7f4a000) > >         libc.so.6 => /lib/libc.so.6 (0xf7d9d000) > >         /lib/ld-linux.so.2 (0xf7fb3000) > >   > > Regards. Is is hard to understand what might be happening without any information on what the program does exactly. Which libc function does it call? What strace shows? If you may provide a test example, it would be also very helpful.