On 04/ 5/10 02:34 PM, Kostya Berger wrote:
Oh, I must add that I'm not one of them code gurus. My way is learning
things more by practical application. But in this case there are NO warnings
or ERROR messages -- just complete failure.
This looks like an error message to me:
libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,xineplug_post_planar.so
...
Text relocation remains referenced
against symbol offset in file
.data (section) 0x5998
../../../src/libffmpeg/libavcodec/libpostproc/.libs/libpostprocess.a(postprocess.o)
Which looks like it originates from the Solaris ld:
ld: fatal: relocations remain against allocatable but non-writable sections
Which is the result of building a shared object with non-pic code, and
asserting the -ztext flag (which looks to be what's been passed to libtool).
There's a discussion of the topic here:
http://docs.sun.com/app/docs/doc/817-1984/chapter4-29405?l=en&a=view
(It's a little confusing how .data is being called out as having a text
relocation, as .data is normally writable, but without analyzing what's
going on under the covers of libtool, it's a bit hard to comment further
about what's going on. You might try setting LD_OPTIONS=-Dsegments,detail
to see what input sections are getting assigned to what output segments).
--
Rod.
Everybody to Everest!
April 2010, I'll climb to Mt. Everest Base Camp as a fund raiser for
The Challenged Athletes Foundation - www.everybodytoeverest.com. Visit
www.everestchallenge.kintera.org/rie to show your support. Thanks!
_______________________________________________
tools-linking mailing list
[email protected]