This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Final intermodule patch
- From: Andreas Jaeger <aj at suse dot de>
- To: Mike Stump <mrs at apple dot com>
- Cc: Andi Kleen <ak at suse dot de>, Geoffrey Keating <gkeating at apple dot com>,gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Jul 2003 12:27:34 +0200
- Subject: Re: Final intermodule patch
- References: <3DFA1DCC-B3E3-11D7-BDE9-003065A77310@apple.com>
Mike Stump <mrs@apple.com> writes:
> On Friday, July 11, 2003, at 03:36 AM, Andi Kleen wrote:
>> Can you expand a bit on how usable this is yet?
>
> Should be fairly usable, though, it hasn't seen tons of use. It does
> all of SPEC (well, except eon) for example, just to give you a flavor
> of what has already been though it.
>
> Instead of us giving answers to how usable it is, it would be better
> if people tried it out and file bug reports about all the various
> issues people find, that way we can get an even better idea of how
> usable is it. :-)
I'll try it on x86 and x86_64 - but need some help with SPEC.
How does your spec file look for SPECcpu? If I set ONESTEP=1, the
compiler is invoked e.g. as:
/opt/gcc/3.4-devel/bin/gcc -O2 -march=i686 bits.c deflate.c gzip.c getopt.c inflate.c lzw.c spec.c trees.c unlzh.c unlzw.c unpack.c unzip.c util.c zip.c -o gzip
But then intermodule does not seem to be used. If I invoke this by
hand with:
$ /opt/gcc/3.4-devel/bin/gcc -O2 -march=i686 bits.c deflate.c gzip.c getopt.c inflate.c lzw.c spec.c trees.c unlzh.c unlzw.c unpack.c unzip.c util.c zip.c -c -o gzip.o -v
I get the following output and a compilation error:
Reading specs from /opt/gcc/3.4-devel/lib/gcc-lib/i686-suse-linux-gnu/3.4/specs
Configured with: /cvs/gcc/configure --prefix=/opt/gcc/3.4-devel --disable-nls --enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit --enable-shared --enable-languages=c,c++ --disable-checking --with-system-zlib i686-suse-linux-gnu
Thread model: posix
gcc version 3.4 20030712 (experimental)
/opt/gcc/3.4-devel/lib/gcc-lib/i686-suse-linux-gnu/3.4/cc1 -quiet -v bits.c deflate.c gzip.c getopt.c inflate.c lzw.c spec.c trees.c unlzh.c unlzw.c unpack.c unzip.c util.c zip.c -quiet -dumpbase bits.c -march=i686 -auxbase-strip gzip.o -O2 -version -o /tmp/ccMcPiGH.s
ignoring nonexistent directory "/opt/gcc/3.4-devel/i686-suse-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/opt/gcc/3.4-devel/include
/opt/gcc/3.4-devel/lib/gcc-lib/i686-suse-linux-gnu/3.4/include
/usr/include
End of search list.
GNU C version 3.4 20030712 (experimental) (i686-suse-linux-gnu)
compiled by GNU C version 3.4 20030712 (experimental).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31993
as -V -Qy -o gzip.o /tmp/ccMcPiGH.s
GNU assembler version 2.13.90.0.18 (i486-suse-linux) using BFD version 2.13.90.0.18 20030121 (SuSE Linux)
/tmp/ccMcPiGH.s: Assembler messages:
/tmp/ccMcPiGH.s:10399: Error: symbol `build_tree' is already defined
/tmp/ccMcPiGH.s:12547: Error: symbol `bitbuf' is already defined
/tmp/ccMcPiGH.s:12547: Warning: rest of line ignored; first ignored character is `,'
So, I have these questions:
- Shall I file a bug report for this?
- How do you use it with SPEC? Please send the appropriate config
file lines so that I can test it completly.
Cheers,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126