<feed xmlns='http://www.w3.org/2005/Atom'>
<title>multitech-oe.git/recipes/liba52/files, branch testing</title>
<subtitle>Multi-Tech CoreCDP 1.x OpenEmbedded Tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/'/>
<entry>
<title>liba52: Disable `-prefer-non-pic` to enable `-fPIC`.</title>
<updated>2010-03-15T22:17:53+00:00</updated>
<author>
<name>Paul Menzel</name>
<email>paulepanter@users.sourceforge.net</email>
</author>
<published>2010-03-15T04:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=f92b2201ab4974bc1e2fed1b6ee9906774baf928'/>
<id>f92b2201ab4974bc1e2fed1b6ee9906774baf928</id>
<content type='text'>
Using GCC 4.4.2 and Binutils 2.20 gives the following error.

    …/bin/ld: .libs/imdct.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Therefore enable `-fPIC` with this patch taken from Debian [1].

[1] http://patch-tracker.debian.org/patch/series/view/a52dec/0.7.4-13/01-enable-pic.diff

Signed-off-by: Paul Menzel &lt;paulepanter@users.sourceforge.net&gt;
Signed-off-by: Philip Balister &lt;philip@balister.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using GCC 4.4.2 and Binutils 2.20 gives the following error.

    …/bin/ld: .libs/imdct.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Therefore enable `-fPIC` with this patch taken from Debian [1].

[1] http://patch-tracker.debian.org/patch/series/view/a52dec/0.7.4-13/01-enable-pic.diff

Signed-off-by: Paul Menzel &lt;paulepanter@users.sourceforge.net&gt;
Signed-off-by: Philip Balister &lt;philip@balister.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
