Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611220 - dev-libs/protobuf-c doesn't compile with gcc-4.6.4
Summary: dev-libs/protobuf-c doesn't compile with gcc-4.6.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-28 15:19 UTC by Vasiliy
Modified: 2017-06-06 17:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy 2017-02-28 15:19:03 UTC
protobuf-c 1.0.2-r1 and 1.1.1 doesn't compile with gcc-4.6, gcc-4.9 works fine.
Compiler version check in ebuild could fix.

Error output follows:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libprotobuf.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'


Reproducible: Always

Steps to Reproduce:
1. select gcc-4.6.4 profile
2. emerge protobuf-c

Actual Results:  
Compile phase failure.

Expected Results:  
Successful merge.
Comment 1 Pacho Ramos gentoo-dev 2017-06-06 17:04:00 UTC
 Michał Górny <mgorny@gentoo.org>, Andreas K. Hüttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (21 May 2017)
# Those old versions of GCC are no longer really supported and are not
# suitable for use as a system-wide compiler. Using them can result
# in build failures (and possible breakage) for many packages.
#
# If you still use one of these as your system compiler, please upgrade
# and switch the compiler ASAP. If you need them for a specific (isolated)
# use case, feel free to unmask them on your system.
<sys-devel/gcc-4.9