public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Problem with multilib paths in a Canadian build
@ 2013-05-13 20:25 jonsmirl
  0 siblings, 0 replies; only message in thread
From: jonsmirl @ 2013-05-13 20:25 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-13 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-13 20:25 Problem with multilib paths in a Canadian build jonsmirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).