[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Error when building on gentoo x86_64: boost... recompile wit
[Gnash-dev] Error when building on gentoo x86_64: boost... recompile with -fPIC
Wed, 02 Apr 2008 16:01:13 -0400
Thunderbird 22.214.171.124 (X11/20080213)
I'm trying to build gnash on a gentoo x86_64 system with no 32-bit libraries.
When I run make, the build fails with the error:
/usr/lib64/libboost_thread-mt-s.a(mutex.o): relocation R_X86_64_32 against
`boost::thread_resource_error::~thread_resource_error()' can not be used when
making a shared object; recompile with -fPIC
/usr/lib64/libboost_thread-mt-s.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libgnashbase.la] Error 1
make: Leaving directory `/home/andrew/gnash/gnash/libbase'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/andrew/gnash/gnash'
make: *** [all] Error 2
This problem has been mentioned a few times in the past: at
http://lists.gnu.org/archive/html/gnash/2008-01/msg00043.html (Jan 16) someone
mentions it on the mailing list, and at
http://lists.gnu.org/archive/html/gnash/2008-01/msg00046.html (Jan 16) Rob
Savoye says he checked in a fix for it. Then at
https://savannah.gnu.org/bugs/?21977 (Jan 19) someone mentioned it in an
(unrelated) bug and attached a patch, which it seems nothing was done with since
the original bug was fixed.
I don't know if this bug wasn't actually fixed by rsavoye's checkin on the 16th,
or if it was fixed but resurfaced.
I'm configuring gnash with
./configure --enable-gui=gtk --enable-renderer=ogl
CVS is up to date, and this is after a fresh autogen and configure.
Boost is 1.34.1-r2 from gentoo's repository. My CFLAGS and CXXFLAGS are
specified as "-O2 -pipe -march=athlon64" in make.conf. I don't know what if
anything the ebuild does that might be strange.
- [Gnash-dev] Error when building on gentoo x86_64: boost... recompile with -fPIC,