[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Error when building on gentoo x86_64: boost... recompile wit
From: |
dolphinling |
Subject: |
[Gnash-dev] Error when building on gentoo x86_64: boost... recompile with -fPIC |
Date: |
Wed, 02 Apr 2008 16:01:13 -0400 |
User-agent: |
Thunderbird 2.0.0.12 (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/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
/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[2]: *** [libgnashbase.la] Error 1
make[2]: Leaving directory `/home/andrew/gnash/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: 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.
--
dolphinling
<http://dolphinling.net/>
- [Gnash-dev] Error when building on gentoo x86_64: boost... recompile with -fPIC,
dolphinling <=