public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated
@ 2014-10-20 15:16 triegel at redhat dot com
  2014-10-20 15:38 ` [Bug build/17496] " schwab@linux-m68k.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: triegel at redhat dot com @ 2014-10-20 15:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17496

            Bug ID: 17496
           Summary: <builddir>/gnu/lib-names.h not generated
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: triegel at redhat dot com
                CC: carlos at redhat dot com

After 93ae1ebaa6df1a0c188614bd0a601ab6e26711c5 (also see bug 14171),
gnu/lib-names.h isn't generated anymore, which breaks my build (including
from-scratch builds) because /usr/include/gnu/lib-names.h on my system doesn't
have a LIBGCC_S_SO entry:
../sysdeps/gnu/unwind-resume.c: In function ‘init’:
../sysdeps/gnu/unwind-resume.c:36: error: ‘LIBGCC_S_SO’ undeclared (first use
in this function).

Manually doing the following (on x86_64)
 make gnu/lib-names.h
 make gnu/lib-names-64.h
fixes the issue.

This is on a RHEL-6.5-based distro with GCC 4.4.7.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-26437-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Oct 20 15:17:21 2014
Return-Path: <glibc-bugs-return-26437-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 6409 invoked by alias); 20 Oct 2014 15:17:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 6370 invoked by uid 48); 20 Oct 2014 15:17:16 -0000
From: "triegel at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/17496] <builddir>/gnu/lib-names.h not generated
Date: Mon, 20 Oct 2014 15:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: triegel at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-17496-131-malk6IBPk7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17496-131@http.sourceware.org/bugzilla/>
References: <bug-17496-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg00073.txt.bz2
Content-length: 393

https://sourceware.org/bugzilla/show_bug.cgi?id\x17496

Torvald Riegel <triegel at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm28 at gcc dot gnu.org

--
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/17496] <builddir>/gnu/lib-names.h not generated
  2014-10-20 15:16 [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated triegel at redhat dot com
@ 2014-10-20 15:38 ` schwab@linux-m68k.org
  2014-10-20 16:08 ` triegel at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2014-10-20 15:38 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17496

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
I cannot reproduce that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/17496] <builddir>/gnu/lib-names.h not generated
  2014-10-20 15:16 [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated triegel at redhat dot com
  2014-10-20 15:38 ` [Bug build/17496] " schwab@linux-m68k.org
@ 2014-10-20 16:08 ` triegel at redhat dot com
  2014-10-20 17:03 ` carlos at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: triegel at redhat dot com @ 2014-10-20 16:08 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17496

--- Comment #2 from Torvald Riegel <triegel at redhat dot com> ---
(In reply to Andreas Schwab from comment #1)
> I cannot reproduce that.

On RHEL 6.5?  Or which distro/GCC version did you use?
I've heard from others that they can't reproduce on Fedora 20 either.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/17496] <builddir>/gnu/lib-names.h not generated
  2014-10-20 15:16 [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated triegel at redhat dot com
  2014-10-20 15:38 ` [Bug build/17496] " schwab@linux-m68k.org
  2014-10-20 16:08 ` triegel at redhat dot com
@ 2014-10-20 17:03 ` carlos at redhat dot com
  2014-10-20 17:12 ` joseph at codesourcery dot com
  2014-10-31 22:28 ` roland at gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: carlos at redhat dot com @ 2014-10-20 17:03 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17496

--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Torvald Riegel from comment #2)
> (In reply to Andreas Schwab from comment #1)
> > I cannot reproduce that.
> 
> On RHEL 6.5?  Or which distro/GCC version did you use?
> I've heard from others that they can't reproduce on Fedora 20 either.

I can't reproduce on F20, but that doesn't mean it isn't a problem.

I'd like to know *why* it doesn't build.

I would also be curious to know Joseph's opinion since he reworked the rules
into Makerules and might have a better understanding of what is wrong with
either the environment or our rules.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/17496] <builddir>/gnu/lib-names.h not generated
  2014-10-20 15:16 [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated triegel at redhat dot com
                   ` (2 preceding siblings ...)
  2014-10-20 17:03 ` carlos at redhat dot com
@ 2014-10-20 17:12 ` joseph at codesourcery dot com
  2014-10-31 22:28 ` roland at gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2014-10-20 17:12 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17496

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
gnu/lib-names.h (and gnu/lib-names-$(default-abi).h) is in 
$(before-compile) and so should be generated before any .c files are 
compiled.

Maybe the additions to before-compile need to move further up Makerules 
before the dependencies on $(before-compile) are added, or something like 
that?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/17496] <builddir>/gnu/lib-names.h not generated
  2014-10-20 15:16 [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated triegel at redhat dot com
                   ` (3 preceding siblings ...)
  2014-10-20 17:12 ` joseph at codesourcery dot com
@ 2014-10-31 22:28 ` roland at gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: roland at gnu dot org @ 2014-10-31 22:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17496

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |roland at gnu dot org
         Resolution|---                         |FIXED

--- Comment #5 from Roland McGrath <roland at gnu dot org> ---
Fixed by 67c379871ed04c4494f3fb01b012504d6cf63f6e

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-10-31 22:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-20 15:16 [Bug build/17496] New: <builddir>/gnu/lib-names.h not generated triegel at redhat dot com
2014-10-20 15:38 ` [Bug build/17496] " schwab@linux-m68k.org
2014-10-20 16:08 ` triegel at redhat dot com
2014-10-20 17:03 ` carlos at redhat dot com
2014-10-20 17:12 ` joseph at codesourcery dot com
2014-10-31 22:28 ` roland at 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).