cross compiler; x86_64 freebsd -> i386 freebsd issues texi2pod hangs

Jim Stapleton
Sat Apr 1 14:20:00 GMT 2006

I tried running this last night, and it had at least 5 hours to finish
the following command:

$ perl ../../gcc-4.1.0/fastjar/../contrib/ -D fastjar  > fastjar.pod

and still did not finish it, the fastjar.pod file existed, but was
empty. Anyone know what would cause this?

between each build, I deleted all the files in the gcc dirs and the
build dirs, re-extracted the gcc files (from gcc-4.1.0.tar.bz2 or
gcc-4.0.3.tar.bz2 respectively), and reran the configuratior.

Trying to build in the gcc soruce dir, I did the following:
$ ./configure --prefix=/usr/local/i386 --exec-prefix=/usr/local/i386

Trying to build in ~/i386gcc-build, I did the following:
$ ../gcc-4.1.0/configure --prefix=/usr/local/i386
--exec-prefix=/usr/local/i386 --target=i386-freebsd-elf
$ ../gcc-4.0.3/configure --prefix=/usr/local/i386
--exec-prefix=/usr/local/i386 --target=i386-freebsd-elf

gcc dir:
build dir:

my first attempt was a build of 4.1.0 in source, it failed by the
texi2pod command above hanging, as described.
my second attempt was a build of 4.0.3, in source, it complained about
being built in source, and bailed.
my third attempt was a build of 4.0.3 in ~/i386-gcc-build, which then
hung at the above texi2pod command.
my fourth attemp was a build of 4.1.0 in ~/i386-gcc-build, agian texi2pod hung.
my fifth attempt, thinking maybe the pod files were documentation
only, and I might get away without them (have documentation for the
x86_64 build), so I commented out all the lines after the first few
that parsed the command line. This time I got an different error,
which, given the command line, can be easily attributed to me
effectively squashing texi2pod and eliminatng it's output.

the last relevant info I can think of:
$ perl --version
This is perl, v5.8.7 built for amd64-freebsd
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2005, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at, the Perl Home Page.

Thank you,
-Jim Stapleton

More information about the Gcc-help mailing list