public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/28891] New: Cross compilation for ARM fails when trying to run i386_gendis
@ 2022-02-15  0:35 nikita.leontiev at gmail dot com
  2022-04-24 15:33 ` [Bug general/28891] " mark at klomp dot org
  2022-12-21 12:30 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: nikita.leontiev at gmail dot com @ 2022-02-15  0:35 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 28891
           Summary: Cross compilation for ARM fails when trying to run
                    i386_gendis
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: nikita.leontiev at gmail dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

When cross compiling elfutils for ARM, build process fails on attempt to run
i386_gendis compiled for ARM target on x86 host:

/bin/bash: ./i386_gendis: cannot execute binary file: Exec format error
Makefile:774: recipe for target 'i386_dis.h' failed
make[2]: *** [i386_dis.h] Error 126

Current problem discussed several times:

https://www.mail-archive.com/elfutils-devel@sourceware.org/msg03801.html

https://lists.fedoraproject.org/archives/list/elfutils-devel@lists.fedorahosted.org/thread/HIAWS54V54NROT2OYBLFHWIROAULHWII

https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedorahosted.org/thread/TK47UHJMSDVHMJB5W4A3SLVKHLF7JEGA

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/28891] Cross compilation for ARM fails when trying to run i386_gendis
  2022-02-15  0:35 [Bug general/28891] New: Cross compilation for ARM fails when trying to run i386_gendis nikita.leontiev at gmail dot com
@ 2022-04-24 15:33 ` mark at klomp dot org
  2022-12-21 12:30 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2022-04-24 15:33 UTC (permalink / raw)
  To: elfutils-devel

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Note that this does work when using release tar balls. Then i386_gendis isn't
needed.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/28891] Cross compilation for ARM fails when trying to run i386_gendis
  2022-02-15  0:35 [Bug general/28891] New: Cross compilation for ARM fails when trying to run i386_gendis nikita.leontiev at gmail dot com
  2022-04-24 15:33 ` [Bug general/28891] " mark at klomp dot org
@ 2022-12-21 12:30 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2022-12-21 12:30 UTC (permalink / raw)
  To: elfutils-devel

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

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
So a solution for people trying to do cross builds directly from git might
simply be to do a make dist first and then do a cross from that?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-21 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15  0:35 [Bug general/28891] New: Cross compilation for ARM fails when trying to run i386_gendis nikita.leontiev at gmail dot com
2022-04-24 15:33 ` [Bug general/28891] " mark at klomp dot org
2022-12-21 12:30 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).