﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1589	binutils won't compile	bruce_mohler@…	lfs-book@…	"I'm just at the beginning of the Linux From Scratch process where I'm compiling
binutils-2.15.91.0.2 (pass 1) in section 5.4.

The ""host"" OS is Fedora Core 4 (kernel 2.6.12, gcc 4.0.0).

When I type in make LDFLAGS=""-all-static"" and during the compile of gas, when it
was compiling app.c, I get

gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config
-I./../include -I./.. -I./../bfd -I./../intl -I../intl
-DLOCALEDIR=""\""/tools/share/locale\""""   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c app.c
In file included from ./targ-cpu.h:1,
                 from ./config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ./config/te-linux.h:4,
                 from targ-env.h:1,
                 from as.h:629,
                 from app.c:30:
./config/tc-i386.h:457: error: array type has incomplete element type

I've looked at tc-i386.h and there is an array defined there of struct
relax_type but what I should do to get this to compile is beyond me at this
point.  Suggestions welcome."	defect	closed	lowest		Book	6.0	normal	invalid		
