Bug 22413 - Cross build fails (multiple blank lines)
Cross build fails (multiple blank lines)
Status: RESOLVED INVALID
Product: gcc
Classification: Unclassified
Component: ada
4.1.0
: P2 normal
: ---
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-11 19:25 UTC by Scott McConnell
Modified: 2005-09-06 14:04 UTC (History)
1 user (show)

See Also:
Host: i586
Target: ppc-405
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McConnell 2005-07-11 19:25:06 UTC
Using crosstool get the following:

gcc   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H  -o cc1 \
	c-parse.o c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o
c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o
c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o
c-dump.o c-pch.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o main.o
 libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a   ../libiberty/libiberty.a
gcc -c   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H    -I. -I.
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/.
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../include
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../libcpp/include
 /home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/gcov.c
-o gcov.o
gcc -c   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H    -I. -I.
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/.
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../include
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../libcpp/include
 /home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/errors.c
-o errors.o
gcc   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H  gcov.o intl.o
version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a -o gcov
gcc -c   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H    -I. -I.
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/.
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../include
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../libcpp/include
 /home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/gcov-dump.c
-o gcov-dump.o
gcc   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H  gcov-dump.o
version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a -o gcov-dump
gcc -c -g -O2       -gnatpg -gnata -I- -I. -Iada
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada
/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada/ada.ads
-o ada/ada.o
gcc -c -g -O2       -gnatpg -gnata -I- -I. -Iada
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada
/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada/a-charac.ads
-o ada/a-charac.o
gcc -c -g -O2       -gnatpg -gnata -I- -I. -Iada
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada
/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada/a-chlat1.ads
-o ada/a-chlat1.o
gcc -c -g -O2       -gnatpg -gnata -g -O1 -fno-inline \
 -I- -I. -Iada
-I/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada
/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/ada/a-except.adb
-o ada/a-except.o
s-traent.ads:61:01: (style) blank lines not allowed at end of file
a-exexda.adb:154:01: (style) multiple blank lines
a-exextr.adb:192:01: (style) multiple blank lines
make[1]: *** [ada/a-except.o] Error 1
make[1]: Leaving directory
`/home/smcconne/work/crosstool-0.35/build/powerpc-405-linux-gnu/gcc-4.0.1-glibc-2.3.5/build-gcc/gcc'
make: *** [all-gcc] Error 2


Native compiler is use:

smcconne@smcconne crosstool-0.35]$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/smcconne/gcc/cvs/install
--mandir=/home/smcconne/gcc/cvs/install/man
--infodir=/home/smcconne/gcc/cvs/install/info --enable-shared
--enable-languages=c,ada --disable-nls --disable-checking--enable-threads=posix
Thread model: posix
gcc version 4.1.0 20050708 (experimental)
Comment 1 Arnaud Charlet 2005-09-06 14:04:51 UTC
Probably a set up issue on your side. I would guess you are not using a
consistent set of sources/native compiler.

Arno