This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newlib branch with latest autotools support


On 4/3/06, Jeff Johnston <jjohnstn@redhat.com> wrote:
> There appears to be something wonky going on with your setup.  I found
> an old arm-elf tools build on my system and tried it out with your exact
> configuration line.  It built fine.  Do you happen to have an arm-elf
> build handy without any local changes?
>
> I'd like to check in the changes along with Ralf's patch.  If we can
> pinpoint the problems you are experiencing as gcc or local change
> problems, there would be no reason for delaying this.

I did a rm -rf /usr/local and rebuilt binutils from CVS (2006-04-03).
I then started to rebuild gcc 4.1.0 from scratch, but configuring
libssp fails due to the lack of a working C compiler (haven't built
one yet).

I then tried a `make bootstrap' in a clean directory (which I have
never used before, so for me, I'm off the beaten path), which failed
as follows.

I'm a bit embarassed to ask such a question, but what's the
recommended method to build a toolchain from scratch?

I can tell you though, that if I move libgloss/ and newlib/ into the
gcc 4.1.0 build tree and attempt a unified build, it fails in exactly
the same manner as I saw before using my old toolchain to build the
newlib-autotools-branch in a non-unified build tree.

Cheers,
Shaun

make[2]: Entering directory
`/home/sjackman/src/toolchain/orig/gcc-4.1.0/_bootstrap/gcc'
gawk -f ../../gcc/opt-gather.awk ../../gcc/c.opt ../../gcc/common.opt
../../gcc/config/arm/arm.opt > tmp-optionlist
/bin/sh ../../gcc/../move-if-change tmp-optionlist optionlist
optionlist is unchanged
echo timestamp > s-options
gawk -f ../../gcc/opt-functions.awk -f ../../gcc/opth-gen.awk \
       < optionlist > tmp-options.h
/bin/sh ../../gcc/../move-if-change tmp-options.h options.h
options.h is unchanged
echo timestamp > s-options-h
stage1/xgcc -Bstage1/ -B/usr/local/arm-elf/bin/ -c   -O2 -g
-fomit-frame-pointer -DIN_GCC -DCROSS_COMPILE  -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wold-style-definition
-Wmissing-format-attribute     -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include
-I../../gcc/../libcpp/include     -o build/genmodes.o
../../gcc/genmodes.c
In file included from ../../gcc/genmodes.c:23:
../../gcc/system.h:42:19: error: stdio.h: No such file or directory
../../gcc/system.h:182:23: error: sys/types.h: No such file or directory
../../gcc/system.h:184:19: error: errno.h: No such file or directory
../../gcc/system.h:195:21: error: string.h: No such file or directory
../../gcc/system.h:196:22: error: strings.h: No such file or directory
../../gcc/system.h:208:21: error: stdlib.h: No such file or directory
../../gcc/system.h:231:21: error: unistd.h: No such file or directory
../../gcc/system.h:235:24: error: sys/param.h: No such file or directory
../../gcc/system.h:274:23: error: sys/time.h: No such file or directory
../../gcc/system.h:275:19: error: time.h: No such file or directory
../../gcc/system.h:287:20: error: fcntl.h: No such file or directory
../../gcc/system.h:325:22: error: sys/wait.h: No such file or directory
../../gcc/system.h:396:20: error: malloc.h: No such file or directory
../../gcc/system.h:457:23: error: sys/stat.h: No such file or directory
In file included from ../../gcc/system.h:531,
                 from ../../gcc/genmodes.c:23:
../../gcc/../include/libiberty.h:55: error: expected ')' before '*' token

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]