From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41DC53858C83; Sun, 20 Mar 2022 23:19:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41DC53858C83 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/28975] run-large-elf-file.sh fails in 32-bit cross-compile on 64-bit machine Date: Sun, 20 Mar 2022 23:19:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to everconfirmed cf_reconfirmed_on bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2022 23:19:20 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28975 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg Ever confirmed|0 |1 Last reconfirmed| |2022-03-20 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Mark Wielaard --- You are right, we should (also) test that the test binary itself is 64bits. I would propose adding something like this: # The test binary also needs to be 64bits itself elfclass=3D64 testrun ${abs_top_builddir}/src/readelf -h ${abs_builddir}/addsections | gr= ep ELF32 \ && elfclass=3D32 echo elfclass: $elfclass if test $elfclass -ne 64; then echo "Only 64bit binaries can create > 4GB ELF files" exit 77 fi Full patch: https://sourceware.org/pipermail/elfutils-devel/2022q1/004752.html --=20 You are receiving this mail because: You are on the CC list for the bug.=