This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build failure when host gnu/lib-names.h does not define LIBGCC_S_SO
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Matthew Fortune <Matthew dot Fortune at imgtec dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Fri, 31 Oct 2014 14:45:24 -0700 (PDT)
- Subject: Re: build failure when host gnu/lib-names.h does not define LIBGCC_S_SO
- Authentication-results: sourceware.org; auth=none
- References: <6D39441BF12EF246A7ABCE6654B0235320F64CC1 at LEMAIL01 dot le dot imgtec dot org> <Pine dot LNX dot 4 dot 64 dot 1410312134010 dot 25282 at digraph dot polyomino dot org dot uk>
You don't need to reproduce a build failure to see the problem. If you do
a clean make with -j1 you will see a bunch of things getting compiled
before gnu/lib-names.h is generated. That's what I did to verify that
there is a problem. From there, it was pretty easy to discover that the
gnu/lib-names.h bits in Makeconfig (including appending to before-compile)
come after where before-compile is used in rules, so the additions have no
effect. It should be as simple as moving that chunk up to earlier.