* elfutils-0.187 failing to build for a MUSL MIPS target
@ 2022-06-29 11:18 Immolo
0 siblings, 0 replies; only message in thread
From: Immolo @ 2022-06-29 11:18 UTC (permalink / raw)
To: elfutils-devel
Hi,
When trying to cross compile elfutils-0.187 for a MIPS device it fails with
various errors depending on the USE flags set on my crossdev Gentoo setup.
I believe but have not confirmed this is a MIPS issue until I have done
further tests.
in the MUSL overlay also fails with the same issue so I need to run some
further tests on other arches.
With USE="bzip2 nls threads utils" I get a numbe of undefined variables
with the final error "being undefined reference to `assert_perror'"
With USE="-*" then it becomes:
213 | if (fnmatch (pattern->pattern, name, FNM_EXTMATCH) == 0)
| ^~~~~~~~~~~~
| FNM_NOMATCH
/usr/mipsr5900el-unknown-linux-musl/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187/src/strip.c:213:44:
note: each undeclared identifier is reported only once for each
function it appears in
/usr/mipsr5900el-unknown-linux-musl/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187/src/strip.c:
In function ‘parse_opt’:
/usr/mipsr5900el-unknown-linux-musl/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187/src/strip.c:329:37:
error: ‘FNM_EXTMATCH’ undeclared (first use in this function); did you
mean ‘FNM_NOMATCH’?
329 | if (fnmatch (arg, ".comment", FNM_EXTMATCH) == 0)
| ^~~~~~~~~~~~
| FNM_NOMATCH
fI'll include the build logs for both below but I would be grateful if
anyone has any ideas on how I can start to solve this isse.
https://www.immolo.co.uk/elfutils/nouse-build.log
https://www.immolo.co.uk/elfutils/withuse-build.log
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-29 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 11:18 elfutils-0.187 failing to build for a MUSL MIPS target Immolo
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).