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 5/5] Disable wrapper's -Wunreachable-code


Arnaud, All,

On Wednesday 07 April 2010 18:35:24 Arnaud Lacombe wrote:
> It makes the build fails because of unreachable code in stdlib's realpath()
> implementation on ubuntu 9.04.

Argh! :-(

Is this considered a bug in Ubuntu, or a /feature/ ?

> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/build/internals.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
> index 13239bf..4418b66 100644
> --- a/scripts/build/internals.sh
> +++ b/scripts/build/internals.sh
> @@ -56,7 +56,7 @@ do_finish() {
>                    _t="" # If debugging crosstool-NG, don't strip the wrapper
>                  fi
>                  CT_DoExecLog DEBUG "${CT_HOST}-gcc"                           \
> -                                   -Wall -Wextra -Wunreachable-code -Werror   \
> +                                   -Wall -Wextra -Werror   \

Space-damage, will fix.

>                                     -O3 -static ${_t}                          \
>                                     "${CT_LIB_DIR}/scripts/wrapper.c"          \
>                                     -o ".${CT_TARGET}-wrapper"

Thank you!

I will handle your patchset later tonight, after dinner.

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


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