[PATCH] Fix for gcc-test-suite
Bryan Hundven
bryanhundven@gmail.com
Wed Nov 3 00:45:00 GMT 2010
On Tue, Nov 2, 2010 at 4:49 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> On Sun, Oct 31, 2010 at 5:14 PM, Yann E. MORIN
> <yann.morin.1998@anciens.enib.fr> wrote:
>> Andy, All,
>>
>> On Friday 29 October 2010 11:08:59 Andy Gibbs wrote:
>>> Attached to this email is a patch to fix an issue in the gcc-test-suite
>>> Makefile. The problem occurs on my build machine because, for some reason,
>>> it is misinterpretting the use of "echo -e ..." and the "-e" is appearing in
>>> the generated file.
>> [--SNIP--]
>>> P.S. I tried using the mercurial patch submission, but my emailer is
>>> somewhat broken; hopefully the patch file can still be used?...
>>
>> Space-damaged, fixed. Applied as #4f8aa694f9c0, thank you!
>>
>> Regards,
>> Yann E. MORIN.
>>
>> --
>> .-----------------.--------------------.------------------.--------------------.
>> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
>> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
>> | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
>> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
>> '------------------------------^-------^------------------^--------------------'
>>
>>
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>
>>
>
>
> Andy, all,
>
> I noticed another issue with the gcc testsuite wrt g++:
>
> --------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------
> ~/x-tools/i686-nptl-linux-gnu/test-suite/gcc$ make DG_TOOLNAME=g++
> DG_TARGET_HOSTNAME=192.168.1.30 DG_TARGET_USERNAME=root
> Test Run By bryan on Tue Nov 2 16:44:38 2010
> Target is i686-nptl-linux-gnu
> Host is i686-pc-linux-gnu
>
> === g++ tests ===
>
> Schedule of variations:
> board
>
> Running target board
> Using /home/bryan/x-tools/i686-nptl-linux-gnu/test-suite/gcc/tmp/board.exp
> as board description file for target.
> Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
> Using /home/bryan/x-tools/i686-nptl-linux-gnu/test-suite/gcc/testsuite/config/default.exp
> as tool-and-target-specific interface file.
> Running /home/bryan/x-tools/i686-nptl-linux-gnu/test-suite/gcc/testsuite/g++.dg/bprob/bprob.exp
> ...
> ERROR: GXX_UNDER_TEST (-g++) does not exist
> Result files available in
> '/home/bryan/x-tools/i686-nptl-linux-gnu/test-suite/gcc/tmp'
> --------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------
>
> Makefile says:
>
> GXX_UNDER_TEST=$(DG_TARGET)-g++ || true
>
> Should I also be setting DG_TARGET on the make command line? I didn't
> see anything about this in the README.
>
> Or should this be:
>
> GXX_UNDER_TEST=g++ || true
>
> Thanks in advance,
>
> -Bryan
>
I see now, DG_TARGET needs to be set to the tuple on the make command
line. In this case: i686-nptl-linux-gnu
This should be documented in the README.
-Bryan
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list