public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/50654] New: Many Go tests fail on emutls targets
@ 2011-10-07  9:25 ro at gcc dot gnu.org
  2011-10-07  9:27 ` [Bug go/50654] " ro at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2011-10-07  9:25 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50654
           Summary: Many Go tests fail on emutls targets
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: ro@gcc.gnu.org
              Host: *-*-solaris2.[89]
            Target: *-*-solaris2.[89]
             Build: *-*-solaris2.[89]


Between 20110930 and 20111006, many Go tests started to FAIL on Solaris 8 and
9/x86 (haven't tried SPARC yet) with Sun as, thus they use emutls:

output is:
Undefined            first referenced

 symbol                  in file

__emutls_v.__go_panic_defer        
/var/gcc/regression/trunk/8-gcc/build/i386-pc-solaris2.8/./libgo/.libs/libgo.so

__emutls_v.m                       
/var/gcc/regression/trunk/8-gcc/build/i386-pc-solaris2.8/./libgo/.libs/libgo.so

ld: fatal: Symbol referencing errors. No output written to
/var/gcc/regression/trunk/8-gcc/build/gcc/testsuite/go/array-1.x

collect2: error: ld returned 1 exit status


FAIL: go.go-torture/execute/array-1.go compilation,  -O0 

With gas and native TLS, the tests work fine.

  Rainer


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

* [Bug go/50654] Many Go tests fail on emutls targets
  2011-10-07  9:25 [Bug go/50654] New: Many Go tests fail on emutls targets ro at gcc dot gnu.org
@ 2011-10-07  9:27 ` ro at gcc dot gnu.org
  2012-02-14  0:38 ` ian at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2011-10-07  9:27 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug go/50654] Many Go tests fail on emutls targets
  2011-10-07  9:25 [Bug go/50654] New: Many Go tests fail on emutls targets ro at gcc dot gnu.org
  2011-10-07  9:27 ` [Bug go/50654] " ro at gcc dot gnu.org
@ 2012-02-14  0:38 ` ian at gcc dot gnu.org
  2012-02-14  0:41 ` ian at airs dot com
  2012-02-16 19:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
  3 siblings, 0 replies; 5+ messages in thread
From: ian at gcc dot gnu.org @ 2012-02-14  0:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2012-02-14 00:38:12 UTC ---
Author: ian
Date: Tue Feb 14 00:38:07 2012
New Revision: 184188

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184188
Log:
    PR go/50654
runtime: Reload m and g if necessary after getcontext returns.

Modified:
    trunk/libgo/runtime/proc.c


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

* [Bug go/50654] Many Go tests fail on emutls targets
  2011-10-07  9:25 [Bug go/50654] New: Many Go tests fail on emutls targets ro at gcc dot gnu.org
  2011-10-07  9:27 ` [Bug go/50654] " ro at gcc dot gnu.org
  2012-02-14  0:38 ` ian at gcc dot gnu.org
@ 2012-02-14  0:41 ` ian at airs dot com
  2012-02-16 19:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2012-02-14  0:41 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2012-02-14 00:40:07 UTC ---
Should be fixed on mainline.  Although I only tested it on
x86_64-unknown-linux-gnu built using --disable-tls to force the use of emutls. 
Let me know if you still see problems.

http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00677.html


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

* [Bug go/50654] Many Go tests fail on emutls targets
  2011-10-07  9:25 [Bug go/50654] New: Many Go tests fail on emutls targets ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-02-14  0:41 ` ian at airs dot com
@ 2012-02-16 19:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
  3 siblings, 0 replies; 5+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-02-16 19:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-02-16 19:29:29 UTC ---
> --- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2012-02-14 00:40:07 UTC ---
> Should be fixed on mainline.  Although I only tested it on
> x86_64-unknown-linux-gnu built using --disable-tls to force the use of emutls. 

I got exactly the same set of failures on i386-pc-solaris2.11 with
--disable-tls as on i386-pc-solaris2.8 with as/ld (i.e. emutls).

> Let me know if you still see problems.

No, Solaris 8 and 9/x86 results are almost clean, and don't differ
between emutls and native TLS.  I'll file new PRs for the remaining
problems if need be.

Thanks.
        Rainer


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

end of thread, other threads:[~2012-02-16 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-07  9:25 [Bug go/50654] New: Many Go tests fail on emutls targets ro at gcc dot gnu.org
2011-10-07  9:27 ` [Bug go/50654] " ro at gcc dot gnu.org
2012-02-14  0:38 ` ian at gcc dot gnu.org
2012-02-14  0:41 ` ian at airs dot com
2012-02-16 19:50 ` ro at CeBiTec dot Uni-Bielefeld.DE

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).