|
Boost Users : |
From: Jason Weber (baboon_at_[hidden])
Date: 2008-02-17 20:54:26
On my last emerge, I believe I got a new set of boost libs (amd64).
Now my project is getting a PIC problem. All my code use compiles with -fPIC,
so is this no longer the case with boost on Gentoo and is there a way
to turn it on?
I tried some various USE flags but nothing seems to make a difference.
Or is that not the problem?
ccache g++ -fPIC -DFE_USE_SSE=2 -msse2 -march=k8 -pipe -shared -o
/mnt/raid/symroot/proj/fe/main/lib/x86_64_linux_debug/libfePlatform.so
-DFE_DOUBLE_REAL=0 -ftemplate-depth-60 -ansi -D_REENTRANT
-D_POSIX_REENTRANT_FUNCTIONS -DZT_POSIX -pipe -D_DEBUG -g2 -Wall
-DGCC_HASCLASSVISIBILITY -fvisibility-inlines-hidden
-fvisibility=hidden -Winvalid-pch -I/mnt/raid/symroot/proj/fe/main/ext
-I/usr/X11R6/include -I/mnt/raid/sym/root/proj/fe/main/src
-I/mnt/raid/symroot/proj/fe/main/lib/x86_64_linux_debug
-I/mnt/raid/symroot/proj/fe/main/lab
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/debug.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/DL_Loader.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/DualString.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/Exception.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/Result.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/String.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/System.o
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/SystemTicker.o
-ldl -L/mnt/raid/symroot/proj/fe/main/lib/x86_64_linux_debug -ansi
-lpthread -lrt -pipe -lm -lc -lcrypt -ldl -lboost_regex-mt
-lboost_thread-mt -lboost_filesystem-mt
-L/mnt/raid/symroot/proj/fe/main/lib/x86_64_linux_debug -L.
-L/home/symhost/sym/bulk/amd64obj/fe/lib/x86_64_linux_debug
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
/mnt/raid/symroot/proj/fe/main/obj/x86_64_linux_debug/src/platform/String.o:
relocation R_X86_64_PC32 against
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::basic_string
<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::find()' can not be used when making
a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net