public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug debuginfod/28194] New: confirm cross-building works
@ 2021-08-05 15:11 fche at redhat dot com
  2021-08-05 17:20 ` [Bug debuginfod/28194] " erico.erc+sourcewarebugzilla at gmail dot com
  2022-04-24 16:06 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2021-08-05 15:11 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 28194
           Summary: confirm cross-building works
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

There are some reports that debuginfod client and/or server parts of elfutils
may not build correctly when configured in a cross-arch mode, so people are
advised to disable it:

https://www.linuxfromscratch.org/~thomas/multilib/chapter08/libelf.html

% CC="gcc -m32" ./configure \
    --host=i686-pc-linux-gnu \
    --prefix=/usr            \
    --libdir=/usr/lib32      \
    --disable-debuginfod     \
    --enable-libdebuginfod=dummy

This sort of build should also work and/or be automagically disabled, rather
than require the manual configury flagging.

-- 
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 debuginfod/28194] confirm cross-building works
  2021-08-05 15:11 [Bug debuginfod/28194] New: confirm cross-building works fche at redhat dot com
@ 2021-08-05 17:20 ` erico.erc+sourcewarebugzilla at gmail dot com
  2022-04-24 16:06 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: erico.erc+sourcewarebugzilla at gmail dot com @ 2021-08-05 17:20 UTC (permalink / raw)
  To: elfutils-devel

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

erico.erc+sourcewarebugzilla at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erico.erc+sourcewarebugzill
                   |                            |a at gmail dot com

--- Comment #1 from erico.erc+sourcewarebugzilla at gmail dot com ---
They suggest the same settings for native compilation:

% ./configure --prefix=/usr                \
            --disable-debuginfod         \
            --enable-libdebuginfod=dummy

I think this is just to simplify the bootstrap path, since otherwise elfutils
requires a lot of dependencies.

I haven't noticed any issues when cross compiling.

-- 
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 debuginfod/28194] confirm cross-building works
  2021-08-05 15:11 [Bug debuginfod/28194] New: confirm cross-building works fche at redhat dot com
  2021-08-05 17:20 ` [Bug debuginfod/28194] " erico.erc+sourcewarebugzilla at gmail dot com
@ 2022-04-24 16:06 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2022-04-24 16:06 UTC (permalink / raw)
  To: elfutils-devel

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
I can confirm that on x86_64 fedora, with all i386 devel packages installed the
following configure/build works and passes all tests:

CC="gcc -m32" CXX="g++ -m32" ./configure --host=i686-pc-linux-gnu
--enable-debuginfod && make -j8 && make check -j8

============================================================================
Testsuite summary for elfutils 0.186
============================================================================
# TOTAL: 255
# PASS:  249
# SKIP:  6
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

-- 
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-04-24 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 15:11 [Bug debuginfod/28194] New: confirm cross-building works fche at redhat dot com
2021-08-05 17:20 ` [Bug debuginfod/28194] " erico.erc+sourcewarebugzilla at gmail dot com
2022-04-24 16:06 ` 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).