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

See the CrossGCC FAQ for lots more information.


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: [PATCH] Fix for gcc-test-suite


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


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