public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory
@ 2013-11-12 21:56 d.g.gorbachev at gmail dot com
  2013-11-12 21:58 ` [Bug bootstrap/59094] " d.g.gorbachev at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-11-12 21:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59094
           Summary: [4.9 Regression] Cilk runtime library headers are
                    installed into the general include directory
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com

When GCC is configured with "--enable-version-specific-runtime-libs", header
files for libstdc++, libgomp, libquadmath, etc. are installed in the
compiler-specific directory ($libdir/gcc/$target/$version/include). But
libcilkrts, somehow, stands out from this scheme. It seems to be a bug.


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

* [Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
  2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
@ 2013-11-12 21:58 ` d.g.gorbachev at gmail dot com
  2013-11-14  3:57 ` bviyer at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-11-12 21:58 UTC (permalink / raw)
  To: gcc-bugs

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

Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bviyer at gcc dot gnu.org,
                   |                            |bviyer at gmail dot com

--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
CC'ing the Cilk runtime library maintainer.

This is like the libvtv bug 58441...


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

* [Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
  2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
  2013-11-12 21:58 ` [Bug bootstrap/59094] " d.g.gorbachev at gmail dot com
@ 2013-11-14  3:57 ` bviyer at gmail dot com
  2013-11-14  8:44 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bviyer at gmail dot com @ 2013-11-14  3:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Balaji V. Iyer <bviyer at gmail dot com> ---
Hi Dmitry,
    Can you please confirm if the following patch works for you?

Thanks,

Balaji V. Iyer.

===================================================================
--- libcilkrts/Makefile.in      (revision 204770)
+++ libcilkrts/Makefile.in      (working copy)
@@ -401,7 +401,8 @@
        -no-undefined

 # C/C++ header files for Cilk.
-cilkincludedir = $(includedir)/cilk
+# cilkincludedir = $(includedir)/cilk
+cilkincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include/cilk
 cilkinclude_HEADERS = \
   include/cilk/cilk_api.h          \
   include/cilk/cilk_api_linux.h    \
Index: libcilkrts/Makefile.am
===================================================================
--- libcilkrts/Makefile.am      (revision 204770)
+++ libcilkrts/Makefile.am      (working copy)
@@ -108,7 +108,8 @@
 libcilkrts_la_LDFLAGS += -no-undefined

 # C/C++ header files for Cilk.
-cilkincludedir = $(includedir)/cilk
+# cilkincludedir = $(includedir)/cilk
+cilkincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include/cilk
 cilkinclude_HEADERS =              \
   include/cilk/cilk_api.h          \
   include/cilk/cilk_api_linux.h    \



On Tue, Nov 12, 2013 at 4:58 PM, d.g.gorbachev at gmail dot com <
gcc-bugzilla@gcc.gnu.org> wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59094
>
> Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |bviyer at gcc dot gnu.org
> ,
>                    |                            |bviyer at gmail dot com
>
> --- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
> CC'ing the Cilk runtime library maintainer.
>
> This is like the libvtv bug 58441...
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>


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

* [Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
  2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
  2013-11-12 21:58 ` [Bug bootstrap/59094] " d.g.gorbachev at gmail dot com
  2013-11-14  3:57 ` bviyer at gmail dot com
@ 2013-11-14  8:44 ` rguenth at gcc dot gnu.org
  2013-11-14 16:14 ` d.g.gorbachev at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-14  8:44 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
   Target Milestone|---                         |4.9.0


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

* [Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
  2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2013-11-14  8:44 ` rguenth at gcc dot gnu.org
@ 2013-11-14 16:14 ` d.g.gorbachev at gmail dot com
  2014-01-09 16:52 ` bviyer at gcc dot gnu.org
  2014-01-09 17:47 ` law at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-11-14 16:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
(In reply to Balaji V. Iyer from comment #2)

> Can you please confirm if the following patch works for you?

Yes, the patch works.


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

* [Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
  2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
                   ` (3 preceding siblings ...)
  2013-11-14 16:14 ` d.g.gorbachev at gmail dot com
@ 2014-01-09 16:52 ` bviyer at gcc dot gnu.org
  2014-01-09 17:47 ` law at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: bviyer at gcc dot gnu.org @ 2014-01-09 16:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from bviyer at gcc dot gnu.org ---
Author: bviyer
Date: Thu Jan  9 16:52:23 2014
New Revision: 206469

URL: http://gcc.gnu.org/viewcvs?rev=206469&root=gcc&view=rev
Log:
Fix for PR bootstrap/59094
+2014-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR bootstrap/59094
+       * Makefile.am (cilkincludedir): Fixed a bug to store version-specific
+       runtime libraries in the correct place.
+       * Makefile.in: Regenerate.
+


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


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

* [Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
  2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
                   ` (4 preceding siblings ...)
  2014-01-09 16:52 ` bviyer at gcc dot gnu.org
@ 2014-01-09 17:47 ` law at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: law at redhat dot com @ 2014-01-09 17:47 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |FIXED

--- Comment #5 from Jeffrey A. Law <law at redhat dot com> ---
Fixed by recent commit on trunk.


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

end of thread, other threads:[~2014-01-09 17:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-12 21:56 [Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory d.g.gorbachev at gmail dot com
2013-11-12 21:58 ` [Bug bootstrap/59094] " d.g.gorbachev at gmail dot com
2013-11-14  3:57 ` bviyer at gmail dot com
2013-11-14  8:44 ` rguenth at gcc dot gnu.org
2013-11-14 16:14 ` d.g.gorbachev at gmail dot com
2014-01-09 16:52 ` bviyer at gcc dot gnu.org
2014-01-09 17:47 ` law at redhat dot com

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