Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

[构建失败]libffi-3.4.2 #290

Open
lvxiaoqian555 opened this issue Mar 9, 2022 · 0 comments
Open

[构建失败]libffi-3.4.2 #290

lvxiaoqian555 opened this issue Mar 9, 2022 · 0 comments

Comments

@lvxiaoqian555
Copy link
Contributor

lvxiaoqian555 commented Mar 9, 2022

测试报错

[ 3141s] 		=== libffi tests ===
[ 3141s] 
[ 3141s] Schedule of variations:
[ 3141s]     unix
[ 3141s] 
[ 3141s] Running target unix
[ 3141s] Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
[ 3141s] Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
[ 3141s] Using ../../testsuite/config/default.exp as tool-and-target-specific interface file.
[ 3141s] Running ../../testsuite/libffi.bhaible/bhaible.exp ...
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=1 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=1 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O2 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=2 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=2 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O2 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=3 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=3 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O2 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=4 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=4 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O2 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=5 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=5 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O2 (test for excess errors)
[ 3141s] FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=6 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)

log种有很多这样的报错

�[01m�[Kffitest8987.c:5:3:�[m�[K �[01;31m�[Kerror: �[m�[K#error Failed #ifdef __i386__
    5 | # �[01;31m�[Kerror�[m�[K Failed #ifdef __i386__
      |   �[01;31m�[K^~~~~�[m�[K

官方GitHub上有issue,但pr已合并,而且感觉和riscv架构无关
libffi/libffi#473
libffi/libffi@a7d6396

目前找到有相似issue
libffi/libffi#695

还在分析解决中

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant