Problem with multilib paths in a Canadian build
jonsmirl@gmail.com
jonsmirl@gmail.com
Mon May 13 20:25:00 GMT 2013
Build = 32b x86 (64b is broken)
Host = mipsel
Target = avr
This works and builds a compiler, but half through the build breaks
and I have to manually patch things up. There is a problem with paths
in the makefiles.
Initially the build is putting everything into:
gcc-4.7.2/host-mipsel/gcc/....
But then I get to point where it is building multilib. The file
libgcc.mvars is a generated file. It and friends are getting generated
into gcc-4.7.2/gcc/... instead of gcc-4.7.2/host-mipsel/gcc/....
The build will stop when it hits the misplaced libgcc.mvars. At that
point I copy the gcc/... directory tree into the mipsel/gcc/... tree
and the build will finish.
So it looks to me like there is a problem with path construction
during the Canadian build process. Can anyone give me a clue on how to
fix this?
----------------
It looks like the pathing problem occurs at this point...
perl ../.././gcc/../contrib/texi2pod.pl
../.././gcc/doc/include/gpl_v3.texi > gpl.pod
echo timestamp > doc/gpl.7
(pod2man --center="GNU" --release="gcc-4.7.2" --date=2012-09-20
--section=7 gpl.pod > doc/gpl.7.T$$ && \
mv -f doc/gpl.7.T$$ doc/gpl.7) || \
(rm -f doc/gpl.7.T$$ && exit 1)
rm cpp.pod gcc.pod
make[5]: Leaving directory
`/home/jonsmirl/openwrt/build_dir/target-mipsel_dsp_uClibc-0.9.33.2/gcc-4.7.2/host-mipsel/gcc'
---> this multilib process is being done in .....9.33.2/gcc-4.7.2
instead of .....9.33.2/gcc-4.7.2/host-mipsel
Checking multilib configuration for libgcc...
mkdir -p -- avr/libgcc
Configuring in avr/libgcc
Am I pursuing the right way of fixing this by moving the multilib
process into host-mipsel?
--
Jon Smirl
jonsmirl@gmail.com
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list