All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] allyespackageconfig build on ARM/Linaro
@ 2012-12-18  9:09 Thomas Petazzoni
  2012-12-18  9:24 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-12-18  9:09 UTC (permalink / raw)
  To: buildroot

Hello,

Following Arnout's comment suggesting to try a allyespackageconfig
build on ARM with a Linaro external toolchain (to complement Arnout
excellent work on allyespackageconfig testing for x86-64), I did this
test yesterday and I have now have the results.

Here are my notes:

 * I've disabled JamVM and Classpath, because my testing chroot does
   not have javac. So those packages are not tested.

 * mplayer failed to build, so I had to disable it, and also disable
   libplayer, which was selecting mplayer. The mplayer build failure is
   FPU related:

{standard input}: Assembler messages:
{standard input}:2855: Error: selected FPU does not support instruction -- `vmul.f32 q0,q0,q1'
{standard input}:2949: Error: selected processor does not support ARM mode `veor q0,q0,q2'
{standard input}:2950: Error: selected FPU does not support instruction -- `vmul.f32 q0,q0,q1'
{standard input}:3021: Error: selected FPU does not support instruction -- `vmul.f32 d0,d0,d1'
{standard input}:3104: Error: selected processor does not support ARM mode `veor d0,d0,d2'
{standard input}:3105: Error: selected FPU does not support instruction -- `vmul.f32 d0,d0,d1'
make[3]: *** [libavcodec/aacdec.o] Error 1
make[2]: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
make[2]: *** Waiting for unfinished jobs....

 * ltp-testsuite fails to build (build failures already seen with the
   autobuilders):

common.c: In function 'create_net_namespace':
common.c:64:17: error: 'CLONE_NEWNS' undeclared (first use in this function)
common.c:64:17: note: each undeclared identifier is reported only once for each function it appears in
common.c: In function 'child_fn':
common.c:124:11: error: 'CLONE_NEWNS' undeclared (first use in this function)
common.c:127:11: error: 'CLONE_FS' undeclared (first use in this function)
common.c:147:2: warning: implicit declaration of function 'unshare' [-Wimplicit-function-declaration]
make[6]: *** [common.o] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [testcases-all] Error 2

 * matchbox-desktop failed to build:

/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: mbdesktop.o: undefined reference to symbol 'dlsym@@GLIBC_2.4'
/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'dlsym@@GLIBC_2.4' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/lib/arm-linux-gnueabihf/libdl.so.2 so try adding it to the linker command line
/home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/lib/arm-linux-gnueabihf/libdl.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [matchbox-desktop] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [/home/test/outputs/allpkg/build/matchbox-desktop-0.9.1/.stamp_built] Error 2
make: *** [all] Error 2

 * metacity failed to build:

/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: metacity-mag.o: undefined reference to symbol 'lrint@@GLIBC_2.4'
/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'lrint@@GLIBC_2.4' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/lib/arm-linux-gnueabihf/libm.so.6 so try adding it to the linker command line
/home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/lib/arm-linux-gnueabihf/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[6]: *** [metacity-mag] Error 1
make[6]: *** Waiting for unfinished jobs....

 * pcmanfm failed to build:

/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: fm-desktop.o: undefined reference to symbol 'XSendEvent'
/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'XSendEvent' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6 so try adding it to the linker command line
/home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [pcmanfm] Error 1

 * sconeserver failed to build (still the ImageMagick++ problem):

checking for InitializeMagick in -lMagick++... no
configure: error: library 'Magick++' is required for Sconesite:image
make[1]: *** [/home/test/outputs/allpkg/build/sconeserver-183/.stamp_configured] Error 1
make: *** [all] Error 2

 * valgrind failed to build (due to glibc 2.16):

checking the GLIBC_VERSION version... unsupported version 2.15
configure: error: Valgrind requires glibc version 2.2 - 2.14
make[1]: *** [/home/test/outputs/allpkg/build/valgrind-3.7.0/.stamp_configured] Error 1
make: *** [all] Error 2

 * xstroke failed to build

/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: backing.o: undefined reference to symbol 'XRenderComposite'
/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'XRenderComposite' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libXrender.so.1 so try adding it to the linker command line
/home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libXrender.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] allyespackageconfig build on ARM/Linaro
  2012-12-18  9:09 [Buildroot] allyespackageconfig build on ARM/Linaro Thomas Petazzoni
@ 2012-12-18  9:24 ` Peter Korsgaard
  2012-12-18  9:40   ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2012-12-18  9:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Hello,
 Thomas> Following Arnout's comment suggesting to try a allyespackageconfig
 Thomas> build on ARM with a Linaro external toolchain (to complement Arnout
 Thomas> excellent work on allyespackageconfig testing for x86-64), I did this
 Thomas> test yesterday and I have now have the results.

Great, thanks.

 Thomas> Here are my notes:

 Thomas>  * I've disabled JamVM and Classpath, because my testing chroot does
 Thomas>    not have javac. So those packages are not tested.

 Thomas>  * mplayer failed to build, so I had to disable it, and also disable
 Thomas>    libplayer, which was selecting mplayer. The mplayer build failure is
 Thomas>    FPU related:

Sounds related to the mplayer/fpu discussion we had fairly recently.


 Thomas>  * ltp-testsuite fails to build (build failures already seen with the
 Thomas>    autobuilders):

 Thomas> common.c: In function 'create_net_namespace':
 Thomas> common.c:64:17: error: 'CLONE_NEWNS' undeclared (first use in this function)
 Thomas> common.c:64:17: note: each undeclared identifier is reported only once for each function it appears in
 Thomas> common.c: In function 'child_fn':
 Thomas> common.c:124:11: error: 'CLONE_NEWNS' undeclared (first use in this function)
 Thomas> common.c:127:11: error: 'CLONE_FS' undeclared (first use in this function)

Odd, CLONE_NEWNS has existing for many years and common.c seems to
include sched.h


 Thomas>  * pcmanfm failed to build:

 Thomas> /home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: fm-desktop.o: undefined reference to symbol 'XSendEvent'
 Thomas> /home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'XSendEvent' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6 so try adding it to the linker command line
 Thomas> /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6: could not read symbols: Invalid operation
 Thomas> collect2: error: ld returned 1 exit status
 Thomas> make[4]: *** [pcmanfm] Error 1

Strange about all these linker issues.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] allyespackageconfig build on ARM/Linaro
  2012-12-18  9:24 ` Peter Korsgaard
@ 2012-12-18  9:40   ` Thomas Petazzoni
  2012-12-18 10:11     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-12-18  9:40 UTC (permalink / raw)
  To: buildroot

Dear Peter Korsgaard,

On Tue, 18 Dec 2012 10:24:37 +0100, Peter Korsgaard wrote:

>  Thomas> Here are my notes:
> 
>  Thomas>  * I've disabled JamVM and Classpath, because my testing chroot does
>  Thomas>    not have javac. So those packages are not tested.
> 
>  Thomas>  * mplayer failed to build, so I had to disable it, and also disable
>  Thomas>    libplayer, which was selecting mplayer. The mplayer build failure is
>  Thomas>    FPU related:
> 
> Sounds related to the mplayer/fpu discussion we had fairly recently.

Indeed.

>  Thomas>  * ltp-testsuite fails to build (build failures already seen with the
>  Thomas>    autobuilders):
> 
>  Thomas> common.c: In function 'create_net_namespace':
>  Thomas> common.c:64:17: error: 'CLONE_NEWNS' undeclared (first use in this function)
>  Thomas> common.c:64:17: note: each undeclared identifier is reported only once for each function it appears in
>  Thomas> common.c: In function 'child_fn':
>  Thomas> common.c:124:11: error: 'CLONE_NEWNS' undeclared (first use in this function)
>  Thomas> common.c:127:11: error: 'CLONE_FS' undeclared (first use in this function)
> 
> Odd, CLONE_NEWNS has existing for many years and common.c seems to
> include sched.h

Yes, I haven't looked at this one yet, but it is strange.

>  Thomas>  * pcmanfm failed to build:
> 
>  Thomas> /home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: fm-desktop.o: undefined reference to symbol 'XSendEvent'
>  Thomas> /home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'XSendEvent' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6 so try adding it to the linker command line
>  Thomas> /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6: could not read symbols: Invalid operation
>  Thomas> collect2: error: ld returned 1 exit status
>  Thomas> make[4]: *** [pcmanfm] Error 1
> 
> Strange about all these linker issues.

No, not really strange. There has been a change in gcc 4.6 with regard
to linking some time ago. See
http://www.gentoo.org/proj/en/qa/asneeded.xml. This is causing build
breakage in some packages that had an incorrect list of libraries to
link with.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] allyespackageconfig build on ARM/Linaro
  2012-12-18  9:40   ` Thomas Petazzoni
@ 2012-12-18 10:11     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-12-18 10:11 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 >> Strange about all these linker issues.

 Thomas> No, not really strange. There has been a change in gcc 4.6 with
 Thomas> regard to linking some time ago. See
 Thomas> http://www.gentoo.org/proj/en/qa/asneeded.xml. This is causing
 Thomas> build breakage in some packages that had an incorrect list of
 Thomas> libraries to link with.

But is --as-needed now default, or is that something special to the
Linaro toolchain? We also default to 4.6 with the internal toolchain,
and I don't recall those linker issues.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-18 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18  9:09 [Buildroot] allyespackageconfig build on ARM/Linaro Thomas Petazzoni
2012-12-18  9:24 ` Peter Korsgaard
2012-12-18  9:40   ` Thomas Petazzoni
2012-12-18 10:11     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.