Bug 31245 - Most of SCFI test failed on x32
Summary: Most of SCFI test failed on x32
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.42
: P2 normal
Target Milestone: 2.42
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 15:18 UTC by H.J. Lu
Modified: 2024-01-15 15:46 UTC (History)
1 user (show)

See Also:
Host:
Target: x86-64
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2024-01-15 15:18:20 UTC
When configured for x86_64-linux-gnux32, I got

FAIL: x86_64 ginsn-dw2-regnum-1
FAIL: x86_64 ginsn-add-1
FAIL: x86_64 ginsn-pop-1
FAIL: x86_64 ginsn-push-1
FAIL: SCFI no ignore .cfi_label
FAIL: x86_64 scfi-cfi-label-1
FAIL: Synthesize CFI with .cfi_sections
FAIL: Synthesize CFI with .cfi_sections
FAIL: x86_64 scfi-cfi-sections-1
FAIL: x86_64 scfi-diag-1
FAIL: x86_64 scfi-fp-diag-2
FAIL: x86_64 scfi-diag-2
FAIL: x86_64 scfi-unsupported-insn-1
FAIL: x86_64 scfi-unsupported-2
FAIL: x86_64 scfi-unsupported-3
FAIL: x86_64 scfi-unsupported-4
FAIL: x86_64 scfi-unsupported-drap-1
FAIL: x86_64 scfi-unsupported-cfg-1
FAIL: x86_64 scfi-unsupported-cfg-2
FAIL: Synthesize CFI for add insn 1
FAIL: Synthesize CFI for add insn 1
FAIL: x86_64 scfi-add-1
FAIL: Synthesize CFI for add insn 2
FAIL: Synthesize CFI for add insn 2
FAIL: x86_64 scfi-add-2
FAIL: Synthesize CFI in presence of control flow 1
FAIL: Synthesize CFI in presence of control flow 1
FAIL: x86_64 scfi-cfg-1
FAIL: Synthesize CFI in presence of control flow 2
FAIL: Synthesize CFI in presence of control flow 2
FAIL: x86_64 scfi-cfg-2
FAIL: Synthesize CFI for demarcated code blocks 1
FAIL: x86_64 scfi-asm-marker-1
FAIL: Synthesize CFI for demarcated code blocks 2
FAIL: Synthesize CFI for demarcated code blocks 2
FAIL: x86_64 scfi-asm-marker-2
FAIL: Synthesize CFI for demarcated code blocks 3
FAIL: x86_64 scfi-asm-marker-3
FAIL: Synthesize CFI with pushsection 1
FAIL: x86_64 scfi-pushsection-1
FAIL: Synthesize CFI for demarcated code blocks 2
FAIL: Synthesize CFI for demarcated code blocks 2
FAIL: x86_64 scfi-pushsection-2
FAIL: Synthesize CFI for add insn
FAIL: x86_64 scfi-cofi-1
FAIL: Synthesize CFI for sub insn 1
FAIL: x86_64 scfi-sub-1
FAIL: Synthesize CFI for sub insn 2
FAIL: x86_64 scfi-sub-2
FAIL: Synthesize CFI simple test 1
FAIL: x86_64 scfi-simple-1
FAIL: Synthesize CFI simple test 2
FAIL: Synthesize CFI simple test 2
FAIL: x86_64 scfi-simple-2
FAIL: Synthesize CFI for pushq insns
FAIL: Synthesize CFI for pushq insns
FAIL: x86_64 scfi-pushq-1
FAIL: Synthesize CFI for various lea instructions (-O2)
FAIL: Synthesize CFI for various lea instructions (-O2)
FAIL: x86_64 scfi-lea-1
FAIL: Synthesize CFI for enter insn
FAIL: Synthesize CFI for enter insn
FAIL: x86_64 scfi-enter-1
FAIL: Synthesize CFI for leave insn
FAIL: Synthesize CFI for leave insn
FAIL: x86_64 scfi-leave-1
FAIL: Synthesize CFI for SP/FP based CFA switching 1
FAIL: x86_64 scfi-bp-sp-1
FAIL: Synthesize CFI for SP/FP based CFA switching 2
FAIL: x86_64 scfi-bp-sp-2
FAIL: SCFI for callee-saved registers 1
FAIL: SCFI for callee-saved registers 1
FAIL: x86_64 scfi-callee-saved-1
FAIL: SCFI for callee-saved registers 2
FAIL: SCFI for callee-saved registers 2
FAIL: x86_64 scfi-callee-saved-2
FAIL: SCFI for callee-saved registers 3
FAIL: x86_64 scfi-callee-saved-3
FAIL: SCFI for callee-saved registers 4
FAIL: SCFI for callee-saved registers 4
FAIL: x86_64 scfi-callee-saved-4
FAIL: SCFI for dynamic alloc stack
FAIL: SCFI for dynamic alloc stack
FAIL: x86_64 scfi-dyn-stack-1
FAIL: Synthesize CFI for indirect mem op to stack 1
FAIL: x86_64 scfi-indirect-mov-1
FAIL: Synthesize CFI for indirect mem op to stack 2
FAIL: Synthesize CFI for indirect mem op to stack 2
FAIL: x86_64 scfi-indirect-mov-2
FAIL: Synthesize CFI for indirect mem op to stack 3
FAIL: Synthesize CFI for indirect mem op to stack 3
FAIL: x86_64 scfi-indirect-mov-3
FAIL: Synthesize CFI for indirect mem op to stack 3
FAIL: x86_64 scfi-indirect-mov-4
FAIL: Synthesize CFI for self-aligning func
FAIL: x86_64 scfi-selfalign-func-1

Executing on host: sh -c {../as-new  --scfi=experimental -ali /export/gnu/import/git/sources/binutils-gdb/gas/testsuite/gas/scfi/x86_64/ginsn-dw2-regnum-1.s 2>&1}  /dev/null dump.out (timeout = 300)
spawn [open ...]^M
Assembler messages:
Fatal error: SCFI is not supported for this ABI
Comment 1 Sourceware Commits 2024-01-15 15:37:26 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7bd344dd0e0469a93cbbf50f797155278cb76a0b

commit 7bd344dd0e0469a93cbbf50f797155278cb76a0b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 15 07:31:29 2024 -0800

    x86-64: Skip SCFI tests for x32 targets
    
    Since SCFI isn't supported on x32:
    
    Fatal error: SCFI is not supported for this ABI
    
    skip SCFI tests for x32 targets.
    
            PR gas/31245
            * testsuite/gas/scfi/x86_64/scfi-x86-64.exp: Skip for x32
            targets.
Comment 2 Sourceware Commits 2024-01-15 15:45:42 UTC
The binutils-2_42-branch branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b7d511e37ce1134b8c89487e49279e438b8333be

commit b7d511e37ce1134b8c89487e49279e438b8333be
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 15 07:31:29 2024 -0800

    x86-64: Skip SCFI tests for x32 targets
    
    Since SCFI isn't supported on x32:
    
    Fatal error: SCFI is not supported for this ABI
    
    skip SCFI tests for x32 targets.
    
            PR gas/31245
            * testsuite/gas/scfi/x86_64/scfi-x86-64.exp: Skip for x32
            targets.
    
    (cherry picked from commit 7bd344dd0e0469a93cbbf50f797155278cb76a0b)
Comment 3 H.J. Lu 2024-01-15 15:46:06 UTC
Fixed.