[Buildroot] [PATCH] package/protobuf: depend on gcc >= 4.5

Mario Rugiero mrugiero at gmail.com
Sat Apr 29 14:54:40 UTC 2017


2017-04-29 9:31 GMT-03:00 Thomas Petazzoni
<thomas.petazzoni at free-electrons.com>:
> Hello,
>
> On Wed, 26 Apr 2017 13:28:50 -0300, mrugiero at gmail.com wrote:
>> From: "Mario J. Rugiero" <mrugiero at gmail.com>
>>
>> Protobuf hits a bug in gcc < 4.5 which breaks the build.
>> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189
>
> This bug is marked as FIXED, and it has been fixed since many years.
>
> What is the actual problem you are seeing? Is there a reference to an
> autobuilder issue?
>
> I've tried to build with gcc 4.3, and indeed I'm getting:
>
> ./google/protobuf/metadata.h: In constructor 'google::protobuf::internal::InternalMetadataWithArena::InternalMetadataWithArena(google::protobuf::Arena*)':
> ./google/protobuf/metadata.h:175: error: class 'google::protobuf::internal::InternalMetadataWithArena' does not have any field named 'InternalMetadataWithArenaBase'
> ./google/protobuf/metadata.h: In constructor 'google::protobuf::internal::InternalMetadataWithArenaLite::InternalMetadataWithArenaLite(google::protobuf::Arena*)':
> ./google/protobuf/metadata.h:204: error: class 'google::protobuf::internal::InternalMetadataWithArenaLite' does not have any field named 'InternalMetadataWithArenaBase'
>
> Is this the issue we're talking about ?
Exactly.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com



More information about the buildroot mailing list