public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Ada build broken on x86-linux
@ 2004-04-24 16:29 Laurent GUERBY
  2004-04-25 11:13 ` Arnaud Charlet
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent GUERBY @ 2004-04-24 16:29 UTC (permalink / raw)
  To: gcc; +Cc: neroden, charlet

Before update, things were working as follow:
[...]
make[3]: Entering directory `/home/guerby/work/gcc/build/build-20040424T004459/gcc/ada'
rm -f tools/*
rm -rf tools
mkdir -p tools
(cd tools; ln -s ../sdefault.adb .)
rm -f tools/mlib-tgt.adb; ln -s /home/guerby/work/gcc/gcc/gcc/ada/5lml-tgt.adb tools/mlib-tgt.adb;
touch ../stamp-tools
make -C tools -f ../Makefile "CC=../../xgcc -B../../" "CFLAGS=-O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common" "LDFLAGS=" "ADAFLAGS=-gnatpg -gnata" "INCLUDES=-I. -I.. -I../.. -I/home/guerby/work/gcc/gcc/gcc/ada -I/home/guerby/work/gcc/gcc/gcc/ada/../config -I/home/guerby/work/gcc/gcc/gcc/ada/../../include -I/home/guerby/work/gcc/gcc/gcc/ada/.." "ADA_INCLUDES=-I- -I../rts -I. -I/home/guerby/work/gcc/gcc/gcc/ada" "libsubdir=/home/guerby/work/gcc/install/install-20040424T004459/lib/gcc/i686-pc-linux-gnu/3.5.0" "exeext=" "fsrcdir=/home/guerby/work/gcc/gcc/gcc/ada" "srcdir=/home/guerby/work/gcc/gcc/gcc/ada" "TOOLS_LIBS=../rts/libgnat.a  ../../prefix.o ../../version.o link.o ../../../libiberty/libiberty.a  " "GNATMAKE=" "GNATLINK=" "GNATBIND=../../gnatbind" \
  TOOLSCASE=native \
  ../../gnatmake ../../gnatlink ../../gnatbl
make[4]: Entering directory `/home/guerby/work/gcc/build/build-20040424T004459/gcc/ada/tools'
../../xgcc -B../../ -c -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common      -gnatpg -gnata -I- -I../rts -I. -I/home/guerby/work/gcc/gcc/gcc/ada ../rts/a-except.adb -o a-except.o
../../xgcc -B../../ -c -DIN_GCC   `echo -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`      -I. -I.. -I../.. -I/home/guerby/work/gcc/gcc/gcc/ada -I/home/guerby/work/gcc/gcc/gcc/ada/../config -I/home/guerby/work/gcc/gcc/gcc/ada/../../include -I/home/guerby/work/gcc/gcc/gcc/ada/.. ../rts/ctrl_c.c \
  -o ctrl_c.o
[...]

After update, not working anymore:
[...]
make -C tools -f ../Makefile "CC=/home/guerby/work/gcc/build/build-20040424T140436/gcc/xgcc -B/home/guerby/work/gcc/build/build-20040424T140436/gcc/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/bin/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/lib/ -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/include -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/sys-include" "CFLAGS=-O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common" "LDFLAGS=" "ADAFLAGS=-gnatpg -gnata" "INCLUDES=-I. -I.. -I../.. -I/home/guerby/work/gcc/gcc/gcc/ada -I/home/guerby/work/gcc/gcc/gcc/ada/../config -I/home/guerby/work/gcc/gcc/gcc/ada/../../include -I/home/guerby/work/gcc/gcc/gcc/ada/.." "ADA_INCLUDES=-I/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/adalib/../adainclude -I/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/adalib/ -I. -I/home/guerby/work/gcc/gcc/gcc/ada" "libsubdir=/home/guerby/work/gcc/install/install-20040424T140436/lib/gcc/i686-pc-linux-gnu/3.5.0" "exeext=" "fsrcdir=/home/guerby/work/gcc/gcc/gcc/ada" "srcdir=/home/guerby/work/gcc/gcc/gcc/ada" "TOOLS_LIBS= ../../prefix.o ../../version.o link.o ../../../libiberty/libiberty.a  " "GNATMAKE=gnatmake" "GNATLINK=gnatlink" "GNATBIND=gnatbind" \
  TOOLSCASE=cross INCLUDES="" gnatmake-re gnatlink-re
make[4]: Entering directory `/home/guerby/work/gcc/build/build-20040424T140436/gcc/ada/tools'
rm -f tools/*
rm -rf tools
mkdir -p tools
(cd tools; ln -s ../sdefault.adb .)
rm -f tools/mlib-tgt.adb; ln -s /home/guerby/work/gcc/gcc/gcc/ada/5lml-tgt.adb tools/mlib-tgt.adb;
touch ../stamp-tools
/home/guerby/work/gcc/build/build-20040424T140436/gcc/xgcc -B/home/guerby/work/gcc/build/build-20040424T140436/gcc/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/bin/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/lib/ -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/include -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/sys-include -c -DIN_GCC   `echo -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`       /home/guerby/work/gcc/gcc/gcc/ada/link.c \
  -o link.o
gnatmake -I/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/adalib/../adainclude -I/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/adalib/ -I. -I/home/guerby/work/gcc/gcc/gcc/ada -u sdefault --GCC="/home/guerby/work/gcc/build/build-20040424T140436/gcc/xgcc -B/home/guerby/work/gcc/build/build-20040424T140436/gcc/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/bin/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/lib/ -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/include -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/sys-include "
/home/guerby/work/gcc/build/build-20040424T140436/gcc/xgcc -c -I/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/adalib/../adainclude -I/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/adalib/ -I. -I/home/guerby/work/gcc/gcc/gcc/ada -B/home/guerby/work/gcc/build/build-20040424T140436/gcc/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/bin/ -B/home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/lib/ -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/include -isystem /home/guerby/work/gcc/install/install-20040424T140436/i686-pc-linux-gnu/sys-include sdefault.adb
fatal error: system.ads is incorrectly formatted
missing line for parameter: Configurable_Run_Time
fatal error: system.ads is incorrectly formatted
missing line for parameter: Duration_32_Bits
fatal error: system.ads is incorrectly formatted
missing line for parameter: Exit_Status_Supported
fatal error: system.ads is incorrectly formatted
missing line for parameter: Support_64_Bit_Divides
fatal error: system.ads is incorrectly formatted
missing line for parameter: Support_Aggregates
fatal error: system.ads is incorrectly formatted
missing line for parameter: Support_Composite_Assign
fatal error: system.ads is incorrectly formatted
missing line for parameter: Support_Composite_Compare
fatal error: system.ads is incorrectly formatted
missing line for parameter: Support_Long_Shifts
fatal error: system.ads is incorrectly formatted
missing line for parameter: Suppress_Standard_Library
compilation abandoned
gnatmake: "sdefault.adb" compilation error
make[4]: *** [gnatmake-re] Error 4
make[4]: Leaving directory `/home/guerby/work/gcc/build/build-20040424T140436/gcc/ada/tools'
make[3]: *** [gnattools1-re] Error 2
make[3]: Leaving directory `/home/guerby/work/gcc/build/build-20040424T140436/gcc/ada'
make[2]: *** [gnattools-cross] Error 2
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20040424T140436/i686-pc-linux-gnu/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/home/guerby/work/gcc/build/build-20040424T140436'
make: *** [bootstrap] Error 2

No idea on why "cross" appears. This is on x86-linux (athlon, FC1).

Laurent

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ada build broken on x86-linux
  2004-04-24 16:29 Ada build broken on x86-linux Laurent GUERBY
@ 2004-04-25 11:13 ` Arnaud Charlet
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaud Charlet @ 2004-04-25 11:13 UTC (permalink / raw)
  To: Laurent GUERBY; +Cc: gcc, neroden, charlet

> After update, not working anymore:

Apparently the recognition of native vs cross compilation is no longer working
properly (who said GNU Make syntax was harder to maintain than configure
magics ? :-)

BTW, isn't there a configure macro to know whether the build is native or
cross ? That would clean up/simplify things I believe.

Arno

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-25  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-24 16:29 Ada build broken on x86-linux Laurent GUERBY
2004-04-25 11:13 ` Arnaud Charlet

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).