Re: /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.3/../

看板FB_current作者時間14年前 (2011/12/29 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/11 (看更多)
On 2011-12-28 11:48, O. Hartmann wrote: .... > /usr/local/bin/ld: > /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.3/../../../libstdc++.a(functexcept.o): > relocation R_X86_64_32 against `std::bad_exception::~bad_exception()' > can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.3/../../../libstdc++.a: > could not read symbols: Bad value > collect2: ld returned 1 exit status What happens if you compile and link the following simple program with g++46: #include <iostream> int main(void) { std::cout << "Hello World!" << std::endl; return 0; } Does it fail with the same type of link error, e.g. linking to the libstdc++.a instead libstdc++.so? It would be nice if you can add -v to the command line, and paste the output here. I suspect your g++46 port is busted, for some reason. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1E-rbasS (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 6 之 11 篇):
文章代碼(AID): #1E-rbasS (FB_current)