https://sourceware.org/bugzilla/show_bug.cgi?id=28975

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org
           Assignee|unassigned at sourceware dot org   |mark at klomp dot org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-03-20
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
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=64
testrun ${abs_top_builddir}/src/readelf -h ${abs_builddir}/addsections | grep
ELF32 \
       && elfclass=32
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to