Bug 28194 - confirm cross-building works
Summary: confirm cross-building works
Status: NEW
Alias: None
Product: elfutils
Classification: Unclassified
Component: debuginfod (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2021-08-05 15:11 UTC by Frank Ch. Eigler
Modified: 2021-08-05 17:20 UTC (History)
2 users (show)

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2021-08-05 15:11:32 UTC
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:


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

This sort of build should also work and/or be automagically disabled, rather than require the manual configury flagging.
Comment 1 erico.erc+sourcewarebugzilla 2021-08-05 17:20:22 UTC
They suggest the same settings for native compilation:

% ./configure --prefix=/usr                \
            --disable-debuginfod         \

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.