* [Consult] About "make check" failures
@ 2014-08-20 9:55 Chen Gang
2014-08-20 10:26 ` Andreas Schwab
0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2014-08-20 9:55 UTC (permalink / raw)
To: binutils, amodra
Hello All:
For the latest binutils-gdb, after "configure && make", "make check" is
failed, and can get 3 check sum files. I am not quite familiar with
"make check", is it still OK? (I guess not).
- Do I have incorrect environments?
- Are the check sum files really only the 3 files (I guess not)?
- If they are issue (I guess they are 'ld' issues), need we fix them?
(if yes, we need fix them, I shall try to fix them).
The related operation:
mkdir build-binutils
cd build-binutils/
../binutils-gdb/configure
make
make check
find ./ | grep "sum$"
[root@localhost build-binutils]# uname -a
Linux localhost.localdomain 3.15.10-200.fc20.x86_64 #1 SMP Thu Aug 14 15:39:24 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
The related output:
[...]
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using /upstream/binutils-gdb/ld/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /upstream/binutils-gdb/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
[...]
Running /upstream/binutils-gdb/ld/testsuite/ld-elf/dwarf.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-elf/eh-group.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-elf/elf.exp ...
FAIL: static preinit array
FAIL: static init array
FAIL: static fini array
FAIL: static init array mixed
Running /upstream/binutils-gdb/ld/testsuite/ld-elf/exclude.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-elf/export-class.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-elf/frame.exp ...
[...]
Running /upstream/binutils-gdb/ld/testsuite/ld-ia64/line.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-ifunc/binutils.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-ifunc/ifunc.exp ...
FAIL: Could not link a static executable
Running /upstream/binutils-gdb/ld/testsuite/ld-libs/libs.exp ...
[...]
Running /upstream/binutils-gdb/ld/testsuite/ld-pe/pe.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-pie/pie.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-plugin/lto.exp ...
FAIL: LTO 2
FAIL: LTO 2
Running /upstream/binutils-gdb/ld/testsuite/ld-plugin/plugin.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-powerpc/aix52.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-powerpc/export-class.exp ...
[...]
Running /upstream/binutils-gdb/ld/testsuite/ld-x86-64/export-class.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-x86-64/line.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-x86-64/mpx.exp ...
FAIL: Run mpx1 with -static
FAIL: Run mpx2 with -static
Running /upstream/binutils-gdb/ld/testsuite/ld-x86-64/x86-64.exp ...
[...]
Running /upstream/binutils-gdb/ld/testsuite/ld-xtensa/lcall.exp ...
Running /upstream/binutils-gdb/ld/testsuite/ld-xtensa/xtensa.exp ...
=== ld Summary ===
# of expected passes 1017
# of unexpected failures 9
# of expected failures 57
# of untested testcases 1
/upstream/build-binutils/ld/ld-new 2.24.51.20140820
make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory `/upstream/build-binutils/ld'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/upstream/build-binutils/ld'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/upstream/build-binutils/ld'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/upstream/build-binutils/ld'
make[1]: *** [check-ld] Error 2
make[1]: Leaving directory `/upstream/build-binutils'
make: *** [do-check] Error 2
[root@localhost build-binutils]# find ./ | grep "sum$"
./binutils/binutils.sum
./gas/testsuite/gas.sum
./ld/ld.sum
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Consult] About "make check" failures
2014-08-20 9:55 [Consult] About "make check" failures Chen Gang
@ 2014-08-20 10:26 ` Andreas Schwab
2014-08-20 10:37 ` Chen Gang
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2014-08-20 10:26 UTC (permalink / raw)
To: Chen Gang; +Cc: binutils, amodra
Chen Gang <gang.chen.5i5j@gmail.com> writes:
> - Do I have incorrect environments?
You are missing a static link environment, so all tests using -static
fail. You probably need to install the glibc-devel-static package.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Consult] About "make check" failures
2014-08-20 10:26 ` Andreas Schwab
@ 2014-08-20 10:37 ` Chen Gang
2014-08-20 10:50 ` Andreas Schwab
0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2014-08-20 10:37 UTC (permalink / raw)
To: Andreas Schwab; +Cc: binutils, amodra
On 08/20/2014 06:26 PM, Andreas Schwab wrote:
> Chen Gang <gang.chen.5i5j@gmail.com> writes:
>
>> - Do I have incorrect environments?
>
> You are missing a static link environment, so all tests using -static
> fail. You probably need to install the glibc-devel-static package.
>
OK, thanks, at least, it sounds reasonable. But after try, it seems no
glibc-devel-static under fedora 20 x86_64, and all glibc*-static are
already installed (I installed fedora 20 x86_64 on a new PC, today).
[root@localhost build-binutils]# yum install glibc-static
Loaded plugins: langpacks, refresh-packagekit
Package glibc-static-2.18-12.fc20.x86_64 already installed and latest version
Nothing to do
[root@localhost build-binutils]# yum install glibc-devel
Loaded plugins: langpacks, refresh-packagekit
Package glibc-devel-2.18-12.fc20.x86_64 already installed and latest version
Nothing to do
[root@localhost build-binutils]# yum install glibc-devel-static
Loaded plugins: langpacks, refresh-packagekit
No package glibc-devel-static available.
Error: Nothing to do
[root@localhost build-binutils]# yum install libgcc-devel-static
Loaded plugins: langpacks, refresh-packagekit
No package libgcc-devel-static available.
Error: Nothing to do
[root@localhost build-binutils]# yum install libgcc-static
Loaded plugins: langpacks, refresh-packagekit
No package libgcc-static available.
Error: Nothing to do
[root@localhost build-binutils]# yum install libgcc-devel
Loaded plugins: langpacks, refresh-packagekit
No package libgcc-devel available.
Error: Nothing to do
[root@localhost build-binutils]# yum install libgcc-devel-*
Loaded plugins: langpacks, refresh-packagekit
No package libgcc-devel-* available.
Error: Nothing to do
[root@localhost build-binutils]# yum install glibc-devel-*
Loaded plugins: langpacks, refresh-packagekit
Package glibc-devel-2.18-12.fc20.x86_64 already installed and latest version
Nothing to do
[root@localhost build-binutils]# yum search glibc-devel-static
Loaded plugins: langpacks, refresh-packagekit
Warning: No matches found for: glibc-devel-static
No matches found
[root@localhost build-binutils]# yum search glibc-static-*
Loaded plugins: langpacks, refresh-packagekit
Warning: No matches found for: glibc-static-*
No matches found
[root@localhost build-binutils]# yum search glibc-static-devel
Loaded plugins: langpacks, refresh-packagekit
Warning: No matches found for: glibc-static-devel
No matches found
Welcome any ideas, suggestions or completions, and I shall continue
focus on it, too (continue analyze why?).
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Consult] About "make check" failures
2014-08-20 10:37 ` Chen Gang
@ 2014-08-20 10:50 ` Andreas Schwab
2014-08-20 11:12 ` Chen Gang
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2014-08-20 10:50 UTC (permalink / raw)
To: Chen Gang; +Cc: binutils, amodra
Chen Gang <gang.chen.5i5j@gmail.com> writes:
> Welcome any ideas, suggestions or completions, and I shall continue
> focus on it, too (continue analyze why?).
Take a look at the testsuite log file.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Consult] About "make check" failures
2014-08-20 10:50 ` Andreas Schwab
@ 2014-08-20 11:12 ` Chen Gang
2014-08-20 11:37 ` Chen Gang
0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2014-08-20 11:12 UTC (permalink / raw)
To: Andreas Schwab; +Cc: binutils, amodra
On 08/20/2014 06:50 PM, Andreas Schwab wrote:
> Chen Gang <gang.chen.5i5j@gmail.com> writes:
>
>> Welcome any ideas, suggestions or completions, and I shall continue
>> focus on it, too (continue analyze why?).
>
> Take a look at the testsuite log file.
>
OK, thanks, after check the "ld.log", at least I missed "zlib-static",
then I shall "yum install" and try again. I guess that will let 'ld'
pass "make check".
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Consult] About "make check" failures
2014-08-20 11:12 ` Chen Gang
@ 2014-08-20 11:37 ` Chen Gang
0 siblings, 0 replies; 6+ messages in thread
From: Chen Gang @ 2014-08-20 11:37 UTC (permalink / raw)
To: Andreas Schwab; +Cc: binutils, amodra
On 08/20/2014 07:11 PM, Chen Gang wrote:
> On 08/20/2014 06:50 PM, Andreas Schwab wrote:
>> Chen Gang <gang.chen.5i5j@gmail.com> writes:
>>
>>> Welcome any ideas, suggestions or completions, and I shall continue
>>> focus on it, too (continue analyze why?).
>>
>> Take a look at the testsuite log file.
>>
>
'ld' is really passed checking, At present, I am just fix environments
issue for gdb's "make check", with the same way which you provided.
And at least find one environments issue: need systemtap-sdt-devel for
gdb "make check". And I shall continue, until let all binutils pass
"make check".
Thanks again.
> OK, thanks, after check the "ld.log", at least I missed "zlib-static",
> then I shall "yum install" and try again. I guess that will let 'ld'
> pass "make check".
>
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-08-20 11:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 9:55 [Consult] About "make check" failures Chen Gang
2014-08-20 10:26 ` Andreas Schwab
2014-08-20 10:37 ` Chen Gang
2014-08-20 10:50 ` Andreas Schwab
2014-08-20 11:12 ` Chen Gang
2014-08-20 11:37 ` Chen Gang
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).