Bug 11961

Summary: libpri build failure
Product: buildroot Reporter: Davide Viti <zinosat>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot, zinosat
Priority: P5    
Version: 2019.02.1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: libpri build failure
Compilation fix: add -fPIC
Patch to make sure ar from the toolchain is used

Description Davide Viti 2019-06-13 22:02:35 UTC
Created attachment 8096 [details]
libpri build failure

I've tried to include libpri in a build based on pc_x86_64_bios_defconfig and using x86-64-core-i7--glibc--bleeding-edge-2018.11-1.tar.bz2

it fails to build: see the attached log for details.

thank you
Davide
Comment 1 Davide Viti 2019-06-14 08:39:07 UTC
Created attachment 8101 [details]
Compilation fix: add -fPIC

The attached patch fixes the problem adding -fPIC to the CFLAGS
Comment 2 Davide Viti 2019-06-14 08:40:46 UTC
Created attachment 8106 [details]
Patch to make sure ar from the toolchain is used