[poky] Enable gccgo

Franz F ochz86er at gmail.com
Mon Jul 31 01:26:22 PDT 2017


Hi! I am currently using the pyro branch with my raspberry pi. I'd like to
enable and use gccgo. How can this be achieved in Yocto? When I add "go" in
the LANGUAGES variable in the gcc recipes i get tons of errors like this
when building gcc:

| ../src/c++98/.libs/libc++98convenience.a(istream-
string.o):istream-string.cc:(.text._ZSt7getlineIwSt11char_
traitsIwESaIwEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_ES4_+0x0): first
defined here
| ../src/c++98/.libs/libc++98convenience.a(collate_members.o): In function
`std::collate<char>::_M_compare(char const*, char const*) const':
| collate_members.cc:(.text._ZNKSt7collateIcE10_M_compareEPKcS2_+0x0):
multiple definition of `std::collate<char>::_M_compare(char const*, char
const*) const'
| ../src/c++98/.libs/libc++98convenience.a(collate_members_cow.o):collate_
members_cow.cc:(.text._ZNKSt7collateIcE10_M_compareEPKcS2_+0x0): first
defined here
| ../src/c++98/.libs/libc++98convenience.a(collate_members.o): In function
`std::collate<char>::_M_transform(char*, char const*, unsigned int) const':
| collate_members.cc:(.text._ZNKSt7collateIcE12_M_transformEPcPKcj+0x0):
multiple definition of `std::collate<char>::_M_transform(char*, char
const*, unsigned int) const'


I could not figure out the cause of this problem. So any help will be
appreciated.

Regards,
Franz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20170731/6fa3770a/attachment.html>


More information about the poky mailing list