[Buildroot] [PATCH v3] Update libaio to 0.3.110

Alistair Francis alistair.francis at xilinx.com
Tue Apr 5 00:41:17 UTC 2016


On Sat, Apr 2, 2016 at 8:53 AM, Romain Naour <romain.naour at gmail.com> wrote:
> Hi Alistair, Thomas, All,
>
> Le 18/02/2016 20:39, Alistair Francis a écrit :
>> Update libaio from 0.3.108 to 0.3.110. This adds AArch64 support.
>>
>> Signed-off-by: Alistair Francis <alistair.francis at xilinx.com>
>> ---
>>  package/libaio/0001-arches.patch | 454 ++-------------------------------------
>>  package/libaio/Config.in         |   2 +-
>>  package/libaio/libaio.hash       |   4 +-
>>  package/libaio/libaio.mk         |   2 +-
>>  4 files changed, 20 insertions(+), 442 deletions(-)
>>
>
> Since the libaio bump, the blktrace package is broken on powerpc [1].
>
> /home/peko/autobuild/instance-1/output/host/usr/bin/powerpc-linux-gnu-gcc
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -I. -I..
> -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -UCOUNT_IOS
> -UDEBUG -DNDEBUG -o btreplay btreplay.o -laio -lrt -lpthread
> [...]ld: btreplay: hidden symbol `_restgpr_29_x' in [..]libgcc.a(crtresxgpr.o)
> is referenced by DSO
> [...]ld: final link failed: Nonrepresentable section on output
>
> It's seems that only powerpc is affected by this issue...
> I'm not sure about a proper fixes but adding -shared to the command line fixes
> the build (not runtime tested though).
>
> Can you take a look ?

Good catch, thanks for pointing this out.

It appears to be a common issue and the workaround is to disable pie
and fpie support.

See: http://patchwork.openembedded.org/patch/86515/

I can't work out how to remove the -fPIC option though. Any ideas?

Thanks,

Alistair

>
> Best regards,
> Romain Naour
>
> [1] http://autobuild.buildroot.net/?reason=blktrace-1.1.0
>



More information about the buildroot mailing list