This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem building on FreeBSD 3.2: "Alignment not a power of 2"
Alexandre Oliva wrote:
>
> On Feb 6, 2001, Chip Olson <ceo@shore.net> wrote:
>
> > Same result there too. I should probably mention that I'm specifying a host
> > type (i386-unknown-freebsd), because my machine's uname output is something
> > completely different.
>
> Hmm... Well, then it may be that the bug is in GCC 2.95.2. I do
> build development snapshots of GCC using GNU as on FreeBSD 3 boxes
> weekly, but I'm not sure I've ever had a chance to attempt to build
> GCC 2.95.2 on the FreeBSD boxes I've got guest access to.
>
> My next suggestions are to try to go without GNU as (using the native
> assembler), or to try a development snapshot with GNU as.
Well, since I was using the native assemble to begin with, I decided to go
with your second suggestion instead. With gcc-20010205, it got a *lot*
further, but failed at this point:
[...]
(MAKE="make"; srcdir=`cd ../../gcc-20010205/gcc/fixinc && pwd` ;
CC="stage1/xgcc -Bstage1/ -B/usr/local/gcc/i386-unknown-freebsd/bin/";
CFLAGS="-g -O2"; LDFLAGS=""; WARN_CFLAGS="-W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long"; export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS; cd
./fixinc && /bin/sh ${srcdir}/mkfixinc.sh i386-unknown-freebsd
i386-unknown-freebsd)
constructing ../fixinc.sh for i386-unknown-freebsd to run on
i386-unknown-freebsd
make TARGETS=oneprocess SHELL="/bin/sh" CC="stage1/xgcc -Bstage1/
-B/usr/local/gcc/i386-unknown-freebsd/bin/" CFLAGS="-g -O2" LDFLAGS=""
install-bin
/bin/sh ../../../gcc-20010205/gcc/fixinc/genfixes machname.h
Forbidden identifiers: i386 unix
stage1/xgcc -Bstage1/ -B/usr/local/gcc/i386-unknown-freebsd/bin/ -c
-DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I..
-I../../../gcc-20010205/gcc/fixinc -I../../../gcc-20010205/gcc/fixinc/..
-I../../../gcc-20010205/gcc/fixinc/../config
-I../../../gcc-20010205/gcc/fixinc/../../include
../../../gcc-20010205/gcc/fixinc/fixincl.c
stage1/xgcc: not found
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
Interestingly, stage1/xgcc is definitely still there at this point, and
it's been chewing along merrily recompiling itself for quite a while when
this happens. The contents of machname.h are:
#define MN_NAME_PAT "\\<i386\\>|\\<unix\\>"
I suspect that my machine's non-standard setup has something to do with
this (anything that seems to be checking the host type makes me nervous on
this machine), but I don't know enough about what the compilation process
is trying to accomplish here.
Many thanks,
--
-Chip Olson. | ceo at shore dot net
"You ask me why we celebrate, when nothing has been won;
We take dark hours, we make them great, that's all we've ever done..."
-Oysterband, "This Is The Voice".