public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/25938]  New: [4.2 regression] libgomp installs header files in version and target independent location
@ 2006-01-24  4:26 gerald at pfeifer dot com
  2006-01-24  4:28 ` [Bug libgomp/25938] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gerald at pfeifer dot com @ 2006-01-24  4:26 UTC (permalink / raw)
  To: gcc-bugs

libgomp installs the following headers files into $PREFIX/include:

  omp.h
  omp_lib.f90
  omp_lib.h

(if Fortran is not build, more if Fortran is built).

This does not allow one to install several versions of GCC into the
same prefix using --program-suffix.

Note that the C++ headers, for example, handle this very nicely, by
using $PREFIX/include/c++/4.2.0/.

This is a regression introduced with the addition of libgomp.


-- 
           Summary: [4.2 regression] libgomp installs header files in
                    version and target independent location
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gerald at pfeifer dot com
OtherBugsDependingO 346
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
@ 2006-01-24  4:28 ` pinskia at gcc dot gnu dot org
  2006-01-24  4:29 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-24  4:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
  2006-01-24  4:28 ` [Bug libgomp/25938] " pinskia at gcc dot gnu dot org
@ 2006-01-24  4:29 ` pinskia at gcc dot gnu dot org
  2006-01-24  8:34 ` jakub at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-24  4:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-24 04:29 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-24 04:29:00
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
  2006-01-24  4:28 ` [Bug libgomp/25938] " pinskia at gcc dot gnu dot org
  2006-01-24  4:29 ` pinskia at gcc dot gnu dot org
@ 2006-01-24  8:34 ` jakub at gcc dot gnu dot org
  2006-02-02 23:45 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-01-24  8:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2006-01-24 08:34 -------
I'm using in the Fedora Core gcc following patch:
2005-11-24  Jakub Jelinek  <jakub@redhat.com>

        * lang-specs.h: Unless -nostdinc, append -I .../finclude to f951
        command line options.

--- gcc/fortran/lang-specs.h.jj 2005-11-24 13:24:32.000000000 +0100
+++ gcc/fortran/lang-specs.h    2005-11-24 19:13:29.000000000 +0100
@@ -15,7 +15,7 @@ This file is licensed under the GPL.  */
       %{E|M|MM:%(cpp_debug_options)}\
       %{!M:%{!MM:%{!E: -o %|.f |\n\
     f951 %|.f %{!ffree-form:-ffixed-form} %(cc1_options) %{J*} %{I*}\
-      %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
+      %{!nostdinc:-I finclude%s} %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
 {".F90", "@f95-cpp-input", 0, 0, 0},
 {".F95", "@f95-cpp-input", 0, 0, 0},
 {"@f95-cpp-input",
@@ -23,13 +23,13 @@ This file is licensed under the GPL.  */
       %{E|M|MM:%(cpp_debug_options)}\
       %{!M:%{!MM:%{!E: -o %|.f95 |\n\
     f951 %|.f95 %(cc1_options) %{J*} %{I*}\
-      %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
+      %{!nostdinc:-I finclude%s} %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
 {".f90", "@f95", 0, 0, 0},
 {".f95", "@f95", 0, 0, 0},
 {"@f95", "%{!E:f951 %i %(cc1_options) %{J*} %{I*}\
-         %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},
+         %{!nostdinc:-I finclude%s} %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},
 {".f",   "@f77", 0, 0, 0},
 {".for", "@f77", 0, 0, 0},
 {".FOR", "@f77", 0, 0, 0},
 {"@f77", "%{!E:f951 %i %{!ffree-form:-ffixed-form} %(cc1_options) %{J*} %{I*}\
-         %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},
+         %{!nostdinc:-I finclude%s} %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},

and move the files manually.
When Fortran OpenMP support is merged in, I'll take care of this as well.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (2 preceding siblings ...)
  2006-01-24  8:34 ` jakub at gcc dot gnu dot org
@ 2006-02-02 23:45 ` pinskia at gcc dot gnu dot org
  2006-02-15  7:46 ` jakub at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 23:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-02-02 23:45 -------
Can you instead fix this now as this is a regression and really regressions
should not be left to the last minute any more.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (3 preceding siblings ...)
  2006-02-02 23:45 ` pinskia at gcc dot gnu dot org
@ 2006-02-15  7:46 ` jakub at gcc dot gnu dot org
  2006-02-15 14:50 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-02-15  7:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2006-02-15 07:46 -------
Subject: Bug 25938

Author: jakub
Date: Wed Feb 15 07:46:39 2006
New Revision: 111018

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111018
Log:
        PR libgomp/25938
        PR libgomp/25984
fortran/
        * Make-lang.in (install-finclude-dir): New goal.
        (fortran.install-common): Depend on install-finclude-dir.
        * lang-specs.h: If not -nostdinc, add -I finclude.
libgomp/
        * Makefile.am (fincludedir): New variable.
        (nodist_include_HEADERS): Remove Fortran files.
        (nodist_finclude_HEADERS): New variable.
        * Makefile.in: Regenerated.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/Make-lang.in
    trunk/gcc/fortran/lang-specs.h
    trunk/libgomp/ChangeLog
    trunk/libgomp/Makefile.am
    trunk/libgomp/Makefile.in


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (4 preceding siblings ...)
  2006-02-15  7:46 ` jakub at gcc dot gnu dot org
@ 2006-02-15 14:50 ` pinskia at gcc dot gnu dot org
  2006-02-21 21:40 ` gerald at pfeifer dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-15 14:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-02-15 14:50 -------
Only the fortran part of this bug is fixed.
omp.h is still broken.

Most likely what should be done is install omp.h inside the include directory
where libobjc installs theirs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (5 preceding siblings ...)
  2006-02-15 14:50 ` pinskia at gcc dot gnu dot org
@ 2006-02-21 21:40 ` gerald at pfeifer dot com
  2006-04-12 20:01 ` gerald at pfeifer dot com
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gerald at pfeifer dot com @ 2006-02-21 21:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gerald at pfeifer dot com  2006-02-21 21:40 -------
Thanks, Jakub!

I can confirm Andrew's findings: the Fortran include files are now fixed
indeed.

include/gomp.h is the only one remaining now!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (6 preceding siblings ...)
  2006-02-21 21:40 ` gerald at pfeifer dot com
@ 2006-04-12 20:01 ` gerald at pfeifer dot com
  2006-06-04 17:28 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gerald at pfeifer dot com @ 2006-04-12 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from gerald at pfeifer dot com  2006-04-12 20:01 -------
RTH, Jakub, would you mind having a look at this regression?


-- 

gerald at pfeifer dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (7 preceding siblings ...)
  2006-04-12 20:01 ` gerald at pfeifer dot com
@ 2006-06-04 17:28 ` mmitchel at gcc dot gnu dot org
  2006-07-23 18:05 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mmitchel at gcc dot gnu dot org  2006-06-04 17:26 -------
This is a show-stopper; an installation problem like this would be embarassing.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (8 preceding siblings ...)
  2006-06-04 17:28 ` mmitchel at gcc dot gnu dot org
@ 2006-07-23 18:05 ` steven at gcc dot gnu dot org
  2006-08-25 21:47 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-07-23 18:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from steven at gcc dot gnu dot org  2006-07-23 18:05 -------
Jakub, ping.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (9 preceding siblings ...)
  2006-07-23 18:05 ` steven at gcc dot gnu dot org
@ 2006-08-25 21:47 ` jsm28 at gcc dot gnu dot org
  2006-08-26 18:31 ` jsm28 at gcc dot gnu dot org
  2006-08-26 20:46 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-08-25 21:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jsm28 at gcc dot gnu dot org  2006-08-25 21:47 -------
Working on a fix.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jsm28 at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-01-24 04:29:00         |2006-08-25 21:47:05
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (10 preceding siblings ...)
  2006-08-25 21:47 ` jsm28 at gcc dot gnu dot org
@ 2006-08-26 18:31 ` jsm28 at gcc dot gnu dot org
  2006-08-26 20:46 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-08-26 18:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jsm28 at gcc dot gnu dot org  2006-08-26 18:30 -------
Subject: Bug 25938

Author: jsm28
Date: Sat Aug 26 18:30:44 2006
New Revision: 116475

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116475
Log:
        PR libgomp/25938
        * Makefile.am (libsubincludedir): New.
        (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
        * Makefile.in: Regenerate.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/Makefile.am
    trunk/libgomp/Makefile.in


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

* [Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location
  2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
                   ` (11 preceding siblings ...)
  2006-08-26 18:31 ` jsm28 at gcc dot gnu dot org
@ 2006-08-26 20:46 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-26 20:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2006-08-26 20:46 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25938


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

end of thread, other threads:[~2006-08-26 20:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-24  4:26 [Bug libgomp/25938] New: [4.2 regression] libgomp installs header files in version and target independent location gerald at pfeifer dot com
2006-01-24  4:28 ` [Bug libgomp/25938] " pinskia at gcc dot gnu dot org
2006-01-24  4:29 ` pinskia at gcc dot gnu dot org
2006-01-24  8:34 ` jakub at gcc dot gnu dot org
2006-02-02 23:45 ` pinskia at gcc dot gnu dot org
2006-02-15  7:46 ` jakub at gcc dot gnu dot org
2006-02-15 14:50 ` pinskia at gcc dot gnu dot org
2006-02-21 21:40 ` gerald at pfeifer dot com
2006-04-12 20:01 ` gerald at pfeifer dot com
2006-06-04 17:28 ` mmitchel at gcc dot gnu dot org
2006-07-23 18:05 ` steven at gcc dot gnu dot org
2006-08-25 21:47 ` jsm28 at gcc dot gnu dot org
2006-08-26 18:31 ` jsm28 at gcc dot gnu dot org
2006-08-26 20:46 ` pinskia at gcc dot gnu dot org

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