bug-mes
[Top][All Lists]
Advanced

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

Re: [bug-mes] ARM mes on wip-arm - Runtime setup


From: Jan Nieuwenhuizen
Subject: Re: [bug-mes] ARM mes on wip-arm - Runtime setup
Date: Mon, 11 Mar 2019 13:52:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Danny Milosavljevic writes:

> It was because some parts still used Thumb mode.
>
> Even when I do
>
> export CFLAGS="-marm"
>
> before invoking
>
>   make V=1
>
> it will not work because build.sh overwrites it.

Yes.  Not sure what to do; distros like Debian set all kinds of flags
that break things.  Prolly just best for now to hardcode this exception
for arm?  Maybe I'll have another look at autotools if it fixes
such things for us, or if we can steal their tricks :-)

> But patching build-aux/build.sh.in to include it does work:
>
> diff --git a/build-aux/build.sh.in b/build-aux/build.sh.in
> index 4f3891d7..4348e404 100644
> --- a/build-aux/build.sh.in
> +++ b/build-aux/build.sh.in
> @@ -53,6 +53,7 @@ debug=
>  
>  CFLAGS="
>  $debug
> +-marm
>  "
>  
>  if test $mes_libc = mes; then
>
> Then it fails somewhere in gc_init (after malloc resulted in 0x2d -
> not sure which malloc that is).  Progress... :)

Oh, great! :-)

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com



reply via email to

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