public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/94778] New: All jit tests failed with multilib
@ 2020-04-26 19:49 hjl.tools at gmail dot com
  2020-05-08 19:13 ` [Bug jit/94778] " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-26 19:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94778
           Summary: All jit tests failed with multilib
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On Linux/x86-64, all jit tests failed with

$ make check RUNTESTFLAGS="--target_board='unix{-m32,}'"
...
spawn -ignore SIGHUP
/export/users/hjl/build/gnu/tools-build/gcc-x32-d-gitlab/build-x86_64-linux/gcc/xgcc
-B/export/users/hjl/build/gnu/tools-build/gcc-x32-d-gitlab/build-x86_64-linux/gcc/
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/jit.dg/test-error-get-type-bad-enum.c
-m32 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never
-I/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/../jit -lgccjit -g -Wall
-Werror -Wl,--export-dynamic -fgnu89-inline -lm -o
test-error-get-type-bad-enum.c.exe
/usr/local/bin/ld: skipping incompatible
/export/users/hjl/build/gnu/tools-build/gcc-x32-d-gitlab/build-x86_64-linux/gcc/libgccjit.so
when searching for -lgccjit
/usr/local/bin/ld: cannot find -lgccjit
/usr/local/bin/ld: skipping incompatible
/export/users/hjl/build/gnu/tools-build/gcc-x32-d-gitlab/build-x86_64-linux/gcc/libgccjit.so
when searching for -lgccjit
collect2: error: ld returned 1 exit status
compiler exited with status 1
FAIL: jit.dg/test-error-get-type-bad-enum.c, initial compilation

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

* [Bug jit/94778] All jit tests failed with multilib
  2020-04-26 19:49 [Bug jit/94778] New: All jit tests failed with multilib hjl.tools at gmail dot com
@ 2020-05-08 19:13 ` hjl.tools at gmail dot com
  2020-05-14 23:35 ` cvs-commit at gcc dot gnu.org
  2020-05-14 23:36 ` hjl.tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2020-05-08 19:13 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-05-08
           Keywords|                            |patch
             Status|UNCONFIRMED                 |NEW
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2020-May/545
                   |                            |425.html

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545425.html

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

* [Bug jit/94778] All jit tests failed with multilib
  2020-04-26 19:49 [Bug jit/94778] New: All jit tests failed with multilib hjl.tools at gmail dot com
  2020-05-08 19:13 ` [Bug jit/94778] " hjl.tools at gmail dot com
@ 2020-05-14 23:35 ` cvs-commit at gcc dot gnu.org
  2020-05-14 23:36 ` hjl.tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-14 23:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

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

commit r11-405-gd2a359fe5d72e28433c92e64dcbdaa93eb39caf4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 14 16:34:52 2020 -0700

    Skip jit tests for targets that don't support -lgccjit

    Since libgccjit.so is linked into jit tests, skip jit tests for targets
    that don't support -lgccjit.

    gcc/

            PR jit/94778
            * doc/sourcebuild.texi: Document effective target lgccjit.

    gcc/testsuite/

            PR jit/94778
            * jit.dg/jit.exp: Skip jit tests for targets that don't support
            -lgccjit.
            * lib/target-supports.exp (check_effective_target_lgccjit): New.

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

* [Bug jit/94778] All jit tests failed with multilib
  2020-04-26 19:49 [Bug jit/94778] New: All jit tests failed with multilib hjl.tools at gmail dot com
  2020-05-08 19:13 ` [Bug jit/94778] " hjl.tools at gmail dot com
  2020-05-14 23:35 ` cvs-commit at gcc dot gnu.org
@ 2020-05-14 23:36 ` hjl.tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2020-05-14 23:36 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 11.

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

end of thread, other threads:[~2020-05-14 23:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 19:49 [Bug jit/94778] New: All jit tests failed with multilib hjl.tools at gmail dot com
2020-05-08 19:13 ` [Bug jit/94778] " hjl.tools at gmail dot com
2020-05-14 23:35 ` cvs-commit at gcc dot gnu.org
2020-05-14 23:36 ` hjl.tools at gmail dot com

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