This is the mail archive of the 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: genmatch infinite loop during bootstrap on AIX

On Mon, Oct 27, 2014 at 2:37 AM, Richard Biener
<> wrote:
> On October 27, 2014 1:49:54 AM CET, David Edelsohn <> wrote:
>>Does genmatch rely on static constructors or implicitly rely on the
>>order of static constructors? Sometimes those cause problems on AIX.
> No, it doesn't.
>>Bootstrap on AIX succeeds prior to r216631, e.g., r216624.  It works
>>after your commit r216619 to correct, or prior to that by
>>manually editing to add LIBICONV and LIBINTL.
> OK, so this would mean that r216631 causes a miscompile for you. Though that does not match up with you seeing this happening during stage1...

gcc111 uses GCC 4.8.1 as the default version of GCC.  That bootstrap
fails in stage 2.

My internal system has GCC 4.7.3 installed.  That bootstrap fails in stage 1.

> Bah.
> The place where it is looping is using std::map <std::string, unsigned>.

I hope that this isn't a signed char issue.

> Does -static-libstdc++ work for you host compilers?

Yes, GCC uses -static-libstdc++ on AIX.

> Can you try emptying gcc/match.pd for a non-working rev.?

An empty match.pd seems to work.  I will try adding back stanzas and
see where it hangs.

Thanks, David

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