On Thu, 2017-11-16 at 10:21 +0100, Florian Weimer wrote:
> * Ulf Hermann:
> > Well, there are a lot of other issues to be fixed if you want to build
> > elfutils on anything non-gcc. We could add a further check for those
> > builtins and sys/param.h and then add a somewhat less trivial version
> >
* Ulf Hermann:
>>> Some systems don't provide endian.h and byteswap.h. The required
>>> functions are trivial to define using sys/param.h and gcc builtins,
>>> though.
>>>
>>> Also, include endian.h in dwelf_scn_gnu_compressed_size.c as that uses
>>> be64toh().
>>
>> This is still an issue with n
>> Some systems don't provide endian.h and byteswap.h. The required
>> functions are trivial to define using sys/param.h and gcc builtins,
>> though.
>>
>> Also, include endian.h in dwelf_scn_gnu_compressed_size.c as that uses
>> be64toh().
>
> This is still an issue with non-glibc, non-BSD compil
* Ulf Hermann:
> Some systems don't provide endian.h and byteswap.h. The required
> functions are trivial to define using sys/param.h and gcc builtins,
> though.
>
> Also, include endian.h in dwelf_scn_gnu_compressed_size.c as that uses
> be64toh().
This is still an issue with non-glibc, non-BSD
Some systems don't provide endian.h and byteswap.h. The required
functions are trivial to define using sys/param.h and gcc builtins,
though.
Also, include endian.h in dwelf_scn_gnu_compressed_size.c as that uses
be64toh().
Signed-off-by: Ulf Hermann
---
ChangeLog