public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
@ 2022-02-10  8:29 ubizjak at gmail dot com
  2022-02-10  8:31 ` [Bug testsuite/104481] " ubizjak at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2022-02-10  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104481
           Summary: gcc.target/i386/pr35513-8.c and
                    g++.target/i386/pr35513-[12].C testsuire failures
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

rab0b5fbfe90168d2e470aefb19e0cf31526290bc caused:

UNRESOLVED: gcc.target/i386/pr35513-8.c scan-assembler .long[ \\t]+0xb0008000
UNRESOLVED: gcc.target/i386/pr35513-8.c scan-assembler .section[
\\t]+.note.gnu.property,

and

FAIL: g++.target/i386/pr35513-1.C  -std=gnu++14 (test for excess errors)
FAIL: g++.target/i386/pr35513-1.C  -std=gnu++17 (test for excess errors)
FAIL: g++.target/i386/pr35513-1.C  -std=gnu++20 (test for excess errors)
FAIL: g++.target/i386/pr35513-1.C  -std=gnu++98 (test for excess errors)
FAIL: g++.target/i386/pr35513-2.C  -std=gnu++14 (test for excess errors)
FAIL: g++.target/i386/pr35513-2.C  -std=gnu++17 (test for excess errors)
FAIL: g++.target/i386/pr35513-2.C  -std=gnu++20 (test for excess errors)
FAIL: g++.target/i386/pr35513-2.C  -std=gnu++98 (test for excess errors)

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
@ 2022-02-10  8:31 ` ubizjak at gmail dot com
  2022-02-10  8:39 ` ubizjak at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2022-02-10  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #0)
> rab0b5fbfe90168d2e470aefb19e0cf31526290bc caused:

r12-7126-gab0b5fbfe90168d2e470aefb19e0cf31526290bc

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
  2022-02-10  8:31 ` [Bug testsuite/104481] " ubizjak at gmail dot com
@ 2022-02-10  8:39 ` ubizjak at gmail dot com
  2022-02-10  8:41 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2022-02-10  8:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
spawn -ignore SIGHUP /hdd/uros/gcc-build-fast/gcc/xgcc
-B/hdd/uros/gcc-build-fast/gcc/ -fdiagnostics-plain-output -mx32 -O2 -fno-pic
-fexceptions -fasynchronous-unwind-tables -mno-direct-extern-access
-ffat-lto-objects -fno-ident -c -o pr35513-8.o
/hdd/uros/git/gcc/gcc/testsuite/gcc.target/i386/pr35513-8.c
PASS: gcc.target/i386/pr35513-8.c (test for excess errors)
gcc.target/i386/pr35513-8.c: output file does not exist
UNRESOLVED: gcc.target/i386/pr35513-8.c scan-assembler .section[
\t]+.note.gnu.property,
gcc.target/i386/pr35513-8.c: output file does not exist
UNRESOLVED: gcc.target/i386/pr35513-8.c scan-assembler .long[ \t]+0xb0008000

and:

spawn -ignore SIGHUP /hdd/uros/gcc-build-fast/gcc/testsuite/g++/../../xg++
-B/hdd/uros/gcc-build-fast/gcc/testsuite/g++/../../
/hdd/uros/git/gcc/gcc/testsuite/g++.target/i386/pr35513-1.C
-fdiagnostics-plain-output -nostdinc++
-I/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/hdd/uros/git/gcc/libstdc++-v3/libsupc++
-I/hdd/uros/git/gcc/libstdc++-v3/include/backward
-I/hdd/uros/git/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98
-O2 -mno-direct-extern-access
-L/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/./libitm/
-L/hdd/uros/gcc-build-fast/x86_64-pc-linux-gnu/./libitm/.libs -lm -o
./pr35513-1.exe
/usr/bin/ld: warning: /tmp/ccW4Yf7H.o: unsupported GNU_PROPERTY_TYPE (5) type:
0xb0008000
FAIL: g++.target/i386/pr35513-1.C  -std=gnu++98 (test for excess errors)
Excess errors:
/usr/bin/ld: warning: /tmp/ccW4Yf7H.o: unsupported GNU_PROPERTY_TYPE (5) type:
0xb0008000

Both on Fedora-33 x86_64.

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
  2022-02-10  8:31 ` [Bug testsuite/104481] " ubizjak at gmail dot com
  2022-02-10  8:39 ` ubizjak at gmail dot com
@ 2022-02-10  8:41 ` rguenth at gcc dot gnu.org
  2022-02-10  8:43 ` ubizjak at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-10  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-02-10
           Keywords|                            |testsuite-fail
             Target|                            |x86_64-*-* i?86-*-*
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I'm also seeing those with GNU ld (GNU Binutils; SUSE Linux Enterprise 15)
2.37.20211103-7.26

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (2 preceding siblings ...)
  2022-02-10  8:41 ` rguenth at gcc dot gnu.org
@ 2022-02-10  8:43 ` ubizjak at gmail dot com
  2022-02-10  8:46 ` ubizjak at gmail dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2022-02-10  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #3)
> I'm also seeing those with GNU ld (GNU Binutils; SUSE Linux Enterprise 15)
> 2.37.20211103-7.26

Here with:

$ ld --version
GNU ld version 2.35-18.fc33

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (3 preceding siblings ...)
  2022-02-10  8:43 ` ubizjak at gmail dot com
@ 2022-02-10  8:46 ` ubizjak at gmail dot com
  2022-02-10  8:50 ` crazylht at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2022-02-10  8:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
-save-temps needs to be added to dg-options to cure the UNRESOLVED part.

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (4 preceding siblings ...)
  2022-02-10  8:46 ` ubizjak at gmail dot com
@ 2022-02-10  8:50 ` crazylht at gmail dot com
  2022-02-10  8:58 ` crazylht at gmail dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: crazylht at gmail dot com @ 2022-02-10  8:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Hongtao.liu <crazylht at gmail dot com> ---
The new added GNU_PROPERTY_1_NEEDED is supported in binutils 2.38.

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (5 preceding siblings ...)
  2022-02-10  8:50 ` crazylht at gmail dot com
@ 2022-02-10  8:58 ` crazylht at gmail dot com
  2022-02-10 13:09 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: crazylht at gmail dot com @ 2022-02-10  8:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Hongtao.liu <crazylht at gmail dot com> ---
I think we need dg-require efficient target for those testcases, something like
check_effective_target_pie_copyreloc.

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (6 preceding siblings ...)
  2022-02-10  8:58 ` crazylht at gmail dot com
@ 2022-02-10 13:09 ` hjl.tools at gmail dot com
  2022-02-11 14:03 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2022-02-10 13:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Uroš Bizjak from comment #0)
> rab0b5fbfe90168d2e470aefb19e0cf31526290bc caused:
> 
> UNRESOLVED: gcc.target/i386/pr35513-8.c scan-assembler .long[ \\t]+0xb0008000
> UNRESOLVED: gcc.target/i386/pr35513-8.c scan-assembler .section[
> \\t]+.note.gnu.property,

This fixed it:

diff --git a/gcc/testsuite/gcc.target/i386/pr35513-8.c
b/gcc/testsuite/gcc.target/i386/pr35513-8.c
index 7ba67de2156..d51f7efb353 100644
--- a/gcc/testsuite/gcc.target/i386/pr35513-8.c
+++ b/gcc/testsuite/gcc.target/i386/pr35513-8.c
@@ -1,4 +1,4 @@
-/* { dg-do assemble { target { *-*-linux* && { ! ia32 } } } } */
+/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
 /* { dg-require-effective-target maybe_x32 } */
 /* { dg-options "-mx32 -O2 -fno-pic -fexceptions -fasynchronous-unwind-tables
-mno-direct-extern-access" } */

> and
> 
> FAIL: g++.target/i386/pr35513-1.C  -std=gnu++14 (test for excess errors)
> FAIL: g++.target/i386/pr35513-1.C  -std=gnu++17 (test for excess errors)
> FAIL: g++.target/i386/pr35513-1.C  -std=gnu++20 (test for excess errors)
> FAIL: g++.target/i386/pr35513-1.C  -std=gnu++98 (test for excess errors)
> FAIL: g++.target/i386/pr35513-2.C  -std=gnu++14 (test for excess errors)
> FAIL: g++.target/i386/pr35513-2.C  -std=gnu++17 (test for excess errors)
> FAIL: g++.target/i386/pr35513-2.C  -std=gnu++20 (test for excess errors)
> FAIL: g++.target/i386/pr35513-2.C  -std=gnu++98 (test for excess errors)

I will update them.

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (7 preceding siblings ...)
  2022-02-10 13:09 ` hjl.tools at gmail dot com
@ 2022-02-11 14:03 ` hjl.tools at gmail dot com
  2022-02-12 13:50 ` cvs-commit at gcc dot gnu.org
  2022-02-12 13:51 ` hjl.tools at gmail dot com
  10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2022-02-11 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
   Target Milestone|---                         |12.0

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

https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590191.html

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (8 preceding siblings ...)
  2022-02-11 14:03 ` hjl.tools at gmail dot com
@ 2022-02-12 13:50 ` cvs-commit at gcc dot gnu.org
  2022-02-12 13:51 ` hjl.tools at gmail dot com
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-12 13:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 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:5c4258d7c78a92ab17c14dec1163d87fc42ff019

commit r12-7213-g5c4258d7c78a92ab17c14dec1163d87fc42ff019
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 10 05:42:49 2022 -0800

    x86: Update PR 35513 tests

    1. Require linker with GNU_PROPERTY_1_NEEDED support for PR 35513
    run-time tests.
    2. Compile pr35513-8.c to scan assembly code.

            PR testsuite/104481
            * g++.target/i386/pr35513-1.C: Require property_1_needed target.
            * g++.target/i386/pr35513-2.C: Likewise.
            * gcc.target/i386/pr35513-8.c: Change to compile.
            * lib/target-supports.exp (check_compile): Support assembly code.
            (check_effective_target_property_1_needed): New proc.

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

* [Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures
  2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
                   ` (9 preceding siblings ...)
  2022-02-12 13:50 ` cvs-commit at gcc dot gnu.org
@ 2022-02-12 13:51 ` hjl.tools at gmail dot com
  10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2022-02-12 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

end of thread, other threads:[~2022-02-12 13:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10  8:29 [Bug testsuite/104481] New: gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures ubizjak at gmail dot com
2022-02-10  8:31 ` [Bug testsuite/104481] " ubizjak at gmail dot com
2022-02-10  8:39 ` ubizjak at gmail dot com
2022-02-10  8:41 ` rguenth at gcc dot gnu.org
2022-02-10  8:43 ` ubizjak at gmail dot com
2022-02-10  8:46 ` ubizjak at gmail dot com
2022-02-10  8:50 ` crazylht at gmail dot com
2022-02-10  8:58 ` crazylht at gmail dot com
2022-02-10 13:09 ` hjl.tools at gmail dot com
2022-02-11 14:03 ` hjl.tools at gmail dot com
2022-02-12 13:50 ` cvs-commit at gcc dot gnu.org
2022-02-12 13:51 ` 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).