Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 488 by ch.pries...@gmail.com: powerpc-linux cross compilation not compiling anymore
http://code.google.com/p/protobuf/issues/detail?id=488

What steps will reproduce the problem?
1.
Run configure command with cross toolchain:

./configure --host=powerpc-linux --prefix=/opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux CFLAGS='-fPIC -g -O0' CXXFLAGS='-fPIC -g -O0' CC=/opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux/usr/bin/ppc440e-linux/powerpc-4xx-gcc CXX=/opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux/usr/bin/ppc440e-linux/powerpc-4xx-g++ LDFLAGS='-L/opt/eldk-5.2.1/powerpc-4xx/sysroots/ppc440e-linux/lib'

Use cross toolchain DENX ELDK 5.2.1 (http://www.denx.de/wiki/DULG/ELDK).
Configuration successful

2.
make

Fails with
/google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture was not detected as supported by protobuf
q
What is the expected output? What do you see instead?
expect working cross build. Performed successfully with V2.4.1 and below. No information in release notes, that ppc-linux is not supported anymore

What version of the product are you using? On what operating system?
V2.5.0, Ubuntu 10.04, DENX ELDK 5.2.1

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to