This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binutils 2.19.92 linker broke with --as-needed flag


Alan and Eric,

I downloaded the latest binutil-2.23.2.tar.gz and tested native on a
x86 pc with dejagnu, to use ist as a baseline . It fails quite a few
tests even without applying my patch.
I try to look online and can't find a link on how to do the "make
check" for binutils.
I want to test on a x86 pc first then do cross platform test on MIPS.

Here are my steps:

unzip the binutils into binutils-2.23.2,
cd binutils-2.23.2
./configure
make
make check

I appreciate your help on testing this. Thanks,

Here is the summary:

ld/testsuite/ld-xtensa/coalesce.exp ...
Running /projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld/testsuite/ld-xtensa/lcall.exp
...
Running /projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld/testsuite/ld-xtensa/xtensa.exp
...

                === ld Summary ===

# of expected passes            476
# of unexpected failures        76
# of expected failures          7
# of unresolved testcases       155
# of untested testcases         4
/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld/ld-new
2.23.2

make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory
`/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld'
make[2]: *** [check] Error 2
make[2]: Leaving directory
`/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld'
make[1]: *** [check-ld] Error 2
make[1]: Leaving directory
`/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2'
make: *** [do-check] Error 2
-bash-3.00$

Vincent


On Fri, Mar 29, 2013 at 3:40 PM, Vincent Wen <wenvincent90@gmail.com> wrote:
> Eric,
>
> Thanks for the help.
> I am building a cross toolchain with binutils and gcc4.5.3 with
> uClibc. So when I install dejagnu, I am not sure if I install it on
> the development x86 linux pc or install it on the target MIPS board?
> And where to run the "make check", on the pc or MIPS target board?
> If on MIPS board, does it mean I need to install expect on MIPS target
> board too?
>
> Thanks,
>
> Vincent
>
>
> On Fri, Mar 29, 2013 at 2:45 PM, Eric Christopher <echristo@gmail.com> wrote:
>> Vincent,
>>
>> The testsuite is there as part of the code. Typing "make check" if you
>> have dejagnu
>> installed should be sufficient to run the tests. You'll want to build
>> and test on a mips
>> target I assume as well.
>>
>> -eric
>>
>> On Fri, Mar 29, 2013 at 2:42 PM, Vincent Wen <wenvincent90@gmail.com> wrote:
>>> Alan,
>>>
>>> I did a research on dejagnu and it seems to be a framework for tests.
>>> I still need to provide the testsuite. dejagnu itself doesn't include
>>> testsuite.
>>>
>>> You were saying to use gblic test suite. For I am building the
>>> toolchain with binutil-2.19.92, uClibc 0.9.32.1 and gcc 4.5.3,  I
>>> wonder I need to use uClibc test suite instead of using glibc test
>>> suite?
>>>
>>>
>>> Thanks a lot!
>>>
>>> Vincent
>>>
>>> On Fri, Mar 29, 2013 at 9:57 AM, Eric Christopher <echristo@gmail.com> wrote:
>>>> On Thu, Mar 28, 2013 at 5:49 PM, David Daney <ddaney.cavm@gmail.com> wrote:
>>>>> On 03/28/2013 04:21 PM, Vincent Wen wrote:
>>>>>>
>>>>>> Eric,
>>>>>>
>>>>>> Thanks a lot for clarification!
>>>>>>
>>>>>> Alan,
>>>>>>
>>>>>> So I am testing the following patch per our discussion. Please let me
>>>>>> know if anything missing.
>>>>>>
>>>>>
>>>>> It may be worth having Richard Sandiford look at this.  He has been doing
>>>>> most of the MIPS patch reviews of late...
>>>>>
>>>>>
>>>>
>>>> Most assuredly :)
>>>>
>>>> -eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]