public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/95061] New: shared libgo library not found when running the testsuite
@ 2020-05-11 15:23 doko at debian dot org
  2020-05-12  0:27 ` [Bug go/95061] " cvs-commit at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: doko at debian dot org @ 2020-05-11 15:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

            Bug ID: 95061
           Summary: shared libgo library not found when running the
                    testsuite
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at debian dot org
                CC: cmang at google dot com
  Target Milestone: ---

seen with a 10.1 build in the test log:

/tmp/TestDeathSignal940117740/a.out: error while loading shared libraries:
libgo.so.16: cannot open shared object file: No such file or directory
--- FAIL: TestLinuxDeathSignal (0.01s)
    syscall_linux_test.go:222: did not receive start from child, received "",
EOF
--- FAIL: TestSyscallNoError (0.01s)
    syscall_linux_test.go:367: failed to start first child process: exit status
127
FAIL
FAIL: syscall
make[7]: *** [Makefile:2875: syscall/check] Error 1

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
@ 2020-05-12  0:27 ` cvs-commit at gcc dot gnu.org
  2020-05-12  0:32 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-12  0:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:4f157ed7749fd13c3562dd09696f7d675b86434f

commit r11-302-g4f157ed7749fd13c3562dd09696f7d675b86434f
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon May 11 16:23:44 2020 -0700

    syscall: append to environment in tests, don't clobber it

    This is a partial backport of https://golang.org/cl/233318.
    It's only a partial backport because part of the change was
    already applied to libgo in CL 193497 as part of the update
    to the Go 1.13beta1 release.

    Fixes PR go/95061

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/233359

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
  2020-05-12  0:27 ` [Bug go/95061] " cvs-commit at gcc dot gnu.org
@ 2020-05-12  0:32 ` cvs-commit at gcc dot gnu.org
  2020-05-13 17:20 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-12  0:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Ian Lance Taylor
<ian@gcc.gnu.org>:

https://gcc.gnu.org/g:fbfa806e65c552e81b363756fd8e2925651f7333

commit r10-8134-gfbfa806e65c552e81b363756fd8e2925651f7333
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon May 11 16:23:44 2020 -0700

    syscall: append to environment in tests, don't clobber it

    This is a partial backport of https://golang.org/cl/233318.
    It's only a partial backport because part of the change was
    already applied to libgo in CL 193497 as part of the update
    to the Go 1.13beta1 release.

    Fixes PR go/95061

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/233359

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
  2020-05-12  0:27 ` [Bug go/95061] " cvs-commit at gcc dot gnu.org
  2020-05-12  0:32 ` cvs-commit at gcc dot gnu.org
@ 2020-05-13 17:20 ` cvs-commit at gcc dot gnu.org
  2020-05-13 18:47 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-13 17:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:702adbb2fff0cc043f9c4e1af890421cb238cd18

commit r11-362-g702adbb2fff0cc043f9c4e1af890421cb238cd18
Author: Ian Lance Taylor <iant@golang.org>
Date:   Wed May 13 10:18:45 2020 -0700

    libbacktrace: treat EACCESS like ENOENT

    libbacktrace/
            PR go/95061
            * posix.c (backtrace_open): Treat EACCESS like ENOENT.

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
                   ` (2 preceding siblings ...)
  2020-05-13 17:20 ` cvs-commit at gcc dot gnu.org
@ 2020-05-13 18:47 ` cvs-commit at gcc dot gnu.org
  2020-05-13 18:52 ` ian at airs dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-13 18:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:0d5d880994660e231f82b7cb1dcfab744158f7e0

commit r11-364-g0d5d880994660e231f82b7cb1dcfab744158f7e0
Author: Ian Lance Taylor <iant@golang.org>
Date:   Wed May 13 11:12:01 2020 -0700

    libgo: build syscall test with -static

    This avoids problems finding libgo.so when running the test as root,
    which invokes the test as a child process in various limited environments.

    Fixes PR go/95061

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/233897

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
                   ` (3 preceding siblings ...)
  2020-05-13 18:47 ` cvs-commit at gcc dot gnu.org
@ 2020-05-13 18:52 ` ian at airs dot com
  2020-05-14 20:37 ` cvs-commit at gcc dot gnu.org
  2020-05-15 22:33 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: ian at airs dot com @ 2020-05-13 18:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

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

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

--- Comment #5 from Ian Lance Taylor <ian at airs dot com> ---
Should be fixed now.

Note that this can only happen when running the tests as root.

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
                   ` (4 preceding siblings ...)
  2020-05-13 18:52 ` ian at airs dot com
@ 2020-05-14 20:37 ` cvs-commit at gcc dot gnu.org
  2020-05-15 22:33 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-14 20:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:3a36428b5fbc825e2d3455f5770b5d6e71c63413

commit r11-402-g3a36428b5fbc825e2d3455f5770b5d6e71c63413
Author: Ian Lance Taylor <iant@golang.org>
Date:   Thu May 14 12:50:30 2020 -0700

    libgo: only build syscall test with -static on GNU/Linux

    For PR go/95061

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/234019

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

* [Bug go/95061] shared libgo library not found when running the testsuite
  2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
                   ` (5 preceding siblings ...)
  2020-05-14 20:37 ` cvs-commit at gcc dot gnu.org
@ 2020-05-15 22:33 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-15 22:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95061

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:e478cacb62f116d2c8efdabc4b51e6d2d7041aae

commit r11-432-ge478cacb62f116d2c8efdabc4b51e6d2d7041aae
Author: Ian Lance Taylor <iant@golang.org>
Date:   Fri May 15 10:50:57 2020 -0700

    libgo: only build syscall test with -static if it works

    Test whether -static works, and use it if possible.

    This time for sure.

    For PR go/95061

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/234024

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

end of thread, other threads:[~2020-05-15 22:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 15:23 [Bug go/95061] New: shared libgo library not found when running the testsuite doko at debian dot org
2020-05-12  0:27 ` [Bug go/95061] " cvs-commit at gcc dot gnu.org
2020-05-12  0:32 ` cvs-commit at gcc dot gnu.org
2020-05-13 17:20 ` cvs-commit at gcc dot gnu.org
2020-05-13 18:47 ` cvs-commit at gcc dot gnu.org
2020-05-13 18:52 ` ian at airs dot com
2020-05-14 20:37 ` cvs-commit at gcc dot gnu.org
2020-05-15 22:33 ` cvs-commit 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).