From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 561213858439 for ; Fri, 6 Oct 2023 17:07:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 561213858439 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9b27bc8b65eso406290766b.0 for ; Fri, 06 Oct 2023 10:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696612061; x=1697216861; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LZQWZ8DoD51M+CyscGA44lbbODmRL8tG3kc+R7ZLwHg=; b=S7daslMxxEnjp/a25RKKq+lRDJiaIE2e+edDAe2dMvoTZgx4QSk0J0QWrZU6zfNMJE HN4iFKoxXv/naZZp+nQfJ8epDaA2ER1B8cYl+ALcG+kdDK1ky+f1IGLKR/TEtvAilcft yE4wgc+Nou94ywiZ1CtT3WZx0OfRwS0tI0RULYq6kcvh7pLNmv4R6Plmgiz0xLKkAW4V rBvSbSPitpraJqt1AH7XhWzO8GMHkpMMHLQa5Kdd/Y24qcObp6C2Poud4huraJVJTKdG Ke6M5n41BkXm0XLOuhZKhL7hi4Wi2p7dpw0MaiNXTmIt7cDEreCtdA9UsnEajJTiagB+ sIeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696612061; x=1697216861; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LZQWZ8DoD51M+CyscGA44lbbODmRL8tG3kc+R7ZLwHg=; b=A1Js8i5yCVRKDxYQzbkJSlxAz36BNitVPDClUXLuggo9Ivm5AjKB7IDV4FkovKeWZF 5k5gfWZi+W8PNS1Ysxgs0h0AxYGO8BD2nh0uEWPuP5j+Wq5JygiNOOLgijWNi7lFHvju 0HX+4o5K4seom1uLOlTulW48o+zP9K8vVjPweOOemJGGeHqH3LhzXP1U1nvAbnZbrE8x LEMsvCAXgkVlxErg8Fb/giaRg39lkTC/qZN59OSKs4NVRb2sku6iHWhTNDwxXxCfoKw1 MYUPXt03ksQ4M+ZD1xkVGurg1rWt3raxqlB0Fy6OqIZ/ignuYE1hVorRZf7rW0w4+Dw2 +LAQ== X-Gm-Message-State: AOJu0YyBZAyklQ0krEWI0by2kx0XirDvbuB77B1qd69lNaduGa1td+i1 exB9SsBZBn4ELSH2V3BXKXcn1arVU/vwYFlF0UwZD1Vw X-Google-Smtp-Source: AGHT+IHcIF/hvDQ8AqAlViCKrDvq1/q/pAZx2OGqvUHlkO2cqHaAGp/gpsD9R5S0F5xL46FXaRMmhNSrjr3iYuMCcHE= X-Received: by 2002:a17:906:2085:b0:9b2:b9bf:e28f with SMTP id 5-20020a170906208500b009b2b9bfe28fmr7152544ejq.34.1696612061026; Fri, 06 Oct 2023 10:07:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Fri, 6 Oct 2023 18:07:29 +0100 Message-ID: Subject: Re: What caused my executable file not to run on a Linux of old version 2.4.36.1 To: Dingjun Chen Cc: gcc-help Content-Type: multipart/alternative; boundary="000000000000381e4b06070f47a8" X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DEAR_SOMETHING,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_LINEPADDING,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000381e4b06070f47a8 Content-Type: text/plain; charset="UTF-8" On Fri, 6 Oct 2023, 15:44 Dingjun Chen, wrote: > Hi, Dear Sir or Madam, > > I used the following gcc/g++ to build 32-bit executable file: vtem_xyz and > please see the following information below: > > dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ objdump -f vtem_xyz > vtem_xyz: file format elf32-i386 > architecture: i386, flags 0x00000150: > HAS_SYMS, DYNAMIC, D_PAGED > start address 0x000027d0 > > The Linux version and gcc/g++ version information are given below when > building above executable file: > > dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ uname -a > Linux G02515 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 > UTC 2023 x86_64 x86_64 x86_64 GNU/Linux > > dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ g++ --version > g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 > Copyright (C) 2021 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ gcc --version > gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 > Copyright (C) 2021 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > However, the executable file: vtem_xyz cannot run on RTD single board > computer with Linux 2.4.36.1 2009, i686. > All shared .so libraries are under the same directory with the executable > file: vtem_xyz. I am wondering what's wrong with it. > You haven't told us what happens, so we can't help you. What does "cannot run" mean? What happens when you try to run it? > Could you please tell me if your GNU libraries are compatible with the > Linux of old version? Do you have any suggestions when building an > executable file running under a Linux of old version? > > I look forward to your help and your reply would be greatly appreciated. > > Thanks and regards, > > Dingjun > > > > > > > > > Dingjun Chen | Software Developer > > [Geotech Airborne Geophysical Surveys] > > Geotech Ltd. dba Geotech Airborne | 270 INDUSTRIAL PKY S | AURORA ON CA | > L4G 3T9 > T: +1 905 841 5004 | Dingjun.Chen@geotechairborne.com Dingjun.Chen@geotechairborne.com> | www.geotechairborne.com > > > P Please consider the environment before printing this email > > This message may contain PRIVILEGED AND PROPRIETARY INFORMATION intended > solely for the use of the addressee (s) named above. Any disclosure, > distribution, copying, or use of the information by others is strictly > prohibited. If you have received this message in error, please advise the > sender by immediate reply and delete the original message. > --000000000000381e4b06070f47a8--