Trying to set up a cross compilation environment ("crossdev -t powerpc-pc-linux-gnu") on an x86_64 machine does not work. Setting up the glibc headers causes the following glibc configure error: checking whether gcc -O1 -pipe -mlong-double-128 uses IBM extended format... no checking whether gcc -O1 -pipe supports -mabi=ibmlongdouble... no configure: error: this configuration requires -mlong-double-128 IBM extended format support Probably b/c gcc targets x86_64. Reproducible: Always Steps to Reproduce: 1. Run 'crossdev -t powerpc-pc-linux-gnu'. 2. 3. Expected Results: Working cross compilation environment. Presumably, the glibc headers step should be modified to circumvent the failing configure check
Created attachment 168850 [details] Log generated by crossdev run
Created attachment 168852 [details] Log generated by crossdev run
The current version of crossdev needs to be run like this : crossdev --without-headers -t powerpc-pc-linux-gnu If you want to setup a cross-toolchain with gcc-4.3 , then the workaround is more complex. See this thread : http://forums.gentoo.org/viewtopic-t-699683.html
(In reply to comment #0) > Trying to set up a cross compilation environment ("crossdev -t > powerpc-pc-linux-gnu") on an x86_64 machine does not work. Setting up the glibc > headers causes the following glibc configure error: > ... Frank, please try what comment #3 says. I will resolve the bug as invalid. If you still have issues, reopen it. Panagiotis
That worked. But I would disagree with the resolution: IMO the point is still valid, crossdev should work right OOTB. If some workaround is needed - why not build it into crossdev right away? Or at the very least *document* that command line parameter.