public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/54873] New: runtime/pprof FAILs
@ 2012-10-09  9:52 ro at gcc dot gnu.org
  2012-10-09  9:52 ` [Bug go/54873] " ro at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-09  9:52 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54873
           Summary: runtime/pprof FAILs
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: ro@gcc.gnu.org
              Host: *-*-solaris2.*
            Target: *-*-solaris2.*
             Build: *-*-solaris2.*


The runtime/pprof testcase FAILs on Solaris:

Undefined            first referenced
 symbol                  in file
nanosleep                          
/var/gcc/regression/trunk/10-gcc/build/i386-pc-solaris2.10/libgo/.libs/libgo.a(syscall.o)
sched_yield                        
/var/gcc/regression/trunk/10-gcc/build/i386-pc-solaris2.10/libgo/.libs/libgo.a(yield.o)
sem_timedwait                      
/var/gcc/regression/trunk/10-gcc/build/i386-pc-solaris2.10/libgo/.libs/libgo.a(thread-sema.o)
sem_init                           
/var/gcc/regression/trunk/10-gcc/build/i386-pc-solaris2.10/libgo/.libs/libgo.a(thread-sema.o)
sem_post                           
/var/gcc/regression/trunk/10-gcc/build/i386-pc-solaris2.10/libgo/.libs/libgo.a(thread-sema.o)
sem_wait                           
/var/gcc/regression/trunk/10-gcc/build/i386-pc-solaris2.10/libgo/.libs/libgo.a(thread-sema.o)
ld: fatal: symbol referencing errors. No output written to a.out
collect2: error: ld returned 1 exit status
FAIL: runtime/pprof

This happens due to

runtime_pprof_check_GOCFLAGS = -static-libgo

in libgo/Makefile.am.

The generated Makefile has

LIBS = -lrt

but this is not added by gccgo in the static case.

  Rainer


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

end of thread, other threads:[~2015-06-22 14:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09  9:52 [Bug go/54873] New: runtime/pprof FAILs ro at gcc dot gnu.org
2012-10-09  9:52 ` [Bug go/54873] " ro at gcc dot gnu.org
2013-03-22 14:47 ` jakub at gcc dot gnu.org
2013-05-31 11:00 ` jakub at gcc dot gnu.org
2013-10-16  9:50 ` jakub at gcc dot gnu.org
2015-06-22 14:26 ` rguenth at gcc dot gnu.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).