Gold 0.1 test fail PR17704a_test
Cary Coutant
ccoutant@gmail.com
Sun Jan 31 01:56:01 GMT 2021
This particular test is an all-assembly-code test case with its own
_start function, and it uses "int 0x80" to call the exit system call
rather than linking against libc. On my box, the instruction at
0x4000d6 is one of those "int 0x80" instructions. If you're not
running a common version of Linux, that could be the problem. In that
case, I'd recommend that you simply ignore the failure or comment the
test out.
I'll make a note of this, and rewrite this test to be independent of
the host ABI.
Please do let me know what OS you're building and running on.
-cary
On Fri, Jan 29, 2021 at 1:58 PM <bokret.magon@9ox.net> wrote:
>
> I'm trying to compile & install binutils, but one of the tests for gold 0.1[FAIL: pr17704a_test] is failing when I run:
> 'make -k check'.
> The error says it's due to a segmentation fault:
> ../../../gold/../test-driver: line 107: 23586 Segmentation fault "$@" > $log_file 2>&1
>
> Dmesg also has these messages:
> [123674.862177] traps: pr17704a_test[19386] general protection fault ip:4000d6 sp:7ffdcbe92980 error:402 in pr17704a_test[400000+1000]
> [126985.003102] traps: pr17704a_test[28044] general protection fault ip:4000d6 sp:7fffc6c9c160 error:402 in pr17704a_test[400000+1000]
> [155689.371646] traps: pr17704a_test[20324] general protection fault ip:4000d6 sp:7ffde7870720 error:402 in pr17704a_test[400000+1000]
> [156412.607574] traps: pr17704a_test[10902] general protection fault ip:4000d6 sp:7ffc71744200 error:402 in pr17704a_test[400000+1000]
> [158161.333179] traps: pr17704a_test[23586] general protection fault ip:40012e sp:7ffe8a2cb530 error:402 in pr17704a_test[400000+1000]
>
>
> How do I troubleshoot this?
More information about the Binutils
mailing list