This is the mail archive of the gcc-bugs@gcc.gnu.org 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]

[Bug libstdc++/58168] New: Installation of GCC 4.8.1 (libstdc++) hangs in make_sunver.pl on Solaris10/SPARC


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

            Bug ID: 58168
           Summary: Installation of GCC 4.8.1 (libstdc++) hangs in
                    make_sunver.pl on Solaris10/SPARC
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Andre.Schneider at eas dot iis.fraunhofer.de

Installation of GCC 4.8.1 (using GCC 4.6.2) hangs on Solaris 10 (SPARC).
The Perl script make_sunver.pl hangs in line 310:

<gcc-4.8.1-srcdir>/contrib/make_sunver.pl:
------------------------------------------------------------
...
# Verify that we're actually using GNU c++filt.  Other versions
            # most likely cannot handle GNU style symbol mangling.
            my $cxxout = `$cxxfilt --version 2>&1`;
            $cxxout =~ m/GNU/ or die "$0 requires GNU c++filt to function";

            # Talk to c++filt through a pair of file descriptors.
            # Need to start a fresh instance per pattern, otherwise the
            # process grows to 500+ MB.
            my $pid = open2(*FILTIN, *FILTOUT, $cxxfilt) or die $!;

            # Match ptn against symbols in %sym_hash.
            foreach my $sym (keys %sym_hash) {
                # No?  Well, maybe its demangled form matches one of those
                # patterns.
                printf FILTOUT "%s\n",$sym;
 ===>           my $dem = <FILTIN>;  # line 310: script is waiting ...
                chomp $dem;
                $dem_syms{$sym}++ if ($dem =~ /^$pattern$/);
            }

            close FILTOUT or die "c++filt error";
            close FILTIN or die "c++filt error";
            # Need to wait for the c++filt process to avoid lots of zombies.
            waitpid $pid, 0;
...
------------------------------------------------------------

I'm using GNU c++filt (C++ demangler), version 2.95.3.

It works fine on Solaris 11 (SPARC), RHEL 4/5/6.

Any ideas?

Thanks,
AndrÃ

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