* [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda)
@ 2012-04-07 16:38 Shawn Ferris
2012-04-07 20:06 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Shawn Ferris @ 2012-04-07 16:38 UTC (permalink / raw)
To: buildroot
Hey Guys
I've checked out '2012.02-268-g5ee4614' of buildroot and I'm having
two issues. I've included NetworkManager which requires gnutls. gnutls
fails to find libgcrypt, but I see that it's built when looking in
output/build. I suspect that it's not finding the pkg-config stuff,
which I can probably hack around, but I excluded it for now to move
on. (just thought I'd mention it.. I'll do more investigation and
report back unless someone already knows the answer)
My bigger issue is that I can't get gst-plugins-base to compile. I get
the errors:
CC libgstpbutils_0.10_la-pbutils-enumtypes.lo
{standard input}: Assembler messages:
{standard input}:1386: Error: immediate value out of range -- `movt ip,-32640'
{standard input}:1513: Error: immediate value out of range -- `movt ip,-32640'
make[6]: *** [libgstvideo_0.10_la-tmp-orc.lo] Error 1
I've tried different toolchains and the linaro-2012.03 works fine, but
I have other issues when using that one to. (libgcc_s.so doesn't seem
to be copied to the build and systemd fails on boot) I've also tried
compiling with big endian and that works, but wont boot. (fails to
find init, even though it exists)
Any help?
Appreciate it as always!
Shawn
Headers: 3.2
uClibc: 9.33
Bin Utils: 2.21.1
Gcc: 4.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda)
2012-04-07 16:38 [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda) Shawn Ferris
@ 2012-04-07 20:06 ` Peter Korsgaard
2012-04-07 20:39 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2012-04-07 20:06 UTC (permalink / raw)
To: buildroot
>>>>> "Shawn" == Shawn Ferris <shawn.ferris@gmail.com> writes:
Shawn> Hey Guys
Shawn> I've checked out '2012.02-268-g5ee4614' of buildroot and I'm having
Shawn> two issues. I've included NetworkManager which requires gnutls. gnutls
Shawn> fails to find libgcrypt, but I see that it's built when looking in
Shawn> output/build. I suspect that it's not finding the pkg-config stuff,
Shawn> which I can probably hack around, but I excluded it for now to move
Shawn> on. (just thought I'd mention it.. I'll do more investigation and
Shawn> report back unless someone already knows the answer)
Strange, it works here.
Shawn> My bigger issue is that I can't get gst-plugins-base to compile. I get
Shawn> the errors:
Shawn> CC libgstpbutils_0.10_la-pbutils-enumtypes.lo
Shawn> {standard input}: Assembler messages:
Shawn> {standard input}:1386: Error: immediate value out of range -- `movt ip,-32640'
Shawn> {standard input}:1513: Error: immediate value out of range -- `movt ip,-32640'
Shawn> make[6]: *** [libgstvideo_0.10_la-tmp-orc.lo] Error 1
Sounds like a compiler bug. What architecture / toolchain is this?
Shawn> I've tried different toolchains and the linaro-2012.03 works fine, but
Shawn> I have other issues when using that one to. (libgcc_s.so doesn't seem
Shawn> to be copied to the build and systemd fails on boot) I've also tried
Shawn> compiling with big endian and that works, but wont boot. (fails to
Shawn> find init, even though it exists)
The linaro toolchain (and systemd) are very recent additions, so there
might indeed be some issues with it. I had a quick look, and our
external toolchain expects these libraries to reside inside the sysroot
(which on linaro is detected as arm-linux-gnueabi/libc), and libstdc++
is in the lib dir instead.
I'll have a closer look to see how we can fix it.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda)
2012-04-07 20:06 ` Peter Korsgaard
@ 2012-04-07 20:39 ` Peter Korsgaard
2012-04-07 21:09 ` Shawn Ferris
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2012-04-07 20:39 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <jacmet@uclibc.org> writes:
Hi,
Peter> The linaro toolchain (and systemd) are very recent additions, so
Peter> there might indeed be some issues with it. I had a quick look,
Peter> and our external toolchain expects these libraries to reside
Peter> inside the sysroot (which on linaro is detected as
Peter> arm-linux-gnueabi/libc), and libstdc++ is in the lib dir
Peter> instead.
This is btw only an issue with 2012.03 as they moved some files. 2012.02
is OK, so perhaps you could give that a try?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda)
2012-04-07 20:39 ` Peter Korsgaard
@ 2012-04-07 21:09 ` Shawn Ferris
2012-04-07 23:13 ` Shawn Ferris
0 siblings, 1 reply; 5+ messages in thread
From: Shawn Ferris @ 2012-04-07 21:09 UTC (permalink / raw)
To: buildroot
> This is btw only an issue with 2012.03 as they moved some files. 2012.02
> is OK, so perhaps you could give that a try?
Certainly.. I just kicked off the build and I'll let you know..
Thanks Peter!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda)
2012-04-07 21:09 ` Shawn Ferris
@ 2012-04-07 23:13 ` Shawn Ferris
0 siblings, 0 replies; 5+ messages in thread
From: Shawn Ferris @ 2012-04-07 23:13 UTC (permalink / raw)
To: buildroot
On Sat, Apr 7, 2012 at 3:09 PM, Shawn Ferris <shawn.ferris@gmail.com> wrote:
>> This is btw only an issue with 2012.03 as they moved some files. 2012.02
>> is OK, so perhaps you could give that a try?
>
> Certainly.. I just kicked off the build and I'll let you know..
That was it.. and this time gnutls compiled just fine too.. must've
had something orphaned from another build on that one!?
Thanks again for your help Peter!
Shawn
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-04-07 23:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-07 16:38 [Buildroot] Problems when compiling gnutls and gst-plugins-base on arm (panda) Shawn Ferris
2012-04-07 20:06 ` Peter Korsgaard
2012-04-07 20:39 ` Peter Korsgaard
2012-04-07 21:09 ` Shawn Ferris
2012-04-07 23:13 ` Shawn Ferris
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.