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: Danny Milosavljevic
Subject: Re: [bug-mes] ARM mes on wip-arm - Runtime setup
Date: Mon, 11 Mar 2019 12:45:00 +0100

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.

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... :)

Attachment: pgpLMVAlXlI6k.pgp
Description: OpenPGP digital signature


reply via email to

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