Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464846 - =media-libs/gst-plugins-base-0.10.36 - Fails to build on ARM. - {standard input}:557: Error: immediate value out of range -- `movt ip,-32640'
Summary: =media-libs/gst-plugins-base-0.10.36 - Fails to build on ARM. - {standard inp...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-06 12:15 UTC by Momesso Andrea
Modified: 2013-04-07 11:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=media-libs/gst-plugins-base-0.10.36' (info,4.56 KB, text/plain)
2013-04-06 12:18 UTC, Momesso Andrea
Details
build log (build.log,216.89 KB, text/plain)
2013-04-06 12:20 UTC, Momesso Andrea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Momesso Andrea 2013-04-06 12:15:25 UTC
gst-plugin-base fails to build on armv7 with this error:

{standard input}: Assembler messages:
{standard input}:557: Error: immediate value out of range -- `movt ip,-32640'
{standard input}:620: Error: immediate value out of range -- `movt ip,-32640'
make[5]: *** [libgstvideo_0.10_la-tmp-orc.lo] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge -1 media-libs/gst-plugins-base-0.10.36
2.
3.



The hardware I'm using is an odroid-x2 (ARMv7)
Comment 1 Momesso Andrea 2013-04-06 12:18:01 UTC
Created attachment 344628 [details]
emerge --info '=media-libs/gst-plugins-base-0.10.36'
Comment 2 Momesso Andrea 2013-04-06 12:20:12 UTC
Created attachment 344630 [details]
build log
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-04-07 10:40:15 UTC
Are you building on real hardware or in a virtual machine ?
Comment 4 Momesso Andrea 2013-04-07 10:42:53 UTC
(In reply to comment #3)
> Are you building on real hardware or in a virtual machine ?

It's real hardware, and Odroid X2 
http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135235611947
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-04-07 11:05:53 UTC
btw with gcc-4.7 (at least), you would get -march=cortex-a9, could you try that ?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-04-07 11:07:32 UTC
erm went too fast, that would be "-march=armv7-a -mcpu=cortex-a9"
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-04-07 11:09:52 UTC
Also, if I understand http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46788 (from search a bit your error), you might want to at least test with gcc-4.6.
Comment 8 Momesso Andrea 2013-04-07 11:23:19 UTC
Thank you, gcc 4.7.2 solved the issue