This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH 1/n] OpenMP 4.0 offloading infrastructure


Hi!

On Fri, 20 Feb 2015 17:36:12 +0300, Ilya Verbin <iverbin@gmail.com> wrote:
> On Thu, Feb 19, 2015 at 12:37:10 +0100, Thomas Schwinge wrote:
> > On Fri, 26 Sep 2014 16:36:21 +0400, Ilya Verbin <iverbin@gmail.com> wrote:
> > > gcc/
> > > 	* Makefile.in
> > 
> > > 	(install-cpp, install-common, install_driver, install-gcc-ar): Do not
> > > 	install for the offload compiler.
> > 
> > > gcc/cp/
> > > 	* Make-lang.in (c++.install-common): Do not install for the offload
> > > 	compiler.
> > > gcc/fortran/
> > > 	* Make-lang.in (fortran.install-common): Do not install for the offload
> > > 	compiler.
> > 
> > Hmm, shouldn't that be done for all gcc/*/Make-lang.in?  If I understand
> > correctly, if the language is enabled,
> > gcc/java/Make-lang.in:java.install-common would currently still install
> > *-gcj, and similar for gcc/go/Make-lang.in:go.install-common,
> > gcc/ada/gcc-interface/Make-lang.in:ada.install-common,
> > gcc/jit/Make-lang.in:jit.install-common.
> 
> I assumed that nobody would build an offloading compiler with --enable-languages
> other than c,c++,fortran[,lto].

Well, but users (like Jakub, for example) ;-) may decide to build the
offloading compilers without specifying --enable-languages, and that'll
then default to include Java, and you'll end up with:

    $ ls -l install/offload-x86_64-intelmicemul-linux-gnu/bin/
    total 12152
    -rwxr-xr-x 1 tschwing eeg    3107 Feb 19 13:37 aot-compile
    -rwxr-xr-x 1 tschwing eeg    9419 Feb 19 13:37 gappletviewer
    -rwxr-xr-x 1 tschwing eeg    9429 Feb 19 13:37 gc-analyze
    -rwxr-xr-x 1 tschwing eeg  105588 Feb 19 13:37 gcj-dbtool
    -rwxr-xr-x 1 tschwing eeg    9415 Feb 19 13:37 gcjh
    -rwxr-xr-x 1 tschwing eeg    7453 Feb 19 13:37 gij
    -rwxr-xr-x 1 tschwing eeg    9385 Feb 19 13:37 gjar
    -rwxr-xr-x 1 tschwing eeg    9415 Feb 19 13:37 gjarsigner
    -rwxr-xr-x 1 tschwing eeg    9387 Feb 19 13:37 gjavah
    -rwxr-xr-x 1 tschwing eeg    9467 Feb 19 13:37 gjdoc
    -rwxr-xr-x 1 tschwing eeg    9397 Feb 19 13:37 gkeytool
    -rwxr-xr-x 1 tschwing eeg    9436 Feb 19 13:37 gnative2ascii
    -rwxr-xr-x 1 tschwing eeg    9386 Feb 19 13:37 gorbd
    -rwxr-xr-x 1 tschwing eeg    9386 Feb 19 13:37 grmic
    -rwxr-xr-x 1 tschwing eeg    9386 Feb 19 13:37 grmid
    -rwxr-xr-x 1 tschwing eeg    9418 Feb 19 13:37 grmiregistry
    -rwxr-xr-x 1 tschwing eeg    9420 Feb 19 13:37 gserialver
    -rwxr-xr-x 1 tschwing eeg    9415 Feb 19 13:37 gtnameserv
    -rwxr-xr-x 1 tschwing eeg    9340 Feb 19 13:37 jv-convert
    -rwxr-xr-x 1 tschwing eeg     859 Feb 19 13:37 rebuild-gcj-db
    -rwxr-xr-x 2 tschwing eeg 3277373 Feb 19 13:37 x86_64-intelmicemul-linux-gnu-x86_64-unknown-linux-gnu-accel-x86_64-intelmicemul-linux-gnu-gcj
    -rwxr-xr-x 1 tschwing eeg 3231429 Feb 19 13:37 x86_64-unknown-linux-gnu-accel-x86_64-intelmicemul-linux-gnu-gcc
    -rwxr-xr-x 2 tschwing eeg 3277373 Feb 19 13:37 x86_64-unknown-linux-gnu-accel-x86_64-intelmicemul-linux-gnu-gcj
    -rwxr-xr-x 1 tschwing eeg 2327849 Feb 19 13:37 x86_64-unknown-linux-gnu-accel-x86_64-intelmicemul-linux-gnu-jcf-dump

... and more files with clashing file names in other directories.


GrÃÃe,
 Thomas

Attachment: pgpaJYMjCgj47.pgp
Description: PGP signature


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