Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 955577 - protobuf-2.5.0 doesn't build: #error Host architecture was not detected as supported by protobuf
Summary: protobuf-2.5.0 doesn't build: #error Host architecture was not detected as su...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: protobuf
Version: 19
Hardware: powerpc
OS: Linux
high
high
Target Milestone: ---
Assignee: Lev Shamardin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 927819
TreeView+ depends on / blocked
 
Reported: 2013-04-23 10:26 UTC by Karsten Hopp
Modified: 2013-10-22 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-22 15:55:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2013-04-23 10:26:53 UTC
Description of problem:
The update to protobuf-2.5.0 broke building on ppc and ppc64:
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -c google/protobuf/io/zero_copy_stream_impl_lite.cc  -fPIC -DPIC -o .libs/zero_copy_stream_impl_lite.o
In file included from ./google/protobuf/stubs/atomicops.h:59:0,
                 from ./google/protobuf/stubs/once.h:81,
                 from google/protobuf/stubs/once.cc:38:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture was not detected as supported by protobuf
 #error Host architecture was not detected as supported by protobuf
  ^

protobuf-2.4.1 built and worked just fine on PowerPC, so please add the missing definition back into protobuf.


Version-Release number of selected component (if applicable):
protobuf-2.5.0-1.fc19

How reproducible:


Steps to Reproduce:
1. ppc-koji build --scratch f19 protobuf-2.5.0-1.fc19.src.rpm
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Conrad Meyer 2013-04-25 18:37:51 UTC
I have no idea how much work fixing protobuf to work on PPC (or other BE archs, presumably) will be. If you want to investigate this and either file an enhancement / patch upstream, or just patch it in Fedora, that's fine, but it's likely I won't have time to do it (and I have no interest non-x86 at the moment).

Comment 2 Conrad Meyer 2013-04-25 18:40:39 UTC
Upstream code.google.com issue: https://code.google.com/p/protobuf/issues/detail?id=488

Comment 3 Conrad Meyer 2013-10-22 15:55:56 UTC
Feel free to reopen if you can get it upstream to take it.


Note You need to log in before you can comment on or make changes to this bug.