bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86


From: ro at CeBiTec dot Uni-Bielefeld.DE
Subject: [Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86
Date: Tue, 8 Mar 2011 10:18:51 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12525

--- Comment #14 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> 
2011-03-08 10:18:43 UTC ---
"ian at airs dot com" <address@hidden> writes:
> --- Comment #13 from Ian Lance Taylor <ian at airs dot com> 2011-03-08 
> 05:33:07 UTC ---
> Created attachment 5280
>   --> http://sourceware.org/bugzilla/attachment.cgi?id=5280
> Possible patch
>
> Please try this patch to see if it fixes the assertion failure on get_fde_pc. 
> The key will be whether the various exception tests in the testsuite pass.

That test helped me get further along in the GCC bootstrap, but I'm now
failing to link the 64-bit libgomp.so:

gold-2.21.51: fatal error: .libs/team.o: readv failed: Invalid argument

With truss, I see that readv is called like this:

11626:  readv(21, 0x080438E4, 17)                       Err#22 EINVAL
11626:          iov_base = 0xFE809CA0  iov_len = 2807
11626:          iov_base = 0x080418E4  iov_len = 33
11626:          iov_base = 0xFE80B9A8  iov_len = 41
11626:          iov_base = 0x080418E4  iov_len = 15
11626:          iov_base = 0xFE80A7A0  iov_len = 71
11626:          iov_base = 0x080418E4  iov_len = 1
11626:          iov_base = 0xFE80D8E0  iov_len = 8
11626:          iov_base = 0xFE80A7F0  iov_len = 14
11626:          iov_base = 0x080418E4  iov_len = 2
11626:          iov_base = 0xFE80D8F8  iov_len = 8
11626:          iov_base = 0xFE81A858  iov_len = 4666
11626:          iov_base = 0xFE824120  iov_len = 1059
11626:          iov_base = 0xFE830BE8  iov_len = 5233
11626:          iov_base = 0xFE83B4FE  iov_len = 464
11626:          iov_base = 0xFE8369D6  iov_len = 1156
11626:          iov_base = 0x080418E4  iov_len = 2494

i.e. iovcnt is 17, but iov[] has only 16 members.  Seems inconsistent to
me, though this could be a truss artefact.

    Rainer

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]