buildroot 2010.05-rc1 fail to build gst-plugins-ugly
Hi all,
Same problem again with 2010.05-rc1.
Seems that the patch applied by Peter is not exactly the same than Lionel's because Lionel's was working and current RC1 is not:
Now is trying to link to a host libmad.
libtool: link:/usr/local/DigiEL-5.5/x-tools/arm-unknown-linux-gnueabi/bin/arm-linux-gcc -O3 -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp -O3 -mabi=aapcs-linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot /data/repo/buildroot.git/output/staging/ -shared .libs/libgstmad_la-gstmad.o .libs/libgstmad_la-gstid3tag.o -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lintl -lgsttag-0.10 -lgstaudio-0.10 /usr/lib/libmad.so /usr/lib/libid3tag.so -lz -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mabi=aapcs-linux -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
-mabi=aapcs-linux -pthread -pthread -Wl,-soname -Wl,libgstmad.so
-Wl,-version-script -Wl,.libs/libgstmad.ver -o .libs/libgstmad.so
/usr/lib/libmad.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Again attached buildroot's config file.
Signature · 11 lines
Regards, Javier Viguera Software Engineer Digi International Spain, S.A. http://www.digi.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: br.config URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100503/b764ac41/attachment-0001.diff>
Quoted 27 lines · Javier Viguera
Hi all,
Same problem again with 2010.05-rc1.
Seems that the patch applied by Peter is not exactly the same than Lionel's because Lionel's was working and current RC1 is not:
Now is trying to link to a host libmad.
libtool: link:
/usr/local/DigiEL-5.5/x-tools/arm-unknown-linux-gnueabi/bin/arm-linux-gcc(quoted diff) +0
-6-O3 -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp -O3 -mabi=aapcs-linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot /data/repo/buildroot.git/output/staging/ -shared .libs/libgstmad_la-gstmad.o .libs/libgstmad_la-gstid3tag.o -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lintl -lgsttag-0.10 -lgstaudio-0.10 /usr/lib/libmad.so
/usr/lib/libid3tag.so-lz ?-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp(quoted diff) +0
-3-mabi=aapcs-linux -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mabi=aapcs-linux -pthread ? -pthread -Wl,-soname -Wl,libgstmad.so -Wl,-version-script -Wl,.libs/libgstmad.ver -o .libs/libgstmad.so
/usr/lib/libmad.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit statusAgain attached buildroot's config file.
Quoted 9 lines
--
Regards,Javier Viguera
Software EngineerDigi International Spain, S.A.
http://www.digi.com
Could you give us the config.log file from output/build/gst-plugins-ugly-x.y.z/
Regards,
--
Lionel
Quoted 6 lines · Lionel Landwerlin
Could you give us the config.log file from output/build/gst-plugins-ugly-x.y.z/
Regards,
--
Lionel
Sure, attached.
Signature · 14 lines
Regards, Javier Viguera Software Engineer Digi International Spain, S.A. http://www.digi.com -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log.gz Type: application/gzip Size: 14495 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100503/dbd32505/attachment-0001.bin>
Quoted 7 lines · Javier Viguera
Quoted 6 lines · Lionel Landwerlin
Could you give us the config.log file from
output/build/gst-plugins-ugly-x.y.z/Regards,
Quoted 9 lines
Quoted 2 lines
--
LionelSure, attached.
--
Regards,
Thx,
the config.log file didn't help me to understand what's wrong. I will try to compile last buildroot tonight, it might be an autoreconf/libtool-patch problem on the gst-plugin-bad package...
Regards,
--
Lionel Landwerlin
Le lundi 03 mai 2010 ? 17:47 +0200, Javier Viguera a ?crit :
Quoted 11 lines
Quoted 6 lines · Lionel Landwerlin
Could you give us the config.log file from output/build/gst-plugins-ugly-x.y.z/
Regards,
--
LionelSure, attached.
I had partialy reproduced the problem in my environment. Here is the patch which fixed the problem. Please test.
Regards,
Signature · 8 lines
Lionel Landwerlin -------------- next part -------------- A non-text attachment was scrubbed... Name: fix.patch Type: text/x-patch Size: 492 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100505/7a548830/attachment-0001.bin>
Quoted 3 lines · Lionel Landwerlin
I had partialy reproduced the problem in my environment. Here is the patch which fixed the problem. Please test.
Hi Lionel,
Tested your patch (applied over 2010.05-RC1) and it fixed the problem. Seems that now it finds the correct libraries to link.
Thanks.
Signature · 7 lines
Regards, Javier Viguera Software Engineer Digi International Spain, S.A. http://www.digi.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lionel" == Lionel Landwerlin <[email protected]> writes:
Hi,
Lionel> I had partialy reproduced the problem in my environment. Lionel> Here is the patch which fixed the problem. Lionel> Please test.
Care to send a real patch with a proper commit message?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 4 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lionel" == Lionel Landwerlin <[email protected]> writes:
Hi,
Quoted 9 lines
?Lionel> I had partialy reproduced the problem in my environment. ?Lionel> Here is the patch which fixed the problem. ?Lionel> Please test.
Care to send a real patch with a proper commit message?
--
Bye, Peter Korsgaard
Will do later today
Regards,
--
Lionel