Bug 11961 - libpri build failure
Summary: libpri build failure
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2019.02.1
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-13 22:02 UTC by Davide Viti
Modified: 2019-08-17 21:51 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments
libpri build failure (17.97 KB, text/x-log)
2019-06-13 22:02 UTC, Davide Viti
Details
Compilation fix: add -fPIC (473 bytes, patch)
2019-06-14 08:39 UTC, Davide Viti
Details
Patch to make sure ar from the toolchain is used (395 bytes, patch)
2019-06-14 08:40 UTC, Davide Viti
Details

Note You need to log in before you can comment on or make changes to this bug.
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