public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* Compile failure due to use of qsort_r
@ 2014-04-01 12:03 Paul Barker
  2014-04-01 13:45 ` Karel Zak
  2014-04-04 14:09 ` Karel Zak
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Barker @ 2014-04-01 12:03 UTC (permalink / raw)
  To: util-linux

Hi all,

I'm using util-linux as part of the OpenEmbedded build system and
we've ran into two places where the use of qsort_r in util-linux is
causing a compile failure:

- CentOS 5.10 is using an old version of glibc which doesn't provide qsort_r

- We're experimenting with musl-libc and this also doesn't provide qsort_r

qsort_r is only used in one place in libfdisk/src/sun.c to my knowledge.

Personally I think a good solution would be to add a configure check
on whether qsort_r is provided and to either error out at that stage
or provide a workaround.

I'm pretty starved for time myself so sadly all I can do is report the failure.

Thanks,

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk

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

end of thread, other threads:[~2014-04-04 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 12:03 Compile failure due to use of qsort_r Paul Barker
2014-04-01 13:45 ` Karel Zak
2014-04-04 14:09 ` Karel Zak
2014-04-04 16:37   ` Paul Barker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox