[Buildroot] Analysis of build failures

Fabio Porcedda fabio.porcedda at gmail.com
Fri Nov 29 10:25:30 UTC 2013


On Fri, Nov 22, 2013 at 10:15 AM, Fabio Porcedda
<fabio.porcedda at gmail.com> wrote:
> Hi Thomas,
>
> On Fri, Nov 22, 2013 at 9:14 AM, Thomas Petazzoni
> <thomas.petazzoni at free-electrons.com> wrote:
>> Hello,
>>
>> On Fri, 22 Nov 2013 08:30:02 +0100 (CET), Thomas Petazzoni wrote:
>> ...
>>>        arm |                  lvm2-2.02.103 | NOK | http://autobuild.buildroot.net/results/b0b386969459dda9c294f1ccb4927ca225fa6bdd/
>>
>> Missing dependency?
>>
>> /home/test/test/1/output/host/usr/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os   -fPIC  -O2 --static -O2 -L../libdm -L../lib -L../libdaemon/client -L../libdm \
>>               -o dmsetup dmsetup.o -ldevmapper
>> /home/test/test/1/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.7.3/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -ldevmapper
>>
>> ...
>
> I will try to look into this.

The problem is still present on the master branch.

The minimal defconfig to reproduce the problem is:
BR2_PREFER_STATIC_LIB=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_PACKAGE_LVM2=y

The problem is related to "BR2_PREFER_STATIC_LIB=y" without that
option it builds fine.
Updating it to the latest available git version does not fix the issue.
I will try to investigate further.

Regards
-- 
Fabio Porcedda


More information about the buildroot mailing list